Added logic to lock emulation when modifying cheats.
This commit is contained in:
parent
7d6f1fdacc
commit
e99cc1d64d
|
@ -783,8 +783,12 @@ void GuiCheatsDialog_t::updateCheatParameters(void)
|
||||||
|
|
||||||
//printf("Name: %s \n", name.c_str() );
|
//printf("Name: %s \n", name.c_str() );
|
||||||
|
|
||||||
|
fceuWrapperLock();
|
||||||
|
|
||||||
FCEUI_SetCheat( row, name.c_str(), a, v, c, s, type);
|
FCEUI_SetCheat( row, name.c_str(), a, v, c, s, type);
|
||||||
|
|
||||||
|
fceuWrapperUnLock();
|
||||||
|
|
||||||
showActiveCheatList(false);
|
showActiveCheatList(false);
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue