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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user