From bb99c7c736e890305ed281579112d828be71f95c Mon Sep 17 00:00:00 2001 From: nick_westgate Date: Mon, 16 Feb 2009 16:03:47 +0000 Subject: [PATCH] - Added call to SSC Reset on Ctrl-Reset - TODO: put machine reset handler somewhere central! --- source/Keyboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Keyboard.cpp b/source/Keyboard.cpp index c7917105..d57e7184 100644 --- a/source/Keyboard.cpp +++ b/source/Keyboard.cpp @@ -304,7 +304,7 @@ void KeybQueueKeypress (int key, BOOL bASCII) { if ((key == VK_CANCEL) && (GetKeyState(VK_CONTROL) < 0)) { - // Ctrl+Reset + // Ctrl+Reset - TODO: This is a terrible place for this code! if (!IS_APPLE2) MemResetPaging(); @@ -312,6 +312,7 @@ void KeybQueueKeypress (int key, BOOL bASCII) KeybReset(); if (!IS_APPLE2) VideoResetState(); // Switch Alternate char set off + sg_SSC.CommReset(); MB_Reset(); #ifndef KEY_OLD