diff options
| author | 2007-12-26 15:37:47 +0000 | |
|---|---|---|
| committer | 2007-12-26 15:37:47 +0000 | |
| commit | 6e449526786d9c6c42f6f668d69efcb4ac8fe761 (patch) | |
| tree | 1534aec509f239f485b21fe3e2532f0d3b8f5f46 | |
| parent | f76a01ecc7fb8e4fc3e704fa79fd3f241dd1210b (diff) | |
Fixed save state errors reported on MAMETesters.
| -rw-r--r-- | src/emu/sound/psx.c | 2 | ||||
| -rw-r--r-- | src/mame/drivers/nmg5.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/sound/psx.c b/src/emu/sound/psx.c index aa887e2278e..d04c79cff83 100644 --- a/src/emu/sound/psx.c +++ b/src/emu/sound/psx.c @@ -336,7 +336,7 @@ static void *psxspu_start(int sndindex, int clock, const void *config) state_save_register_item_array( "psx", sndindex, chip->m_p_n_adsrvolume ); state_save_register_item_array( "psx", sndindex, chip->m_p_n_repeataddress ); state_save_register_item_array( "psx", sndindex, chip->m_p_n_effect ); - state_save_register_item_array( "psx", sndindex, chip->m_p_n_spuram ); + state_save_register_item_pointer( "psx", sndindex, chip->m_p_n_spuram, SPU_RAM_SIZE ); state_save_register_item_array( "psx", sndindex, chip->m_p_n_blockaddress ); state_save_register_item_array( "psx", sndindex, chip->m_p_n_blockoffset ); state_save_register_item_array( "psx", sndindex, chip->m_p_n_blockstatus ); diff --git a/src/mame/drivers/nmg5.c b/src/mame/drivers/nmg5.c index 88ba9aeec9f..eb1828d629a 100644 --- a/src/mame/drivers/nmg5.c +++ b/src/mame/drivers/nmg5.c @@ -971,7 +971,6 @@ static MACHINE_START( nmg5 ) state_save_register_global(gfx_bank); state_save_register_global(priority_reg); state_save_register_global(input_data); - state_save_register_item_array("nmg5", 0, nmg5_bitmap); } static MACHINE_RESET( nmg5 ) |
