summaryrefslogtreecommitdiff
path: root/emulators/arnold/patches/patch-ab
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2003-09-24 10:53:27 +0000
committerdillo <dillo@pkgsrc.org>2003-09-24 10:53:27 +0000
commiteeedc01d6901cbc91e5d652e19818ab6d6c2ff6f (patch)
treec56d30ceb35510345d6f055bdb323fe74dedc2a2 /emulators/arnold/patches/patch-ab
parent772c5d9f3a82631bfa5835dac11b33bf82ba0125 (diff)
downloadpkgsrc-eeedc01d6901cbc91e5d652e19818ab6d6c2ff6f.tar.gz
Initial import of arnold-20020127:
Arnold is an Amstrad CPC, Amstrad CPC+ and KC Compact emulator. Arnold is accurate and emulates the Amstrad systems to the cycle level. It also emulates 99% of all demo effects.
Diffstat (limited to 'emulators/arnold/patches/patch-ab')
-rw-r--r--emulators/arnold/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/emulators/arnold/patches/patch-ab b/emulators/arnold/patches/patch-ab
new file mode 100644
index 00000000000..fe6def80ced
--- /dev/null
+++ b/emulators/arnold/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/09/24 10:53:27 dillo Exp $
+
+--- unix/main.c.orig Sun Nov 4 21:15:22 2001
++++ unix/main.c
+@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
+ char LocalDirectory[1024];
+ char ProgramDirectory[1024]="";
+
+- getcwd(ProgramDirectory, 1024);
++ strcpy(ProgramDirectory, SHAREDIR);
+
+ sprintf(LocalDirectory,"%s/roms/amsdose/",ProgramDirectory);
+
+@@ -94,8 +94,6 @@ LocalDirectory);
+
+ if (CPCEmulation_Initialise())
+ {
+- chdir(ProgramDirectory);
+-
+ CPC_SetCPCType(CPC_TYPE_CPC6128);
+
+ if (argc!=0)