mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-21 10:32:12 +00:00
- Added call to SSC Reset on Ctrl-Reset
- TODO: put machine reset handler somewhere central!
This commit is contained in:
parent
65fef5a47d
commit
b583bfa942
@ -304,7 +304,7 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
|||||||
{
|
{
|
||||||
if ((key == VK_CANCEL) && (GetKeyState(VK_CONTROL) < 0))
|
if ((key == VK_CANCEL) && (GetKeyState(VK_CONTROL) < 0))
|
||||||
{
|
{
|
||||||
// Ctrl+Reset
|
// Ctrl+Reset - TODO: This is a terrible place for this code!
|
||||||
if (!IS_APPLE2)
|
if (!IS_APPLE2)
|
||||||
MemResetPaging();
|
MemResetPaging();
|
||||||
|
|
||||||
@ -312,6 +312,7 @@ void KeybQueueKeypress (int key, BOOL bASCII)
|
|||||||
KeybReset();
|
KeybReset();
|
||||||
if (!IS_APPLE2)
|
if (!IS_APPLE2)
|
||||||
VideoResetState(); // Switch Alternate char set off
|
VideoResetState(); // Switch Alternate char set off
|
||||||
|
sg_SSC.CommReset();
|
||||||
MB_Reset();
|
MB_Reset();
|
||||||
|
|
||||||
#ifndef KEY_OLD
|
#ifndef KEY_OLD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user