diff options
author | 2011-04-27 20:34:45 +0000 | |
---|---|---|
committer | 2011-04-27 20:34:45 +0000 | |
commit | af94c692bb616def82ec38e717dea5e507d310fe (patch) | |
tree | 62402705206111cd10ec15d585de338f2881ea14 /src/emu/render.h | |
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/emu/render.h')
-rw-r--r-- | src/emu/render.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/render.h b/src/emu/render.h index d14e28f03b0..783c939d690 100644 --- a/src/emu/render.h +++ b/src/emu/render.h @@ -714,7 +714,7 @@ private: // ======================> render_manager // contains machine-global information and operations -class render_manager +class render_manager : public bindable_object { friend class render_target; @@ -761,8 +761,6 @@ private: void container_free(render_container *container); // config callbacks - static void config_load_static(running_machine &machine, int config_type, xml_data_node *parentnode); - static void config_save_static(running_machine &machine, int config_type, xml_data_node *parentnode); void config_load(int config_type, xml_data_node *parentnode); void config_save(int config_type, xml_data_node *parentnode); |