/[RomCheater]/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/UI/UIMemoryViewer.cs

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

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/06/06 08:33:42	581
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/06/06 08:44:41	582
@@ -313,7 +313,17 @@
                     AddressList = "";
                     AsciiData = "";
                     // write the addreses out
-                    for (ulong i = address; i < (address + max_ram_view); i += max_address_width) { AddressList = AddressList + string.Format("{0:X8}:\n", i); }
+                    for (ulong i = address; i < (address + max_ram_view); i += max_address_width) 
+                    {
+                        if (this.peData.Is32bitAssembly())
+                        {
+                            AddressList = AddressList + string.Format("{0:X8}:\n", i); 
+                        }
+                        else
+                        {
+                            AddressList = AddressList + string.Format("{0:X16}:\n", i); 
+                        }                            
+                    }
                     StringBuilder builder = new StringBuilder();
                     int count = 0;
                     // write ascii text

 

  ViewVC Help
Powered by ViewVC 1.1.22