don't go lower than 20 files. Makes little sense and it is incompatible with a clipper program. (thanks ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3790
This commit is contained in:
parent
f2887664fa
commit
41729e0ca5
1 changed files with 3 additions and 0 deletions
|
@ -300,6 +300,9 @@ void DOS_PSP::SetFCB2(RealPt src) {
|
|||
}
|
||||
|
||||
bool DOS_PSP::SetNumFiles(Bit16u fileNum) {
|
||||
//20 minimum. clipper program.
|
||||
if (fileNum < 20) fileNum = 20;
|
||||
|
||||
if (fileNum>20) {
|
||||
// Allocate needed paragraphs
|
||||
fileNum+=2; // Add a few more files for safety
|
||||
|
|
Loading…
Add table
Reference in a new issue