Previous 15994 Revisions Next

r13951 Monday 9th January, 2012 at 09:11:47 UTC by Miodrag Milanović
GCC 4.6 compile fix (no whatsnew)
[src/emu/cpu/i386]i386.c

src/emu/cpu/i386/i386.c
r13950r13951
21982198   {
21992199      if(newflags & 0x00020000) // if returning to virtual 8086 mode
22002200      {
2201         UINT8 SSRPL,SSDPL;
2201//         UINT8 SSRPL,SSDPL;
22022202         memset(&desc, 0, sizeof(desc));
22032203         desc.selector = newCS;
22042204         i386_load_protected_mode_segment(cpustate,&desc);
r13950r13951
22072207         memset(&stack, 0, sizeof(stack));
22082208         stack.selector = newSS;
22092209         i386_load_protected_mode_segment(cpustate,&stack);
2210         SSRPL = newSS & 0x03;
2211         SSDPL = (stack.flags >> 5) & 0x03;
2210         //SSRPL = newSS & 0x03;
2211         //SSDPL = (stack.flags >> 5) & 0x03;
22122212
22132213         /* Return to v86 mode */
22142214         popmessage("IRET (%08x): Returning to Virtual 8086 mode.",cpustate->pc);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team