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

Function FCEUI_SelectState

src/state.cpp:932–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930}
931
932int FCEUI_SelectState(int w, int show)
933{
934 int oldstate=CurrentState;
935 FCEUSS_CheckStates();
936 if(w == -1) { StateShow = 0; return 0; } //mbg merge 7/17/06 had to make return a value
937
938 CurrentState=w;
939 if(show)
940 {
941 StateShow=180;
942 FCEU_DispMessage("-select state-",0);
943 }
944 return oldstate;
945}
946
947void FCEUI_SaveState(const char *fname, bool display_message)
948{

Callers 15

FCEUI_SelectStateNextFunction · 0.85
ViewSlotsFunction · 0.85
CommandSelectSaveSlotFunction · 0.85
CommandStateSaveFunction · 0.85
CommandStateLoadFunction · 0.85
AppWndProcFunction · 0.85
LoadGameFunction · 0.85
CloseGameFunction · 0.85
fceuWrapperInitFunction · 0.85
loadStateMethod · 0.85
saveStateMethod · 0.85
changeStateMethod · 0.85

Calls 2

FCEUSS_CheckStatesFunction · 0.85
FCEU_DispMessageFunction · 0.85

Tested by

no test coverage detected