mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-11 14:37:37 +00:00
Avoid a spurious initial interrupt.
This commit is contained in:
parent
44d602e0f6
commit
7e8020df59
@ -65,11 +65,11 @@ class KeyboardController {
|
||||
}
|
||||
|
||||
void run_for(Cycles cycles) {
|
||||
if(reset_delay_ < 0) {
|
||||
if(reset_delay_ <= 0) {
|
||||
return;
|
||||
}
|
||||
reset_delay_ -= cycles.as<int>();
|
||||
if(reset_delay_ < 0) {
|
||||
if(reset_delay_ <= 0) {
|
||||
post(0xaa);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user