From 55c0d8e32f649f0b11dda942e82c6cb6dbaeb716 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 11 Dec 2011 20:28:13 +0000 Subject: [PATCH] win32-fix memoryview tool, which i broke some time ago --- desmume/src/windows/memView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desmume/src/windows/memView.cpp b/desmume/src/windows/memView.cpp index b7e6b2c8e..b075028fd 100644 --- a/desmume/src/windows/memView.cpp +++ b/desmume/src/windows/memView.cpp @@ -374,8 +374,7 @@ LRESULT MemView_ViewBoxPaint(CMemView* wnd, HWND hCtl, WPARAM wParam, LPARAM lPa } TextOut(mem_hdc, startx, 0, text, strlen(text)); - //MMU_DumpMemBlock(wnd->cpu, wnd->address, 0x100, memory); - for(int i=0;i<0x100;i++) memory[i] = MMU.ARM9_LCD[wnd->address+i]; + MMU_DumpMemBlock(wnd->cpu, wnd->address, 0x100, memory); for(line = 0; line < 16; line++, addr += 0x10) {