ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/main_unix.cpp
(Generate patch)

Comparing SheepShaver/src/Unix/main_unix.cpp (file contents):
Revision 1.67 by gbeauche, 2005-06-30T10:17:58Z vs.
Revision 1.68 by gbeauche, 2005-06-30T22:26:12Z

# Line 1575 | Line 1575 | void sigusr2_handler(int sig, siginfo_t
1575   {
1576          machine_regs *r = MACHINE_REGISTERS(scp);
1577  
1578 #ifdef USE_SDL_VIDEO
1579        // We must fill in the events queue in the same thread that did call SDL_SetVideoMode()
1580        SDL_PumpEvents();
1581 #endif
1582
1583        // Do nothing if interrupts are disabled
1584        if (*(int32 *)XLM_IRQ_NEST > 0)
1585                return;
1586
1578   #ifdef SYSTEM_CLOBBERS_R2
1579          // Restore pointer to Thread Local Storage
1580          set_r2(TOC);
# Line 1593 | Line 1584 | void sigusr2_handler(int sig, siginfo_t
1584          set_r13(R13);
1585   #endif
1586  
1587 + #ifdef USE_SDL_VIDEO
1588 +        // We must fill in the events queue in the same thread that did call SDL_SetVideoMode()
1589 +        SDL_PumpEvents();
1590 + #endif
1591 +
1592 +        // Do nothing if interrupts are disabled
1593 +        if (*(int32 *)XLM_IRQ_NEST > 0)
1594 +                return;
1595 +
1596          // Disable MacOS stack sniffer
1597          WriteMacInt32(0x110, 0);
1598  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines