- Added call to SSC Reset on Ctrl-Reset

- TODO: put machine reset handler somewhere central!
This commit is contained in:
nick_westgate 2009-02-16 16:03:47 +00:00
parent 23fb71d569
commit bb99c7c736

View File

@ -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