Hex editor memview: prevent middle mouse button from attempting to "FreezeRam" when not in RAM mode.
This commit is contained in:
parent
1814be4da5
commit
bec851a768
|
@ -1770,6 +1770,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||
}
|
||||
case WM_MBUTTONDOWN:
|
||||
{
|
||||
if (EditingMode != MODE_NES_MEMORY) return 0;
|
||||
x = GET_X_LPARAM(lParam);
|
||||
y = GET_Y_LPARAM(lParam);
|
||||
i = GetAddyFromCoord(x,y);
|
||||
|
|
Loading…
Reference in New Issue