CTRL-F4 updates internal cache as well
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2053
This commit is contained in:
parent
76878308d5
commit
6613c49267
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ void swapInDisks(void) {
|
|||
}
|
||||
|
||||
void swapInNextDisk(void) {
|
||||
/* Hack/feature: rescan all disks as well */
|
||||
for(Bitu i=0;i<DOS_DRIVES;i++) {
|
||||
if (Drives[i]) Drives[i]->EmptyCache();
|
||||
}
|
||||
swapPosition++;
|
||||
if(diskSwap[swapPosition] == NULL) swapPosition = 0;
|
||||
swapInDisks();
|
||||
|
|
Loading…
Add table
Reference in a new issue