Ok, last spring cleaning, I hope ...

This commit is contained in:
Angelo Salese 2011-04-19 14:36:17 +00:00
parent 60965715b2
commit d3a1560433
7 changed files with 14 additions and 14 deletions

View File

@ -276,7 +276,7 @@ public:
// construction/destruction // construction/destruction
debug_view_manager(running_machine &machine); debug_view_manager(running_machine &machine);
~debug_view_manager(); ~debug_view_manager();
// getters // getters
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }

View File

@ -121,7 +121,7 @@ class ui_menu
public: public:
ui_menu(running_machine &machine) ui_menu(running_machine &machine)
: m_machine(machine) { } : m_machine(machine) { }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
render_container * container; /* render_container we render to */ render_container * container; /* render_container we render to */

View File

@ -54,7 +54,7 @@ protected:
// internal helpers // internal helpers
chd_file *get_disc(); chd_file *get_disc();
void process_commands(); void process_commands();
// derived classes // derived classes
virtual void execute_command(int command) { assert(false); } virtual void execute_command(int command) { assert(false); }
@ -120,7 +120,7 @@ protected:
// command execution hook // command execution hook
virtual void execute_command(int command); virtual void execute_command(int command);
// internal helpers // internal helpers
inline void add_command(UINT8 command); 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); timer_set(target, TIMER_ID_VSYNC_UPDATE);
break; break;
} }
case TIMER_ID_AUTOPLAY: case TIMER_ID_AUTOPLAY:
// start playing // start playing
execute_command(CMD_PLAY); 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); m_bit_timer->adjust(duration, (bitsleft << 16) | data);
break; break;
} }
// deassert the control line // deassert the control line
case TIMER_ID_BIT_OFF: case TIMER_ID_BIT_OFF:
laserdisc_line_w(m_laserdisc, LASERDISC_LINE_CONTROL, CLEAR_LINE); laserdisc_line_w(m_laserdisc, LASERDISC_LINE_CONTROL, CLEAR_LINE);
break; break;
// others to the parent class // others to the parent class
default: default:
ldplayer_state::device_timer(timer, id, param, ptr); ldplayer_state::device_timer(timer, id, param, ptr);

View File

@ -26,7 +26,7 @@ class vector_generator
public: public:
vector_generator(running_machine &machine) vector_generator(running_machine &machine)
: m_machine(machine) { } : m_machine(machine) { }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
UINT32 sreg; /* shift register */ UINT32 sreg; /* shift register */

View File

@ -60,7 +60,7 @@ public:
SDD1_GCD(running_machine &machine, SDD1_IM* associatedIM) SDD1_GCD(running_machine &machine, SDD1_IM* associatedIM)
: IM(associatedIM), : IM(associatedIM),
m_machine(machine) { } m_machine(machine) { }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
SDD1_IM* IM; SDD1_IM* IM;
@ -247,7 +247,7 @@ public:
BG[6] = associatedBG6; BG[6] = associatedBG6;
BG[7] = associatedBG7; BG[7] = associatedBG7;
} }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
SDD1_PEM_ContextInfo contextInfo[32]; SDD1_PEM_ContextInfo contextInfo[32];
@ -304,7 +304,7 @@ public:
SDD1_CM(running_machine& machine, SDD1_PEM* associatedPEM) SDD1_CM(running_machine& machine, SDD1_PEM* associatedPEM)
: PEM(associatedPEM), : PEM(associatedPEM),
m_machine(machine) { } m_machine(machine) { }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
UINT8 bitplanesInfo; UINT8 bitplanesInfo;
@ -481,7 +481,7 @@ class SDD1emu
{ {
public: public:
SDD1emu(running_machine &machine); SDD1emu(running_machine &machine);
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
SDD1_IM* IM; SDD1_IM* IM;

View File

@ -419,7 +419,7 @@ class Processor
m_span_dady = da; m_span_dady = da;
m_span_dzdy = dz; m_span_dzdy = dz;
} }
running_machine &machine() const { assert(m_machine != NULL); return *m_machine; } running_machine &machine() const { assert(m_machine != NULL); return *m_machine; }
void InitInternalState() void InitInternalState()

View File

@ -70,7 +70,7 @@ struct win_window_info
public: public:
win_window_info(running_machine &machine) win_window_info(running_machine &machine)
: m_machine(machine) { } : m_machine(machine) { }
running_machine &machine() const { return m_machine; } running_machine &machine() const { return m_machine; }
win_window_info * next; win_window_info * next;