Anonymous - 2012-04-10

Originally posted by: clac...@gmail.com

I tested older versions of gnuboy (v1.0.3 and hacked v1.0.2). Problem still present (i.e. different to GBC issue https://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    ([r20])
+++ 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    ([r20])
+++ 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    ([r20])
+++ 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    ([r20])
+++ 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    ([r20])
+++ path.c    (working copy)
@@ -5,7 +5,6 @@
#include <stdlib.h>
#include <string.h>

-char *strdup();

#ifdef ALT_PATH_SEP
#define SEP ';'

 

Related

Tickets: #6