| 165 | } |
| 166 | } |
| 167 | void stateSaveFunc(int value) { |
| 168 | printMenuMessage("Saving state..."); |
| 169 | muteSND(); |
| 170 | saveState(stateNum); |
| 171 | if (!isGameboyPaused()) |
| 172 | unmuteSND(); |
| 173 | printMenuMessage("State saved."); |
| 174 | // Will activate the other state options |
| 175 | stateSelectFunc(stateNum); |
| 176 | } |
| 177 | void stateLoadFunc(int value) { |
| 178 | printMenuMessage("Loading state..."); |
| 179 | muteSND(); |
nothing calls this directly
no test coverage detected