mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-25 18:33:11 +00:00
apple2: Ctrl+Bksp -> soft RESET
This commit is contained in:
parent
45ee1b5c28
commit
9df41590be
@ -296,7 +296,14 @@ export class AppleII extends BasicScanlineMachine {
|
||||
} else if (flags & KeyFlags.KeyDown) {
|
||||
code = 0;
|
||||
switch (key) {
|
||||
case 8: code=8; break; // left
|
||||
case 8:
|
||||
code=8; // left
|
||||
if (flags & KeyFlags.Ctrl) {
|
||||
// (possibly) soft reset
|
||||
this.cpu.reset();
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case 13: code=13; break; // return
|
||||
case 27: code=27; break; // escape
|
||||
case 37: code=8; break; // left
|
||||
|
Loading…
Reference in New Issue
Block a user