played game), based on http://bisqwit.iki.fi/src/Gens212a-moviepatch-jyzero,bisqwit.gz adapted to rc3 and cleaned up by me. More information and movies can be found at http://bisqwit.iki.fi/jutut/nesvideos/FrontPage.html Bump PKGREVISION.
118 lines
1.5 KiB
Text
118 lines
1.5 KiB
Text
$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
|