Small refactor for reading $C01x soft switch status flags

Prevent Apple II from reading $C01x/$C07F soft switch status flags
This commit is contained in:
tomcw
2018-06-30 14:30:30 +01:00
parent 5f87cc0f7c
commit 9cacf8d90d
6 changed files with 30 additions and 86 deletions
+3 -3
View File
@@ -108,7 +108,7 @@ void KeybUpdateCtrlShiftStatus()
}
//===========================================================================
BYTE KeybGetKeycode () // Used by MemCheckPaging() & VideoCheckMode()
BYTE KeybGetKeycode () // Used by IORead_C01x() and TapeRead() for Pravets8A
{
return keycode;
}
@@ -440,7 +440,7 @@ static bool IsAKD(void)
//===========================================================================
BYTE __stdcall KeybReadData (WORD, WORD, BYTE, BYTE, ULONG)
BYTE KeybReadData (void)
{
LogFileTimeUntilFirstKeyRead();
@@ -462,7 +462,7 @@ BYTE __stdcall KeybReadData (WORD, WORD, BYTE, BYTE, ULONG)
//===========================================================================
BYTE __stdcall KeybReadFlag (WORD, WORD, BYTE, BYTE, ULONG)
BYTE KeybReadFlag (void)
{
if (g_bPasteFromClipboard)
ClipboardInit();