This commit is contained in:
Reonu committed 2021-06-23 10:11:01 +01:00
commit e03f938f12
5 files changed
+5 -12

No files matched your search

-4
View File
@@ -87,19 +87,15 @@ $(eval $(call validate-option,VERSION,jp us eu sh))
ifeq ($(VERSION),jp)
DEFINES += VERSION_JP=1
OPT_FLAGS := -g
GRUCODE ?= f3dzex
else ifeq ($(VERSION),us)
DEFINES += VERSION_US=1
OPT_FLAGS := -g
GRUCODE ?= f3dzex
else ifeq ($(VERSION),eu)
DEFINES += VERSION_EU=1
OPT_FLAGS := -O2
GRUCODE ?= f3dzex
else ifeq ($(VERSION),sh)
DEFINES += VERSION_SH=1
OPT_FLAGS := -O2
GRUCODE ?= f3dzex
endif
+1 -1
View File
@@ -232,7 +232,7 @@ SECTIONS
BEGIN_NOLOAD(engine)
{
BUILD_DIR/src/engine*.o(.bss*);
. = ALIGN(0x100);
. = ALIGN(0x40);
}
END_NOLOAD(engine)
+1 -4
View File
@@ -10,15 +10,12 @@
// "#define printf(...) /* nothing */" wasn't an option.)
// This macro is separate from the gd_printf function; one probably
// forwarded to the other, but it is hard to tell in which direction.
#ifdef __GNUC__
#define printf(...) \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wunused-value\"") \
(__VA_ARGS__); \
_Pragma ("GCC diagnostic pop")
#else
#define printf
#endif
// structs
struct GdControl { // gGdCtrl
+2 -2
View File
@@ -49,7 +49,7 @@ uLong ZEXPORT zlibCompileFlags()
case 8: flags += 2 << 6; break;
default: flags += 3 << 6;
}
#ifdef DEBUG
#ifdef PCDEBUG
flags += 1 << 8;
#endif
#if defined(ASMV) || defined(ASMINF)
@@ -103,7 +103,7 @@ uLong ZEXPORT zlibCompileFlags()
return flags;
}
#ifdef DEBUG
#ifdef PCDEBUG
# ifndef verbose
# define verbose 0
+1 -1
View File
@@ -227,7 +227,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#endif
/* Diagnostic functions */
#ifdef DEBUG
#ifdef PCDEBUG
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));