/[EmuXPortal]/trunk/EmuXPortal/Api/RomConfig.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Api/RomConfig.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17 by william, Wed Apr 4 01:32:37 2012 UTC revision 27 by william, Wed Apr 4 03:38:07 2012 UTC
# Line 31  namespace EmuXPortal.Api Line 31  namespace EmuXPortal.Api
31              {              {
32                  FileInfo fi = new FileInfo(rom_file);                  FileInfo fi = new FileInfo(rom_file);
33                  this.RomFile =fi.FullName;                  this.RomFile =fi.FullName;
34                  this.RomTitle = fi.Name.Replace(fi.Extension,"");                  this.RomTitle = fi.Name;
35                  string rom_img = "";                  string rom_img = "";
36                  // load image                  // load image
37                  if (File.Exists(string.Format("{0}.jpg", fi.FullName.Replace(fi.Extension, "")))) { rom_img = string.Format("{0}.jpg", fi.FullName.Replace(fi.Extension, "")); }                  if (File.Exists(string.Format("{0}.jpg", fi.FullName.Replace(fi.Extension, "")))) { rom_img = string.Format("{0}.jpg", fi.FullName.Replace(fi.Extension, "")); }

Legend:
Removed from v.17  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.22