void update_savestate(u8 num) { desmume_pause(); savestate_slot(num); update_savestate_menu("savestate", num); update_savestate_menu("loadstate", num); desmume_resume(); }
void HK_StateSaveSlot(int num, bool justPressed) { if (romloaded && justPressed) { if (!paused) { NDS_Pause(); savestate_slot(num); //Savestate NDS_UnPause(); } else savestate_slot(num); //Savestate LoadSaveStateInfo(); AutoFrameSkip_IgnorePreviousDelay(); } }