summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/snkwave.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/snkwave.c')
-rw-r--r--src/emu/sound/snkwave.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/sound/snkwave.c b/src/emu/sound/snkwave.c
index 1cc18df3743..b2ccc46b1f7 100644
--- a/src/emu/sound/snkwave.c
+++ b/src/emu/sound/snkwave.c
@@ -127,10 +127,10 @@ static DEVICE_START( snkwave )
chip->waveform_position = 0;
/* register with the save state system */
- state_save_register_device_item(device, 0, chip->frequency);
- state_save_register_device_item(device, 0, chip->counter);
- state_save_register_device_item(device, 0, chip->waveform_position);
- state_save_register_device_item_pointer(device, 0, chip->waveform, WAVEFORM_LENGTH);
+ device->save_item(NAME(chip->frequency));
+ device->save_item(NAME(chip->counter));
+ device->save_item(NAME(chip->waveform_position));
+ device->save_pointer(NAME(chip->waveform), WAVEFORM_LENGTH);
}