/[RomCheater]/trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs

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

--- trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs	2013/06/09 00:30:55	652
+++ trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs	2013/06/09 00:34:29	653
@@ -214,11 +214,17 @@
         #region WII
         private DeviceMemoryMap CreateWIIMemMap()
         {
+            /* http://wiibrew.org/wiki/Memory_Map */
             const string name = "WII";
             DeviceMemoryMap map = new DeviceMemoryMap();
             List<IMemMap> maprange = new List<IMemMap>();
             #region memory maps
-            maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
+            //maprange.Add(new MemMap(string.Format("{0}_test", name), 0, 0));
+            maprange.Add(new MemMap("MEM1 [cached]", 0x80000000, 0x817FFFFF));
+            maprange.Add(new MemMap("MEM1 [uncached]", 0xC0000000, 0xC17FFFFF));
+            maprange.Add(new MemMap("MEM2 [cached]", 0x90000000, 0x93FFFFFF));
+            maprange.Add(new MemMap("MEM2 [uncached]", 0xD0000000, 0xD3FFFFFF));
+            maprange.Add(new MemMap("Hollywood/Starlet Registers?", 0xCD000000, 0xCD008000));
             #endregion
             map = new DeviceMemoryMap(name, maprange);
             return map;

 

  ViewVC Help
Powered by ViewVC 1.1.22