Called when a game is closed. */
| 407 | |
| 408 | /* Called when a game is closed. */ |
| 409 | void FCEU_CloseGenie(void) { |
| 410 | /* No good reason to free() the Game Genie ROM image data. */ |
| 411 | geniestage = 0; |
| 412 | FlushGenieRW(); |
| 413 | VPageR = VPage; |
| 414 | } |
| 415 | |
| 416 | void FCEU_KillGenie(void) { |
| 417 | if (GENIEROM) { |
no test coverage detected