win32-fix memoryview tool, which i broke some time ago

This commit is contained in:
zeromus 2011-12-11 20:28:13 +00:00
parent e3a1c15e83
commit 55c0d8e32f
1 changed files with 1 additions and 2 deletions

View File

@ -374,8 +374,7 @@ LRESULT MemView_ViewBoxPaint(CMemView* wnd, HWND hCtl, WPARAM wParam, LPARAM lPa
} }
TextOut(mem_hdc, startx, 0, text, strlen(text)); TextOut(mem_hdc, startx, 0, text, strlen(text));
//MMU_DumpMemBlock(wnd->cpu, wnd->address, 0x100, memory); MMU_DumpMemBlock(wnd->cpu, wnd->address, 0x100, memory);
for(int i=0;i<0x100;i++) memory[i] = MMU.ARM9_LCD[wnd->address+i];
for(line = 0; line < 16; line++, addr += 0x10) for(line = 0; line < 16; line++, addr += 0x10)
{ {