1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-09-25 08:25:09 +00:00

Proceeds the ColecoVision to booting.

This commit is contained in:
Thomas Harte
2018-02-24 18:14:38 -05:00
parent 5530b96446
commit 23c47e21de
4 changed files with 139 additions and 4 deletions

View File

@@ -1001,12 +1001,12 @@ bool ProcessorBase::get_interrupt_line() {
return irq_line_;
}
void ProcessorBase::set_non_maskable_interrupt_line(bool value, int offset) {
void ProcessorBase::set_non_maskable_interrupt_line(bool value, HalfCycles offset) {
// NMIs are edge triggered and cannot be masked.
nmi_line_ = value;
if(value) {
request_status_ |= Interrupt::NMI;
if(offset < 0) {
if(offset.as_int() < 0) {
last_request_status_ |= Interrupt::NMI;
}
}