summaryrefslogtreecommitdiff
path: root/emulators/darcnes/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/darcnes/patches/patch-af')
-rw-r--r--emulators/darcnes/patches/patch-af23
1 files changed, 18 insertions, 5 deletions
diff --git a/emulators/darcnes/patches/patch-af b/emulators/darcnes/patches/patch-af
index b4e5b2aff27..512040ac3af 100644
--- a/emulators/darcnes/patches/patch-af
+++ b/emulators/darcnes/patches/patch-af
@@ -1,16 +1,29 @@
-$NetBSD: patch-af,v 1.3 2000/08/10 11:56:34 wiz Exp $
+$NetBSD: patch-af,v 1.4 2000/10/28 23:04:31 wiz Exp $
---- cd_unix.c.orig Sat Aug 5 03:43:04 2000
-+++ cd_unix.c Thu Aug 10 13:49:33 2000
+--- cd_unix.c.orig Sun Aug 20 03:25:53 2000
++++ cd_unix.c
@@ -62,7 +62,6 @@
- void cd_play(u32 from, u32 to, int repeat)
+ void cd_play_track(u8 track)
+ {
+-#ifdef SYSTEM_FREEBSD
+ struct ioc_play_track playtrack;
+
+ /* FIXME: CD keeps playing after program quits */
+@@ -74,12 +73,10 @@
+ playtrack.end_index = 1;
+
+ ioctl(cd_drive, CDIOCPLAYTRACKS, &playtrack);
+-#endif
+ }
+
+ void cd_play_lba(u32 from, u32 to, int repeat)
{
-#ifdef SYSTEM_FREEBSD
struct ioc_play_blocks playblocks;
/* FIXME: ignores the repeat flag */
-@@ -77,7 +76,6 @@
+@@ -94,7 +91,6 @@
playblocks.len = to - from;
ioctl(cd_drive, CDIOCPLAYBLOCKS, &playblocks);