src/mame/machine/n64.c
| r14735 | r14736 | |
| 22 | 22 | |
| 23 | 23 | n64_periphs::n64_periphs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 24 | 24 | : device_t(mconfig, N64PERIPH, "N64 Periphal Chips", tag, owner, clock) |
| 25 | , m_nvram_image(NULL) |
| 25 | 26 | { |
| 26 | 27 | } |
| 27 | 28 | |
| r14735 | r14736 | |
| 2387 | 2388 | static void n64_machine_stop(running_machine &machine) |
| 2388 | 2389 | { |
| 2389 | 2390 | n64_periphs *periphs = machine.device<n64_periphs>("rcp"); |
| 2391 | |
| 2392 | if( periphs->m_nvram_image == NULL ) |
| 2393 | return; |
| 2390 | 2394 | |
| 2391 | 2395 | device_image_interface *image = dynamic_cast<device_image_interface *>(periphs->m_nvram_image); |
| 2392 | 2396 | //printf("Saving stuff\n"); |