Memview: prevent modification of wifi registers and RAM.

This commit is contained in:
luigi__ 2010-04-20 19:33:41 +00:00
parent cb6f0c0dfd
commit 455e2c7080
1 changed files with 3 additions and 0 deletions

View File

@ -628,6 +628,9 @@ LRESULT CALLBACK MemView_ViewBoxProc(HWND hCtl, UINT uMsg, WPARAM wParam, LPARAM
if(((ch >= '0') && (ch <= '9')) || ((ch >= 'A') && (ch <= 'F')) || ((ch >= 'a') && (ch <= 'f')))
{
if ((wnd->cpu == ARMCPU_ARM7) && ((wnd->selAddress & 0xFFFF0000) == 0x04800000))
return DefWindowProc(hCtl, uMsg, wParam, lParam);
u8 maxSelPart[3] = {2, 4, 8};
wnd->selNewVal <<= 4;