/[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

--- trunk/EmuXPortal/Api/RomConfig.cs	2014/08/04 05:01:23	170
+++ trunk/EmuXPortal/Api/RomConfig.cs	2014/08/04 05:06:37	171
@@ -15,6 +15,8 @@
         Image RomImage { get; }
         IEmuConfig Config { get; }
         void ReleaseRomImageResource();
+
+        string ToString();
     }
 
     public static class RomLoader
@@ -110,6 +112,10 @@
                     this.RomImage.Dispose();
             }
 
+            public override string ToString()
+            {
+                return string.Format("{2} - {0}{3}{1}", "{", "}", Config.PlatformNameShort, RomFile);
+            }
             #endregion
 
             public void Dispose()

 

  ViewVC Help
Powered by ViewVC 1.1.22