diff options
Diffstat (limited to 'emulators/gens/patches/patch-ac')
-rw-r--r-- | emulators/gens/patches/patch-ac | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/emulators/gens/patches/patch-ac b/emulators/gens/patches/patch-ac deleted file mode 100644 index 355c7699f9b..00000000000 --- a/emulators/gens/patches/patch-ac +++ /dev/null @@ -1,118 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2004/08/15 12:13:53 dillo Exp $ - ---- src/gens/segacd/cd_aspi.c.orig 2004-05-18 22:34:00.000000000 +0200 -+++ src/gens/segacd/cd_aspi.c -@@ -8,6 +8,8 @@ - #include "cd_aspi.h" - #include "mem_s68k.h" - -+#ifdef linux -+ - #define HIBYTE(x) x >> 8 - #define LOBYTE(x) x & 0xff - void Sleep (int i); -@@ -2878,3 +2880,104 @@ Fill_SCD_TOC_Zero (void) - - CD_Present = 0; - } -+ -+#else -+ -+int CUR_DEV; -+int Num_CD_Drive; -+ -+int -+ASPI_Close_Tray_CDD_cC_COMP (SRB_ExecSCSICmd * s) -+{ -+ return -1; -+} -+ -+int -+ASPI_End (void) -+{ -+ return 1; -+} -+ -+int -+ASPI_Fast_Seek_COMP (SRB_ExecSCSICmd * s) -+{ -+ return 0; -+} -+ -+void -+ASPI_Flush_Cache_CDC (void) -+{ -+ return; -+} -+ -+int -+ASPI_Init (void) -+{ -+ Num_CD_Drive = 0; -+ return 0; -+} -+ -+int -+ASPI_Lock (int flock) -+{ -+ return 5; -+} -+ -+int -+ASPI_Open_Tray_CDD_cD_COMP (SRB_ExecSCSICmd * s) -+{ -+ return -1; -+} -+ -+void -+ASPI_Read_One_LBA_CDC (void) -+{ -+ return; -+} -+ -+void -+ASPI_Reset_Drive (char *buf) -+{ -+ return; -+} -+ -+int -+ASPI_Seek (int pos, int async, -+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *)) -+{ -+ return 5; -+} -+ -+int -+ASPI_Seek_CDD_c4_COMP (SRB_ExecSCSICmd * s) -+{ -+ return -1; -+} -+ -+int -+ASPI_Star_Stop_Unit (int op, int imm, int async, -+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *)) -+{ -+ return 5; -+} -+ -+int -+ASPI_Stop_CDD_c1_COMP (SRB_ExecSCSICmd * s) -+{ -+ return 0; -+} -+ -+int -+ASPI_Stop_Play_Scan (int async, -+ int (*PostProc) (struct tagSRB32_ExecSCSICmd *)) -+{ -+ return 5; -+} -+ -+void -+Wait_Read_Complete (void) -+{ -+ return; -+} -+ -+#endif |