mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-05 23:31:17 +00:00
Switch VideoCheckVbl() to call VideoGetVbl() instead of VideoGetScannerAddress()
This commit is contained in:
parent
c04e934a27
commit
a85d33beb3
@ -2196,11 +2196,10 @@ BYTE VideoCheckMode (WORD, WORD address, BYTE, BYTE, ULONG uExecutedCycles)
|
||||
|
||||
BYTE VideoCheckVbl (WORD, WORD, BYTE, BYTE, ULONG uExecutedCycles)
|
||||
{
|
||||
bool bVblBar = false;
|
||||
VideoGetScannerAddress(&bVblBar, uExecutedCycles);
|
||||
bool bVblBar = VideoGetVbl(uExecutedCycles);
|
||||
|
||||
BYTE r = KeybGetKeycode();
|
||||
return (r & ~0x80) | ((bVblBar) ? 0x80 : 0);
|
||||
return (r & ~0x80) | (bVblBar ? 0x80 : 0);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
@ -2669,6 +2668,7 @@ void VideoResetState ()
|
||||
|
||||
|
||||
//===========================================================================
|
||||
|
||||
BYTE VideoSetMode (WORD, WORD address, BYTE write, BYTE, ULONG uExecutedCycles)
|
||||
{
|
||||
address &= 0xFF;
|
||||
|
Loading…
Reference in New Issue
Block a user