Skip to content

Commit

Permalink
DOS: fix switching to a drive other than C:
Browse files Browse the repository at this point in the history
Regressed by ceed515.
  • Loading branch information
magiblot committed Oct 23, 2024
1 parent 68c474b commit a24182d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tvision/tdircoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

Boolean driveValid( char drive ) noexcept
{
#ifdef _WIN32
#if defined( __BORLANDC__ ) || defined( _WIN32 )
#if !defined( __FLAT__ )
I MOV AH, 19H // Save the current drive in BL
I INT 21H
Expand Down

0 comments on commit a24182d

Please sign in to comment.