diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-10 06:54:11 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-10 06:54:11 +0000 |
| commit | f7823bc1646f1885bd9a0a19a9645c0e2cb884bd (patch) | |
| tree | 15f115383205088b3fca3f4c41a319e1da183ac7 /plugins/dfcdrom/cdr-null.c | |
| parent | fcf4fb0933140db08c7bc094abc9edb271c13359 (diff) | |
| download | pcsxr-f7823bc1646f1885bd9a0a19a9645c0e2cb884bd.tar.gz | |
I was really stupid... just use libcdio and everything's fine, no need to deal with different OSes at all.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54442 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom/cdr-null.c')
| -rw-r--r-- | plugins/dfcdrom/cdr-null.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dfcdrom/cdr-null.c b/plugins/dfcdrom/cdr-null.c index 0ee8eea3..275a6b65 100644 --- a/plugins/dfcdrom/cdr-null.c +++ b/plugins/dfcdrom/cdr-null.c @@ -19,10 +19,10 @@ * along with this program; if not, see <http://www.gnu.org/licenses>. */ -#include "cdr.h" - #ifdef USENULL +#include "cdr.h" + char *LibName = N_("CDR NULL Plugin"); int OpenCdHandle(const char *dev) { @@ -32,7 +32,7 @@ int OpenCdHandle(const char *dev) { void CloseCdHandle() { } -int IsCdHandleOpen () { +int IsCdHandleOpen() { return 0; } @@ -56,11 +56,11 @@ long ReadSector(crdata *cr) { } long PlayCDDA(unsigned char *sector) { - return -1; + return 0; } long StopCDDA() { - return -1; + return 0; } long GetStatus(int playing, struct CdrStat *stat) { |
