#201 Fix fence post logic bug in ProDOS drive dection
This commit is contained in:
parent
21e5ebc619
commit
627620ef6e
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ void FrameDrawDiskStatus( HDC passdc )
|
|||
int ProDOStrack = *MemGetMainPtr( 0xC356 ); // LC1 $D356
|
||||
int ProDOSsector = *MemGetMainPtr( 0xC357 ); // LC1 $D357
|
||||
|
||||
if ((ProDOSdrive >= 0 && ProDOSdrive < 2)
|
||||
if ((ProDOSdrive >= 1 && ProDOSdrive <= 2)
|
||||
&& (ProDOStrack >= 0 && ProDOStrack < 40)
|
||||
&& (ProDOSsector >= 0 && ProDOSsector < 16))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue