mirror of
https://github.com/holub/mame
synced 2025-05-07 06:44:51 +03:00
Ok, last spring cleaning, I hope ...
This commit is contained in:
parent
60965715b2
commit
d3a1560433
@ -276,7 +276,7 @@ public:
|
||||
// construction/destruction
|
||||
debug_view_manager(running_machine &machine);
|
||||
~debug_view_manager();
|
||||
|
||||
|
||||
// getters
|
||||
running_machine &machine() const { return m_machine; }
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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);
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
@ -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()
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user