| Previous | 15994 Revisions | Next |
| r1665 Thursday 7th February, 2008 at 12:29:35 UTC by Nathan Woods |
|---|
| [GENESIS] Fixed regression |
| [src/mess/drivers] | genesis.c |
| r1664 | r1665 | |
|---|---|---|
| 378 | 378 | static void genesis_machine_stop(running_machine *machine) |
| 379 | 379 | { |
| 380 | 380 | /* Write out the battery file if necessary */ |
| 381 | image_battery_save(image_from_devtype_and_index(IO_CARTSLOT, 0), genesis_sram, genesis_sram_len); | |
| 381 | if ((genesis_sram != NULL) && (genesis_sram_len > 0)) | |
| 382 | image_battery_save(image_from_devtype_and_index(IO_CARTSLOT, 0), genesis_sram, genesis_sram_len); | |
| 382 | 383 | } |
| 383 | 384 | |
| 384 | 385 |
| Previous | 15994 Revisions | Next |