Allow to open HEX editor when emulation is not paused + minor fix
This commit is contained in:
parent
e6e17ded38
commit
2c35a6dfae
|
@ -2422,7 +2422,7 @@ INT_PTR CALLBACK DebuggerCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
int mouse_x = GET_X_LPARAM(lParam);
|
||||
int mouse_y = GET_Y_LPARAM(lParam);
|
||||
//mbg merge 7/18/06 changed pausing check
|
||||
if (FCEUI_EmulationPaused() && (mouse_x > 6) && (mouse_x < 30) && (mouse_y > 10))
|
||||
if ((mouse_x > 6) && (mouse_x < 30) && (mouse_y > 10))
|
||||
{
|
||||
int tmp = (mouse_y - 10) / debugSystem->disasmFontHeight;
|
||||
if (tmp < (int)disassembly_addresses.size())
|
||||
|
|
|
@ -319,9 +319,11 @@ void FCEU_VSUniCheck(uint64 md5partial, int *MapperNo, uint8 *Mirroring) {
|
|||
tofix |= 32;
|
||||
GameInfo->input[0] = SI_ZAPPER;
|
||||
GameInfo->input[1] = SI_NONE;
|
||||
GameInfo->inputfc = SIFC_NONE;
|
||||
}
|
||||
else if (!head.expansion == 0) {
|
||||
else if (!head.expansion) {
|
||||
GameInfo->input[0] = GameInfo->input[1] = SI_GAMEPAD;
|
||||
GameInfo->inputfc = SIFC_NONE;
|
||||
}
|
||||
if ((vs->ioption & VS_OPTION_SWAPDIRAB) && !GameInfo->vs_cswitch) {
|
||||
tofix |= 64;
|
||||
|
|
Loading…
Reference in New Issue