diff --git a/src/emu/debug/debugvw.h b/src/emu/debug/debugvw.h index af9dce3af0c..2d2bde6c4c5 100644 --- a/src/emu/debug/debugvw.h +++ b/src/emu/debug/debugvw.h @@ -276,7 +276,7 @@ public: // construction/destruction debug_view_manager(running_machine &machine); ~debug_view_manager(); - + // getters running_machine &machine() const { return m_machine; } diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c index e1aad1ec0ab..78f03b02760 100644 --- a/src/emu/uimenu.c +++ b/src/emu/uimenu.c @@ -121,7 +121,7 @@ class ui_menu public: ui_menu(running_machine &machine) : m_machine(machine) { } - + running_machine &machine() const { return m_machine; } render_container * container; /* render_container we render to */ diff --git a/src/ldplayer/ldplayer.c b/src/ldplayer/ldplayer.c index ec47c00d49b..758b68e722a 100644 --- a/src/ldplayer/ldplayer.c +++ b/src/ldplayer/ldplayer.c @@ -54,7 +54,7 @@ protected: // internal helpers chd_file *get_disc(); void process_commands(); - + // derived classes virtual void execute_command(int command) { assert(false); } @@ -120,7 +120,7 @@ protected: // command execution hook virtual void execute_command(int command); - + // internal helpers inline void add_command(UINT8 command); @@ -304,7 +304,7 @@ void ldplayer_state::device_timer(emu_timer &timer, device_timer_id id, int para timer_set(target, TIMER_ID_VSYNC_UPDATE); break; } - + case TIMER_ID_AUTOPLAY: // start playing execute_command(CMD_PLAY); @@ -377,12 +377,12 @@ void pr8210_state::device_timer(emu_timer &timer, device_timer_id id, int param, m_bit_timer->adjust(duration, (bitsleft << 16) | data); break; } - + // deassert the control line case TIMER_ID_BIT_OFF: laserdisc_line_w(m_laserdisc, LASERDISC_LINE_CONTROL, CLEAR_LINE); break; - + // others to the parent class default: ldplayer_state::device_timer(timer, id, param, ptr); diff --git a/src/mame/includes/vertigo.h b/src/mame/includes/vertigo.h index 5fcb0dfd7a0..299c8c90217 100644 --- a/src/mame/includes/vertigo.h +++ b/src/mame/includes/vertigo.h @@ -26,7 +26,7 @@ class vector_generator public: vector_generator(running_machine &machine) : m_machine(machine) { } - + running_machine &machine() const { return m_machine; } UINT32 sreg; /* shift register */ diff --git a/src/mame/machine/snessdd1.c b/src/mame/machine/snessdd1.c index baa096a79e4..c42c3df779b 100644 --- a/src/mame/machine/snessdd1.c +++ b/src/mame/machine/snessdd1.c @@ -60,7 +60,7 @@ public: SDD1_GCD(running_machine &machine, SDD1_IM* associatedIM) : IM(associatedIM), m_machine(machine) { } - + running_machine &machine() const { return m_machine; } SDD1_IM* IM; @@ -247,7 +247,7 @@ public: BG[6] = associatedBG6; BG[7] = associatedBG7; } - + running_machine &machine() const { return m_machine; } SDD1_PEM_ContextInfo contextInfo[32]; @@ -304,7 +304,7 @@ public: SDD1_CM(running_machine& machine, SDD1_PEM* associatedPEM) : PEM(associatedPEM), m_machine(machine) { } - + running_machine &machine() const { return m_machine; } UINT8 bitplanesInfo; @@ -481,7 +481,7 @@ class SDD1emu { public: SDD1emu(running_machine &machine); - + running_machine &machine() const { return m_machine; } SDD1_IM* IM; diff --git a/src/mame/video/n64.h b/src/mame/video/n64.h index 41efa3d69df..582d395a60a 100644 --- a/src/mame/video/n64.h +++ b/src/mame/video/n64.h @@ -419,7 +419,7 @@ class Processor m_span_dady = da; m_span_dzdy = dz; } - + running_machine &machine() const { assert(m_machine != NULL); return *m_machine; } void InitInternalState() diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h index c723bce5c3e..13d76a6d54d 100644 --- a/src/osd/windows/window.h +++ b/src/osd/windows/window.h @@ -70,7 +70,7 @@ struct win_window_info public: win_window_info(running_machine &machine) : m_machine(machine) { } - + running_machine &machine() const { return m_machine; } win_window_info * next;