diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-27 22:15:23 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-12-27 22:15:23 +0000 |
| commit | ad3d06b4b9b54d3d9eab71bde58be7b0e1a7c4ff (patch) | |
| tree | 3b6edac478315920c082e84d3bd060055d242a62 /macosx/plugins/DFCdrom/macsrc | |
| parent | 81e937295d18509fadf911d4f6289707c038a659 (diff) | |
| download | pcsxr-ad3d06b4b9b54d3d9eab71bde58be7b0e1a7c4ff.tar.gz | |
Make IsCdHandleOpen() on Mac match the Linux method.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73820 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFCdrom/macsrc')
| -rw-r--r-- | macosx/plugins/DFCdrom/macsrc/cdr-macosx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFCdrom/macsrc/cdr-macosx.c b/macosx/plugins/DFCdrom/macsrc/cdr-macosx.c index c92156f4..94cf8996 100644 --- a/macosx/plugins/DFCdrom/macsrc/cdr-macosx.c +++ b/macosx/plugins/DFCdrom/macsrc/cdr-macosx.c @@ -154,7 +154,7 @@ void CloseCdHandle() { } int IsCdHandleOpen() { - return 1; + return (cdHandle != -1); } long GetTN(unsigned char *buffer) { |
