diff options
author | 2011-04-27 20:34:45 +0000 | |
---|---|---|
committer | 2011-04-27 20:34:45 +0000 | |
commit | af94c692bb616def82ec38e717dea5e507d310fe (patch) | |
tree | 62402705206111cd10ec15d585de338f2881ea14 /src/osd/sdl/debugwin.c | |
parent | 9092f1596454dd7b76e954038f7dd25f3305e345 (diff) |
Switch to using delegates for some callbacks:
- non-device timer callbacks
- machine state changing callbacks
- configuration callbacks
- per-screen VBLANK callbacks
- DRC backend callbacks
For the timer case only, I added wrappers for the old-style functions.
Over time, drivers should switch to device timers instead, reducing the
number of timers that are directly allocated through the scheduler.
Diffstat (limited to 'src/osd/sdl/debugwin.c')
-rw-r--r-- | src/osd/sdl/debugwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/debugwin.c b/src/osd/sdl/debugwin.c index 1a16bd08f5f..59bee14a8b4 100644 --- a/src/osd/sdl/debugwin.c +++ b/src/osd/sdl/debugwin.c @@ -545,7 +545,7 @@ static void configuration_save(running_machine &machine, int config_type, xml_da void sdl_osd_interface::init_debugger() { /* register callbacks */ - config_register(machine(), "debugger", configuration_load, configuration_save); + config_register(machine(), "debugger", config_saveload_delegate(FUNC(configuration_load), &machine), config_saveload_delegate(FUNC(configuration_save), &machine)); } |