summaryrefslogtreecommitdiff
path: root/emulators/atari800/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/atari800/files/patch-ae')
-rw-r--r--emulators/atari800/files/patch-ae68
1 files changed, 14 insertions, 54 deletions
diff --git a/emulators/atari800/files/patch-ae b/emulators/atari800/files/patch-ae
index fd52e55c419b..4b8301709ead 100644
--- a/emulators/atari800/files/patch-ae
+++ b/emulators/atari800/files/patch-ae
@@ -1,59 +1,19 @@
-*** monitor.c.orig Tue Apr 22 20:58:59 1997
---- monitor.c Tue Apr 22 21:13:57 1997
+*** rt-config.c.orig Wed Jul 1 19:55:57 1998
+--- rt-config.c Wed Jul 1 19:56:17 1998
***************
-*** 1,3 ****
---- 1,8 ----
-+ /*
-+ Patched by Joel Sutton 22nd April, 1997
-+ Replaced gets with fgets. Added a newline chop feature.
-+ */
-+
- #include <stdio.h>
- #include <ctype.h>
- #include <unistd.h>
-***************
-*** 95,106 ****
-
- printf ("> ");
- fflush(stdout);
-! if (gets (s) == NULL)
- {
- printf("\n> CONT\n");
- strcpy(s, "CONT");
- }
+*** 32,38 ****
+ int enable_xcolpf1;
- for (p=0;s[p]!=0;p++)
- if (islower(s[p]))
- s[p] = toupper(s[p]);
---- 100,113 ----
+ static char *rtconfig_filename1 = "atari800.cfg";
+! static char *rtconfig_filename2 = "/etc/atari800.cfg";
- printf ("> ");
- fflush(stdout);
-! if (fgets (s,256,stdin) == NULL)
- {
- printf("\n> CONT\n");
- strcpy(s, "CONT");
- }
-
-+ s[strlen(s)-1]='\0'; /* fgets provision */
-+
- for (p=0;s[p]!=0;p++)
- if (islower(s[p]))
- s[p] = toupper(s[p]);
-***************
-*** 186,192 ****
- char gash[4];
+ int RtConfigLoad(char *rtconfig_filename)
+ {
+--- 32,38 ----
+ int enable_xcolpf1;
- printf ("Press return to continue: ");
-! gets (gash);
- nlines = 0;
- }
- }
---- 193,199 ----
- char gash[4];
+ static char *rtconfig_filename1 = "atari800.cfg";
+! static char *rtconfig_filename2 = "GUMBY/atari800.cfg";
- printf ("Press return to continue: ");
-! fgets (gash,256,stdin);
- nlines = 0;
- }
- }
+ int RtConfigLoad(char *rtconfig_filename)
+ {