summaryrefslogtreecommitdiff
path: root/emulators/x48/patches/patch-ac
blob: af6129bfa72c55aaf119b00204af907228d4580f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $

--- src/init.c.orig	Sun Feb  4 18:32:22 2001
+++ src/init.c
@@ -1204,13 +1204,15 @@
   struct stat    st;
   FILE          *fp;
 
-  fprintf(stderr, "testing: Getting home dir\n");
+  if (!quiet)
+    fprintf(stderr, "testing: Getting home dir\n");
   get_home_directory(path);
   strcat(path, "/");
 
   saturn.rom = (word_4 *)NULL;
 
-  fprintf(stderr, "testing: Reading ROM files\n");
+  if (!quiet)
+    fprintf(stderr, "testing: Reading ROM files\n");
   strcpy(fnam, path);
   strcat(fnam, "rom");
   if (!read_rom_file(fnam, &saturn.rom, &rom_size))
@@ -1367,7 +1369,8 @@
       exit (1);
     }
 
-  fprintf(stderr, "testing: Reading RAM file\n");
+  if (!quiet)
+    fprintf(stderr, "testing: Reading RAM file\n");
 
   strcpy(fnam, path);
   strcat(fnam, "ram");
@@ -1466,11 +1469,13 @@
       saturn.card_status |= port2_is_ram ? 8 : 0;
     }
 
+#ifdef notyet
   fprintf(stderr, "testing: Reading Enteries file\n");
   strcpy(fnam, path);
   strcat(fnam, "entries.o");
   if (!read_entries_file(fnam, &saturn.entries)) 
     return 0;
+#endif
 
 
   return 1;
@@ -1841,7 +1846,8 @@
 {
   if (!initialize)
   {
-    fprintf(stderr, "testing: Read Files\n");
+    if (!quiet)
+       fprintf(stderr, "testing: Read Files\n");
     if (read_files())
       {
         if (resetOnStartup)