Fixed bug in popfd, this should remove some trap flag warnings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@224
This commit is contained in:
parent
c10a532f88
commit
7e46d9c60f
1 changed files with 2 additions and 1 deletions
|
@ -273,7 +273,8 @@ switch(Fetchb()) {
|
|||
}
|
||||
case 0x9d: /* POPFD */
|
||||
{
|
||||
Save_Flagsw((Bit16u)(Pop_32()&0xffff));
|
||||
Bit16u val=(Bit16u)(Pop_32()&0xffff);
|
||||
Save_Flagsw(val);
|
||||
break;
|
||||
}
|
||||
case 0xa1: /* MOV EAX,Ow */
|
||||
|
|
Loading…
Add table
Reference in a new issue