mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 11:51:09 +08:00
Move this to DOS init to cover all cases, not just RE-DOS
This commit is contained in:
parent
21d96a01e1
commit
9e65dd87f9
@ -28,7 +28,6 @@
|
||||
#include "programs.h"
|
||||
#include "zipfile.h"
|
||||
#include "regs.h"
|
||||
#include "../dos/drives.h"
|
||||
#ifndef WIN32
|
||||
# include <stdlib.h>
|
||||
# include <unistd.h>
|
||||
@ -1594,9 +1593,6 @@ public:
|
||||
WriteOut("Restarts the kernel of DOSBox-X's emulated DOS.\n\nRE-DOS\n");
|
||||
return;
|
||||
}
|
||||
for (int i=0; i < DOS_DRIVES; i++)
|
||||
if (Drives[i])
|
||||
DriveManager::UnmountDrive(i);
|
||||
throw int(6);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user