Hex editor memview: prevent middle mouse button from attempting to "FreezeRam" when not in RAM mode.

This commit is contained in:
rainwarrior 2016-08-24 18:20:44 +00:00
parent 1814be4da5
commit bec851a768
1 changed files with 2 additions and 1 deletions

View File

@ -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);