different EMS emulation types (ems board style, emm386 extended compatibility),
fixes sound crackling in certain emm386-aware games Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3642
This commit is contained in:
parent
03190a56be
commit
974158842f
4 changed files with 90 additions and 46 deletions
|
@ -412,6 +412,8 @@ Bitu XMS_Handler(void) {
|
|||
return CBRET_NONE;
|
||||
}
|
||||
|
||||
Bitu GetEMSType(Section_prop * section);
|
||||
|
||||
class XMS: public Module_base {
|
||||
private:
|
||||
CALLBACK_HandlerObject callbackhandler;
|
||||
|
@ -445,7 +447,8 @@ public:
|
|||
|
||||
/* Set up UMB chain */
|
||||
umb_available=section->Get_bool("umb");
|
||||
DOS_BuildUMBChain(section->Get_bool("umb"),section->Get_bool("ems"));
|
||||
bool ems_available = GetEMSType(section)>0;
|
||||
DOS_BuildUMBChain(section->Get_bool("umb"),ems_available);
|
||||
}
|
||||
|
||||
~XMS(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue