summaryrefslogtreecommitdiff
path: root/emulators/darcnes/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-10-28 23:04:31 +0000
committerwiz <wiz@pkgsrc.org>2000-10-28 23:04:31 +0000
commit90598e3fd665e7eabd5cef57e80b0567b159f750 (patch)
tree76a0b8468febe124d9cff090d02462d2fa9e20b5 /emulators/darcnes/patches
parent2f071fb89f33659fedbf62a0517686e2cba806ec (diff)
downloadpkgsrc-90598e3fd665e7eabd5cef57e80b0567b159f750.tar.gz
Update to darcnes-20001011. Changes are some CPU fixes and some code
shuffling (for details visit the homepage).
Diffstat (limited to 'emulators/darcnes/patches')
-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);