kajgan / gnuboy

Automatically exported from code.google.com/p/gnuboy
GNU General Public License v2.0
0 stars 0 forks source link

Faceball 2000 GB game hangs on game start (demo works) #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. load Faceball 2000 Game Boy rom. Game loads and runs demo fine.
2. hit start on main menu
3. game freezes or resets

Originally logged at http://code.google.com/p/ohboy/issues/detail?id=27

For more information about Faceball 2000 see:

 * http://www.giantbomb.com/faceball-2000/61-10852/
 * http://gameboy.ign.com/objects/005/005958.html

Original issue reported on code.google.com by clac...@gmail.com on 11 Apr 2012 at 4:24

GoogleCodeExporter commented 9 years ago
I tested older versions of gnuboy (v1.0.3 and hacked v1.0.2). Problem still 
present (i.e. different to GBC issue 
http://code.google.com/p/gnuboy/issues/detail?id=6 ).

NOTE oolder versions of gnuboy don't build easily. Here is a patch to allow 
building of r20 on current compilers.

Index: loader.c
===================================================================
--- loader.c    (revision 20)
+++ loader.c    (working copy)
@@ -11,7 +11,6 @@
 #include <stdlib.h>
 #include <string.h>

-char *strdup();

 static int mbc_table[256] =
 {
Index: rcvars.c
===================================================================
--- rcvars.c    (revision 20)
+++ rcvars.c    (working copy)
@@ -5,7 +5,6 @@
 #include <stdlib.h>
 #include <string.h>

-char *strdup();

 #include "defs.h"
 #include "rc.h"
Index: rckeys.c
===================================================================
--- rckeys.c    (revision 20)
+++ rckeys.c    (working copy)
@@ -4,7 +4,6 @@
 #include <stdlib.h>
 #include <string.h>

-char *strdup();

 #include "defs.h"
 #include "rc.h"
Index: main.c
===================================================================
--- main.c  (revision 20)
+++ main.c  (working copy)
@@ -8,7 +8,6 @@
 #include <stdlib.h>
 #include <string.h>

-char *strdup();

 #include <stdarg.h>
 #include <signal.h>
Index: path.c
===================================================================
--- path.c  (revision 20)
+++ path.c  (working copy)
@@ -5,7 +5,6 @@
 #include <stdlib.h>
 #include <string.h>

-char *strdup();

 #ifdef ALT_PATH_SEP
 #define SEP ';'

Original comment by clac...@gmail.com on 11 Apr 2012 at 4:27