MCPcopy Create free account
hub / github.com/TASEmulators/fceux / CommandStateLoad

Function CommandStateLoad

src/input.cpp:1082–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080}
1081
1082static void CommandStateLoad(void)
1083{
1084 if (FCEUMOV_Mode(MOVIEMODE_TASEDITOR))
1085 {
1086#ifdef __WIN_DRIVER__
1087 handleEmuCmdByTaseditor(execcmd);
1088#endif
1089 } else
1090 {
1091 if(execcmd >= EMUCMD_LOAD_STATE_SLOT_0 && execcmd <= EMUCMD_LOAD_STATE_SLOT_9)
1092 {
1093 int oldslot=FCEUI_SelectState(execcmd-EMUCMD_LOAD_STATE_SLOT_0, 0);
1094 FCEUI_LoadState(0);
1095 FCEUI_SelectState(oldslot, 0);
1096 }
1097 else
1098 FCEUI_LoadState(0);
1099 }
1100}
1101
1102static void CommandSoundAdjust(void)
1103{

Callers

nothing calls this directly

Calls 4

FCEUMOV_ModeFunction · 0.85
handleEmuCmdByTaseditorFunction · 0.85
FCEUI_SelectStateFunction · 0.85
FCEUI_LoadStateFunction · 0.85

Tested by

no test coverage detected