summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/fmopl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/fmopl.c')
-rw-r--r--src/emu/sound/fmopl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/fmopl.c b/src/emu/sound/fmopl.c
index a04c5db335c..f7fa61e34fc 100644
--- a/src/emu/sound/fmopl.c
+++ b/src/emu/sound/fmopl.c
@@ -1957,7 +1957,7 @@ static void OPL_save_state(FM_OPL *OPL, device_t *device)
state_save_register_device_item(device, 0, OPL->statusmask);
state_save_register_device_item(device, 0, OPL->mode);
- state_save_register_postload(device->machine, OPL_postload, OPL);
+ device->machine->state().register_postload(OPL_postload, OPL);
}