mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
Fix #201 drive swap DOS3.3 disk status Sector drive 2 now displaying properly due to fence post error
This commit is contained in:
parent
5024608885
commit
b2e5770e51
@ -612,11 +612,11 @@ void FrameDrawDiskStatus( HDC passdc )
|
||||
// Try DOS3.3 Sector
|
||||
if( !isProDOS )
|
||||
{
|
||||
int DOS33drive = mem[ 0xB7EA ];
|
||||
int DOS33drive = mem[ 0xB7EA ]; // 1 or 2
|
||||
int DOS33sector = mem[ 0xB7ED ];
|
||||
int DOS33track = mem[ 0xB7EC ];
|
||||
|
||||
if ((DOS33drive >= 0 && DOS33drive < 2)
|
||||
if ((DOS33drive >= 1 && DOS33drive <= 2)
|
||||
&& (DOS33track >= 0 && DOS33track < 40)
|
||||
&& (DOS33sector >= 0 && DOS33sector < 16))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user