| 930 | } |
| 931 | |
| 932 | int 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 | |
| 947 | void FCEUI_SaveState(const char *fname, bool display_message) |
| 948 | { |
no test coverage detected