Fix for selectors always coming from GDT
Removed save function from Descriptor. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@959
This commit is contained in:
parent
7685449fe3
commit
f04d776aa9
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ protected:
|
|||
class GDTDescriptorTable : public DescriptorTable {
|
||||
public:
|
||||
bool GetDescriptor (Bitu selector, Descriptor& desc) {
|
||||
Bitu address=selector&=~7;
|
||||
Bitu address=selector & ~7;
|
||||
if (selector & 4) {
|
||||
if (address>=ldt_limit) return false;
|
||||
desc.Load(ldt_base+address);
|
||||
|
|
Loading…
Add table
Reference in a new issue