Commit 06183fc 1 parent dc2ba0e commit 06183fc Copy full SHA for 06183fc
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ class hyprduel_state : public driver_device
98
98
99
99
/* misc */
100
100
emu_timer *m_vblank_end_timer = nullptr ;
101
- int m_subcpu_resetline = 0 ;
102
- int m_cpu_trigger = 0 ;
101
+ bool m_subcpu_resetline = false ;
102
+ int32_t m_cpu_trigger = 0 ;
103
103
104
104
/* devices */
105
105
required_device<cpu_device> m_maincpu;
@@ -157,15 +157,15 @@ void hyprduel_state::subcpu_control_w(uint16_t data)
157
157
if (!m_subcpu_resetline)
158
158
{
159
159
m_subcpu->set_input_line (INPUT_LINE_RESET, ASSERT_LINE);
160
- m_subcpu_resetline = 1 ;
160
+ m_subcpu_resetline = true ;
161
161
}
162
162
break ;
163
163
164
164
case 0x00 :
165
165
if (m_subcpu_resetline)
166
166
{
167
167
m_subcpu->set_input_line (INPUT_LINE_RESET, CLEAR_LINE);
168
- m_subcpu_resetline = 0 ;
168
+ m_subcpu_resetline = false ;
169
169
}
170
170
m_maincpu->spin_until_interrupt ();
171
171
break ;
@@ -390,7 +390,7 @@ void hyprduel_state::machine_reset()
390
390
{
391
391
/* start with cpu2 halted */
392
392
m_subcpu->set_input_line (INPUT_LINE_RESET, ASSERT_LINE);
393
- m_subcpu_resetline = 1 ;
393
+ m_subcpu_resetline = true ;
394
394
m_cpu_trigger = 0 ;
395
395
}
396
396
You can’t perform that action at this time.
0 commit comments