diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-20 20:42:46 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-20 20:42:46 +0000 |
| commit | 68249b142e56e94dc79bb87b8b5501e3469b4925 (patch) | |
| tree | 5d9cca53462d8764b590c1954f9c1f8a20678127 /macosx/PcsxrDiscHandler.m | |
| parent | f16c114458aaad3b0885a072d703b742c32c1add (diff) | |
| download | pcsxr-68249b142e56e94dc79bb87b8b5501e3469b4925.tar.gz | |
Make OS X use LidInterrupt.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85469 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrDiscHandler.m')
| -rwxr-xr-x | macosx/PcsxrDiscHandler.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/PcsxrDiscHandler.m b/macosx/PcsxrDiscHandler.m index 025f5fdb..1aea4e3e 100755 --- a/macosx/PcsxrDiscHandler.m +++ b/macosx/PcsxrDiscHandler.m @@ -10,6 +10,7 @@ #import "EmuThread.h" #include "psxcommon.h" #include "plugins.h" +#include "cdrom.h" #import "RecentItemsMenu.h" #import "PcsxrController.h" @@ -29,8 +30,9 @@ PcsxrController *appDelegate = [NSApp delegate]; if ([EmuThread active] == YES) { if (UsingIso()) { - SetCdOpenCaseTime(time(NULL) + 2); SetIsoFile([theFile fileSystemRepresentation]); + SetCdOpenCaseTime(time(NULL) + 2); + LidInterrupt(); //[EmuThread reset]; } else { return NO; |
