milestone: vb and ngp compile
This commit is contained in:
parent
311b549b6f
commit
e892dcef82
|
@ -1,10 +1,13 @@
|
||||||
# common parts of all waterbox cores
|
# common parts of all waterbox cores
|
||||||
|
|
||||||
WATERBOX_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
WATERBOX_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
ROOT_DIR := $(shell dirname $(realpath $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)), $(MAKEFILE_LIST)))))
|
ROOT_DIR := $(shell dirname $(realpath $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))))
|
||||||
OUTPUTDLL_DIR := $(realpath $(WATERBOX_DIR)/../output/dll)
|
OUTPUTDLL_DIR := $(realpath $(WATERBOX_DIR)/../output/dll)
|
||||||
OBJ_DIR := $(ROOT_DIR)/obj/release
|
ifeq ($(OUT_DIR),)
|
||||||
DOBJ_DIR := $(ROOT_DIR)/obj/debug
|
OUT_DIR := $(ROOT_DIR)/obj
|
||||||
|
endif
|
||||||
|
OBJ_DIR := $(OUT_DIR)/release
|
||||||
|
DOBJ_DIR := $(OUT_DIR)/debug
|
||||||
EMULIBC_OBJS := $(WATERBOX_DIR)/emulibc/obj/release/emulibc.c.o
|
EMULIBC_OBJS := $(WATERBOX_DIR)/emulibc/obj/release/emulibc.c.o
|
||||||
EMULIBC_DOBJS := $(WATERBOX_DIR)/emulibc/obj/debug/emulibc.c.o
|
EMULIBC_DOBJS := $(WATERBOX_DIR)/emulibc/obj/debug/emulibc.c.o
|
||||||
SYSROOT := $(WATERBOX_DIR)/sysroot
|
SYSROOT := $(WATERBOX_DIR)/sysroot
|
||||||
|
@ -19,25 +22,26 @@ print-%: ;
|
||||||
#LD_PLUGIN := $(shell gcc --print-file-name=liblto_plugin.so)
|
#LD_PLUGIN := $(shell gcc --print-file-name=liblto_plugin.so)
|
||||||
|
|
||||||
CC := $(SYSROOT)/bin/musl-gcc
|
CC := $(SYSROOT)/bin/musl-gcc
|
||||||
CCFLAGS := $(CCFLAGS) -mabi=ms -fvisibility=hidden -I$(WATERBOX_DIR)/emulibc -Wall -mcmodel=large \
|
COMMONFLAGS := -mabi=ms -fvisibility=hidden -I$(WATERBOX_DIR)/emulibc -Wall -mcmodel=large \
|
||||||
-mstack-protector-guard=global
|
-mstack-protector-guard=global -no-pie -fno-pic -fno-pie
|
||||||
|
CCFLAGS := $(CCFLAGS) $(COMMONFLAGS)
|
||||||
LDFLAGS := $(LDFLAGS) -fuse-ld=gold -static -Wl,-Ttext,0x0000036f00000000 #-Wl,--plugin,$(LD_PLUGIN)
|
LDFLAGS := $(LDFLAGS) -fuse-ld=gold -static -Wl,-Ttext,0x0000036f00000000 #-Wl,--plugin,$(LD_PLUGIN)
|
||||||
CCFLAGS_DEBUG := -O0 -g
|
CCFLAGS_DEBUG := -O0 -g
|
||||||
CCFLAGS_RELEASE := -O3 -flto
|
CCFLAGS_RELEASE := -O3 -flto
|
||||||
LDFLAGS_DEBUG :=
|
LDFLAGS_DEBUG :=
|
||||||
LDFLAGS_RELEASE :=
|
LDFLAGS_RELEASE :=
|
||||||
CXXFLAGS := $(CXXFLAGS) -I$(SYSROOT)/include/c++/v1 -fno-use-cxa-atexit
|
CXXFLAGS := $(CXXFLAGS) $(COMMONFLAGS) -I$(SYSROOT)/include/c++/v1 -fno-use-cxa-atexit
|
||||||
CXXFLAGS_DEBUG :=
|
CXXFLAGS_DEBUG := -O0 -g
|
||||||
CXXFLAGS_RELEASE :=
|
CXXFLAGS_RELEASE := -O3 -flto
|
||||||
|
|
||||||
EXTRA_LIBS := -L $(SYSROOT)/lib/linux -lclang_rt.builtins-x86_64
|
EXTRA_LIBS := -L $(SYSROOT)/lib/linux -lclang_rt.builtins-x86_64
|
||||||
ifneq ($(filter %.cpp, $(SRCS)), )
|
ifneq ($(filter %.cpp,$(SRCS)),)
|
||||||
EXTRA_LIBS := -lc++ -lc++abi -lunwind $(EXTRA_LIBS)
|
EXTRA_LIBS := -lc++ -lc++abi -lunwind $(EXTRA_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
_OBJS := $(addsuffix .o, $(realpath $(SRCS)))
|
_OBJS := $(addsuffix .o,$(realpath $(SRCS)))
|
||||||
OBJS := $(patsubst $(ROOT_DIR)%, $(OBJ_DIR)%, $(_OBJS))
|
OBJS := $(patsubst $(ROOT_DIR)%,$(OBJ_DIR)%,$(_OBJS))
|
||||||
DOBJS := $(patsubst $(ROOT_DIR)%, $(DOBJ_DIR)%, $(_OBJS))
|
DOBJS := $(patsubst $(ROOT_DIR)%,$(DOBJ_DIR)%,$(_OBJS))
|
||||||
|
|
||||||
$(OBJ_DIR)/%.c.o: %.c
|
$(OBJ_DIR)/%.c.o: %.c
|
||||||
@echo cc $<
|
@echo cc $<
|
||||||
|
@ -46,7 +50,7 @@ $(OBJ_DIR)/%.c.o: %.c
|
||||||
$(OBJ_DIR)/%.cpp.o: %.cpp
|
$(OBJ_DIR)/%.cpp.o: %.cpp
|
||||||
@echo cxx $<
|
@echo cxx $<
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@$(CC) -c -o $@ $< $(CCFLAGS) $(CXXFLAGS) $(CCFLAGS_RELEASE)
|
@$(CC) -c -o $@ $< $(CXXFLAGS) $(CXXFLAGS_RELEASE)
|
||||||
$(DOBJ_DIR)/%.c.o: %.c
|
$(DOBJ_DIR)/%.c.o: %.c
|
||||||
@echo cc $<
|
@echo cc $<
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
|
@ -54,7 +58,7 @@ $(DOBJ_DIR)/%.c.o: %.c
|
||||||
$(DOBJ_DIR)/%.cpp.o: %.cpp
|
$(DOBJ_DIR)/%.cpp.o: %.cpp
|
||||||
@echo cxx $<
|
@echo cxx $<
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@$(CC) -c -o $@ $< $(CCFLAGS) $(CXXFLAGS) $(CCFLAGS_DEBUG) $(CXXFLAGS_DEBUG)
|
@$(CC) -c -o $@ $< $(CXXFLAGS) $(CXXFLAGS_DEBUG)
|
||||||
|
|
||||||
ifndef NO_WBX_TARGETS
|
ifndef NO_WBX_TARGETS
|
||||||
|
|
||||||
|
@ -97,8 +101,8 @@ endif
|
||||||
|
|
||||||
.PHONY: clean clean-release clean-debug
|
.PHONY: clean clean-release clean-debug
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(ROOT_DIR)/obj
|
rm -rf $(OUT_DIR)
|
||||||
clean-release:
|
clean-release:
|
||||||
rm -rf $(ROOT_DIR)/obj/release
|
rm -rf $(OUT_DIR)/release
|
||||||
clean-debug:
|
clean-debug:
|
||||||
rm -rf $(ROOT_DIR)/obj/debug
|
rm -rf $(OUT_DIR)/debug
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
NEED_LIBCO := 1
|
NEED_LIBCO := 1
|
||||||
|
|
||||||
#-DPROFILE_PERFORMANCE
|
#-DPROFILE_PERFORMANCE
|
||||||
CCFLAGS := -DHOOKS -DBIZHAWK -DPROFILE_COMPATIBILITY -DGAMEBOY \
|
CXXFLAGS := -DHOOKS -DBIZHAWK -DPROFILE_COMPATIBILITY -DGAMEBOY \
|
||||||
-D_GNU_SOURCE \
|
-D_GNU_SOURCE \
|
||||||
-Werror=int-to-pointer-cast \
|
-Werror=int-to-pointer-cast \
|
||||||
-I../libco -I./bsnes \
|
-I../libco -I./bsnes \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CCFLAGS:= -I. \
|
CXXFLAGS:= -I. \
|
||||||
-Wall -Werror=int-to-pointer-cast \
|
-Wall -Werror=int-to-pointer-cast \
|
||||||
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
||||||
-DLSB_FIRST
|
-DLSB_FIRST
|
||||||
|
|
|
@ -0,0 +1,88 @@
|
||||||
|
#include "mednafen/src/mednafen.h"
|
||||||
|
#include "mednafen/src/general.h"
|
||||||
|
#include "mednafen/src/state.h"
|
||||||
|
#include "mednafen/src/settings.h"
|
||||||
|
#include "mednafen/src/mempatcher.h"
|
||||||
|
#include "mednafen/src/mednafen-driver.h"
|
||||||
|
|
||||||
|
namespace Mednafen
|
||||||
|
{
|
||||||
|
MDFNGI *MDFNGameInfo = NULL;
|
||||||
|
|
||||||
|
std::string MDFN_MakeFName(MakeFName_Type type, int id1, const char *cd1)
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
// mednafen-driver.h
|
||||||
|
void MDFN_indent(int indent)
|
||||||
|
{}
|
||||||
|
void MDFN_printf(const char *format, ...) noexcept
|
||||||
|
{}
|
||||||
|
void MDFND_OutputNotice(MDFN_NoticeType t, const char* s) noexcept
|
||||||
|
{}
|
||||||
|
void MDFND_OutputInfo(const char* s) noexcept
|
||||||
|
{}
|
||||||
|
void MDFN_Notify(MDFN_NoticeType t, const char* format, ...) noexcept
|
||||||
|
{}
|
||||||
|
void MDFND_MidSync(EmulateSpecStruct *espec, const unsigned flags)
|
||||||
|
{}
|
||||||
|
|
||||||
|
bool MDFNSS_StateAction(StateMem *sm, const unsigned load, const bool data_only, const SFORMAT *sf, const char *sname, const bool optional) noexcept
|
||||||
|
{
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
uint64 MDFN_GetSettingUI(const char *name)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int64 MDFN_GetSettingI(const char *name)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
double MDFN_GetSettingF(const char *name)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
bool MDFN_GetSettingB(const char *name)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
std::string MDFN_GetSettingS(const char *name)
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
void MDFNMP_Init(uint32 ps, uint32 numpages)
|
||||||
|
{}
|
||||||
|
void MDFNMP_AddRAM(uint32 size, uint32 address, uint8 *RAM, bool use_in_search) // Deprecated
|
||||||
|
{}
|
||||||
|
void MDFNMP_RegSearchable(uint32 addr, uint32 size)
|
||||||
|
{}
|
||||||
|
void MDFNMP_Kill(void)
|
||||||
|
{}
|
||||||
|
|
||||||
|
void MDFN_LoadGameCheats(Stream* override)
|
||||||
|
{}
|
||||||
|
void MDFNMP_InstallReadPatches(void)
|
||||||
|
{}
|
||||||
|
void MDFNMP_RemoveReadPatches(void)
|
||||||
|
{}
|
||||||
|
void MDFNMP_ApplyPeriodicCheats(void)
|
||||||
|
{}
|
||||||
|
|
||||||
|
// file.h
|
||||||
|
bool MDFN_DumpToFile(const std::string& path, const void *data, const uint64 length, bool throw_on_error)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
bool MDFN_DumpToFile(const std::string& path, const std::vector<PtrLengthPair> &pearpairs, bool throw_on_error)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
std::unique_ptr<Stream> MDFN_AmbigGZOpenHelper(const std::string& path, std::vector<size_t> good_sizes)
|
||||||
|
{
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,43 @@
|
||||||
|
# common things across all mednafen cores
|
||||||
|
|
||||||
|
MEDNAFLAGS := \
|
||||||
|
-Imednafen/include -Icommon -Imednafen/src/trio \
|
||||||
|
-DHAVE_CONFIG_H=1 -DMDFN_DISABLE_NO_OPT_ERRWARN=1 \
|
||||||
|
-fwrapv \
|
||||||
|
-fno-strict-aliasing \
|
||||||
|
-fomit-frame-pointer \
|
||||||
|
-fsigned-char \
|
||||||
|
-fno-aggressive-loop-optimizations \
|
||||||
|
-fno-fast-math \
|
||||||
|
-fno-unsafe-math-optimizations \
|
||||||
|
-fjump-tables \
|
||||||
|
-mfunction-return=keep \
|
||||||
|
-mindirect-branch=keep \
|
||||||
|
-mno-indirect-branch-register \
|
||||||
|
-Wall -Wshadow -Wempty-body -Wignored-qualifiers \
|
||||||
|
-Wvla -Wvariadic-macros -Wdisabled-optimization -Werror=write-strings
|
||||||
|
|
||||||
|
CCFLAGS := $(MEDNAFLAGS) -std=gnu99
|
||||||
|
CXXFLAGS := $(MEDNAFLAGS) -std=gnu++11
|
||||||
|
|
||||||
|
cppdir = $(shell find mednafen/src/$(1) -type f -name '*.cpp')
|
||||||
|
cdir = $(shell find mednafen/src/$(1) -type f -name '*.c')
|
||||||
|
|
||||||
|
MODULENAME := $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
|
||||||
|
MODULENAME := $(MODULENAME:.mak=)
|
||||||
|
|
||||||
|
TARGET := $(MODULENAME).wbx
|
||||||
|
OUT_DIR := obj/$(MODULENAME)
|
||||||
|
|
||||||
|
SRCS := \
|
||||||
|
mednafen/src/error.cpp \
|
||||||
|
mednafen/src/FileStream.cpp \
|
||||||
|
mednafen/src/Stream.cpp \
|
||||||
|
mednafen/src/Time.cpp \
|
||||||
|
mednafen/src/git.cpp \
|
||||||
|
$(call cppdir,string) \
|
||||||
|
$(call cppdir,hash) \
|
||||||
|
$(call cdir,trio) \
|
||||||
|
$(call cdir,cputest) \
|
||||||
|
$(filter-out %generate.cpp,$(call cppdir,sound)) \
|
||||||
|
Interfaces.cpp
|
|
@ -0,0 +1,864 @@
|
||||||
|
/* manually modified */
|
||||||
|
|
||||||
|
/* Define if building universal (internal helper macro) */
|
||||||
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
||||||
|
|
||||||
|
/* Define if we are compiling for PPC architectures. */
|
||||||
|
#undef ARCH_POWERPC
|
||||||
|
|
||||||
|
/* Define if we are compiling for 32-bit or 64-bit x86 architectures. */
|
||||||
|
#define ARCH_X86 1
|
||||||
|
|
||||||
|
/* Define if we are compiling for 32-bit x86 architectures. */
|
||||||
|
#undef ARCH_X86_32
|
||||||
|
|
||||||
|
/* Define if we are compiling for 64-bit x86 architectures. */
|
||||||
|
#define ARCH_X86_64 1
|
||||||
|
|
||||||
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||||
|
systems. This function is required for `alloca.c' support on those systems.
|
||||||
|
*/
|
||||||
|
#undef CRAY_STACKSEG_END
|
||||||
|
|
||||||
|
/* Define to 1 if using `alloca.c'. */
|
||||||
|
#undef C_ALLOCA
|
||||||
|
|
||||||
|
/* Define if we are compiling for DOS. */
|
||||||
|
#undef DOS
|
||||||
|
|
||||||
|
/* Define if we are compiling in libxxx mode. */
|
||||||
|
#define ENABLE_LIBXXX_MODE 1
|
||||||
|
|
||||||
|
/* Define to 1 if translation of program messages to the user's native
|
||||||
|
language is requested. */
|
||||||
|
#undef ENABLE_NLS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `accept' function. */
|
||||||
|
#undef HAVE_ACCEPT
|
||||||
|
|
||||||
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||||
|
#undef HAVE_ALLOCA
|
||||||
|
|
||||||
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||||
|
*/
|
||||||
|
#undef HAVE_ALLOCA_H
|
||||||
|
|
||||||
|
/* Define if we are compiling with ALSA support. */
|
||||||
|
#undef HAVE_ALSA
|
||||||
|
|
||||||
|
/* Define if altivec.h is present and usable. */
|
||||||
|
#undef HAVE_ALTIVEC_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_count' function. */
|
||||||
|
#undef HAVE_ARGZ_COUNT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <argz.h> header file. */
|
||||||
|
#undef HAVE_ARGZ_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_next' function. */
|
||||||
|
#undef HAVE_ARGZ_NEXT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_stringify' function. */
|
||||||
|
#undef HAVE_ARGZ_STRINGIFY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `asprintf' function. */
|
||||||
|
#undef HAVE_ASPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `bind' function. */
|
||||||
|
#undef HAVE_BIND
|
||||||
|
|
||||||
|
/* Define to 1 if the compiler understands __builtin_expect. */
|
||||||
|
#define HAVE_BUILTIN_EXPECT 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
|
||||||
|
CoreFoundation framework. */
|
||||||
|
#undef HAVE_CFLOCALECOPYCURRENT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
|
||||||
|
the CoreFoundation framework. */
|
||||||
|
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `clock_gettime' function. */
|
||||||
|
#undef HAVE_CLOCK_GETTIME
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `close' function. */
|
||||||
|
#undef HAVE_CLOSE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `connect' function. */
|
||||||
|
#undef HAVE_CONNECT
|
||||||
|
|
||||||
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DCGETTEXT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
||||||
|
you don't. */
|
||||||
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL_GETC_UNLOCKED
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL__SNPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL__SNWPRINTF
|
||||||
|
|
||||||
|
/* Define if we are compiling with DirectSound support. */
|
||||||
|
#undef HAVE_DIRECTSOUND
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `dup2' function. */
|
||||||
|
#undef HAVE_DUP2
|
||||||
|
|
||||||
|
/* Define if we are compiling and linking with external LZO. */
|
||||||
|
#undef HAVE_EXTERNAL_LZO2
|
||||||
|
|
||||||
|
/* Define if we are compiling and linking with external mpcdec. */
|
||||||
|
#undef HAVE_EXTERNAL_MPCDEC
|
||||||
|
|
||||||
|
/* Define if we are compiling and linking with external tremor. */
|
||||||
|
#undef HAVE_EXTERNAL_TREMOR
|
||||||
|
|
||||||
|
/* Define if we are compiling and linking with external trio. */
|
||||||
|
#undef HAVE_EXTERNAL_TRIO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fcntl' function. */
|
||||||
|
#undef HAVE_FCNTL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
|
#undef HAVE_FCNTL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <fenv.h> header file. */
|
||||||
|
#undef HAVE_FENV_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fopen64' function. */
|
||||||
|
#undef HAVE_FOPEN64
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fork' function. */
|
||||||
|
#undef HAVE_FORK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `freeaddrinfo' function. */
|
||||||
|
#undef HAVE_FREEADDRINFO
|
||||||
|
|
||||||
|
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
||||||
|
#undef HAVE_FSEEKO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fseeko64' function. */
|
||||||
|
#undef HAVE_FSEEKO64
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fstat64' function. */
|
||||||
|
#undef HAVE_FSTAT64
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `ftello' function. */
|
||||||
|
#undef HAVE_FTELLO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `ftello64' function. */
|
||||||
|
#undef HAVE_FTELLO64
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `ftruncate64' function. */
|
||||||
|
#undef HAVE_FTRUNCATE64
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `fwprintf' function. */
|
||||||
|
#undef HAVE_FWPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gai_strerror' function. */
|
||||||
|
#undef HAVE_GAI_STRERROR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getaddrinfo' function. */
|
||||||
|
#undef HAVE_GETADDRINFO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getcwd' function. */
|
||||||
|
#undef HAVE_GETCWD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getegid' function. */
|
||||||
|
#undef HAVE_GETEGID
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getenv' function. */
|
||||||
|
#undef HAVE_GETENV
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `geteuid' function. */
|
||||||
|
#undef HAVE_GETEUID
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getgid' function. */
|
||||||
|
#undef HAVE_GETGID
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gethostbyaddr' function. */
|
||||||
|
#undef HAVE_GETHOSTBYADDR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gethostbyname' function. */
|
||||||
|
#undef HAVE_GETHOSTBYNAME
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getpagesize' function. */
|
||||||
|
#undef HAVE_GETPAGESIZE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getpwuid' function. */
|
||||||
|
#undef HAVE_GETPWUID
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getsockopt' function. */
|
||||||
|
#undef HAVE_GETSOCKOPT
|
||||||
|
|
||||||
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||||
|
#undef HAVE_GETTEXT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gettimeofday' function. */
|
||||||
|
#undef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getuid' function. */
|
||||||
|
#undef HAVE_GETUID
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `gmtime_r' function. */
|
||||||
|
#undef HAVE_GMTIME_R
|
||||||
|
|
||||||
|
/* Define if you have the iconv() function and it works. */
|
||||||
|
#undef HAVE_ICONV
|
||||||
|
|
||||||
|
/* Define if GNU-style AVX inline assembly is supported. */
|
||||||
|
#undef HAVE_INLINEASM_AVX
|
||||||
|
|
||||||
|
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
|
||||||
|
#define HAVE_INTMAX_T 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#define HAVE_INTTYPES_H 1
|
||||||
|
|
||||||
|
/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
|
||||||
|
declares uintmax_t. */
|
||||||
|
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with JACK support. */
|
||||||
|
#undef HAVE_JACK
|
||||||
|
|
||||||
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||||
|
#undef HAVE_LANGINFO_CODESET
|
||||||
|
|
||||||
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
||||||
|
#undef HAVE_LC_MESSAGES
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `asound' library (-lasound). */
|
||||||
|
#undef HAVE_LIBASOUND
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mpcdec' library (-lmpcdec). */
|
||||||
|
#undef HAVE_LIBMPCDEC
|
||||||
|
|
||||||
|
/* Define if we are compiling with libsndfile support. */
|
||||||
|
#undef HAVE_LIBSNDFILE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `trio' library (-ltrio). */
|
||||||
|
#undef HAVE_LIBTRIO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vorbisidec' library (-lvorbisidec). */
|
||||||
|
#undef HAVE_LIBVORBISIDEC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <limits.h> header file. */
|
||||||
|
#define HAVE_LIMITS_H 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with Linux joystick support. */
|
||||||
|
#undef HAVE_LINUX_JOYSTICK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `listen' function. */
|
||||||
|
#undef HAVE_LISTEN
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `localtime_r' function. */
|
||||||
|
#undef HAVE_LOCALTIME_R
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `long long int'. */
|
||||||
|
#define HAVE_LONG_LONG_INT 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `madvise' function. */
|
||||||
|
#undef HAVE_MADVISE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mbrtowc' function. */
|
||||||
|
#undef HAVE_MBRTOWC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memcmp' function. */
|
||||||
|
#define HAVE_MEMCMP 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memcpy' function. */
|
||||||
|
#define HAVE_MEMCPY 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memmove' function. */
|
||||||
|
#define HAVE_MEMMOVE 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#define HAVE_MEMORY_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mempcpy' function. */
|
||||||
|
#define HAVE_MEMPCPY 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memset' function. */
|
||||||
|
#define HAVE_MEMSET 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mkdir' function. */
|
||||||
|
#undef HAVE_MKDIR
|
||||||
|
|
||||||
|
/* Define to 1 if you have a working `mmap' system call. */
|
||||||
|
#undef HAVE_MMAP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `munmap' function. */
|
||||||
|
#undef HAVE_MUNMAP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `nanosleep' function. */
|
||||||
|
#undef HAVE_NANOSLEEP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `nearbyint' function. */
|
||||||
|
#undef HAVE_NEARBYINT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `nearbyintf' function. */
|
||||||
|
#undef HAVE_NEARBYINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `newlocale' function. */
|
||||||
|
#undef HAVE_NEWLOCALE
|
||||||
|
|
||||||
|
/* Define if we are compiling with OpenBSD audio support. */
|
||||||
|
#undef HAVE_OPENBSD_AUDIO
|
||||||
|
|
||||||
|
/* Define if we are compiling with OSS support. */
|
||||||
|
#undef HAVE_OSSDSP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pipe' function. */
|
||||||
|
#undef HAVE_PIPE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `poll' function. */
|
||||||
|
#undef HAVE_POLL
|
||||||
|
|
||||||
|
/* Define if your printf() function supports format strings with positions. */
|
||||||
|
#define HAVE_POSIX_PRINTF 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with POSIX sockets support. */
|
||||||
|
#undef HAVE_POSIX_SOCKETS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_condattr_setclock' function. */
|
||||||
|
#undef HAVE_PTHREAD_CONDATTR_SETCLOCK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_cond_timedwait_relative_np' function.
|
||||||
|
*/
|
||||||
|
#undef HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_create' function. */
|
||||||
|
#undef HAVE_PTHREAD_CREATE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_getaffinity_np' function. */
|
||||||
|
#undef HAVE_PTHREAD_GETAFFINITY_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <pthread.h> header file. */
|
||||||
|
#undef HAVE_PTHREAD_H
|
||||||
|
|
||||||
|
/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
|
||||||
|
#undef HAVE_PTHREAD_MUTEX_RECURSIVE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <pthread_np.h> header file. */
|
||||||
|
#undef HAVE_PTHREAD_NP_H
|
||||||
|
|
||||||
|
/* Define if the POSIX multithreading library has read/write locks. */
|
||||||
|
#undef HAVE_PTHREAD_RWLOCK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_setaffinity_np' function. */
|
||||||
|
#undef HAVE_PTHREAD_SETAFFINITY_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_setname_np' function. */
|
||||||
|
#undef HAVE_PTHREAD_SETNAME_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `pthread_set_name_np' function. */
|
||||||
|
#undef HAVE_PTHREAD_SET_NAME_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `putenv' function. */
|
||||||
|
#undef HAVE_PUTENV
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `recv' function. */
|
||||||
|
#undef HAVE_RECV
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `rint' function. */
|
||||||
|
#undef HAVE_RINT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `rintf' function. */
|
||||||
|
#undef HAVE_RINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `round' function. */
|
||||||
|
#undef HAVE_ROUND
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sched.h> header file. */
|
||||||
|
#undef HAVE_SCHED_H
|
||||||
|
|
||||||
|
/* Define if we are compiling with SDL. */
|
||||||
|
#undef HAVE_SDL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `select' function. */
|
||||||
|
#undef HAVE_SELECT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sem_clockwait' function. */
|
||||||
|
#undef HAVE_SEM_CLOCKWAIT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sem_clockwait_np' function. */
|
||||||
|
#undef HAVE_SEM_CLOCKWAIT_NP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sem_init' function. */
|
||||||
|
#undef HAVE_SEM_INIT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sem_timedwait' function. */
|
||||||
|
#undef HAVE_SEM_TIMEDWAIT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sem_timedwait_monotonic' function. */
|
||||||
|
#undef HAVE_SEM_TIMEDWAIT_MONOTONIC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `send' function. */
|
||||||
|
#undef HAVE_SEND
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setenv' function. */
|
||||||
|
#undef HAVE_SETENV
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setlocale' function. */
|
||||||
|
#undef HAVE_SETLOCALE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `setsockopt' function. */
|
||||||
|
#undef HAVE_SETSOCKOPT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sigaction' function. */
|
||||||
|
#undef HAVE_SIGACTION
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `signal' function. */
|
||||||
|
#undef HAVE_SIGNAL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `snprintf' function. */
|
||||||
|
#undef HAVE_SNPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `socket' function. */
|
||||||
|
#undef HAVE_SOCKET
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
#define HAVE_STDDEF_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#define HAVE_STDINT_H 1
|
||||||
|
|
||||||
|
/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
|
||||||
|
uintmax_t. */
|
||||||
|
#define HAVE_STDINT_H_WITH_UINTMAX 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#define HAVE_STDLIB_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `stpcpy' function. */
|
||||||
|
#define HAVE_STPCPY 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strcasecmp' function. */
|
||||||
|
#define HAVE_STRCASECMP 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strdup' function. */
|
||||||
|
#define HAVE_STRDUP 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strerror' function. */
|
||||||
|
#undef HAVE_STRERROR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strerror_r' function. */
|
||||||
|
#undef HAVE_STRERROR_R
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#define HAVE_STRINGS_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#define HAVE_STRING_H 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strnlen' function. */
|
||||||
|
#define HAVE_STRNLEN 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strtoul' function. */
|
||||||
|
#define HAVE_STRTOUL 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||||
|
#undef HAVE_SYS_PARAM_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `tsearch' function. */
|
||||||
|
#undef HAVE_TSEARCH
|
||||||
|
|
||||||
|
/* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
|
||||||
|
#define HAVE_UINTMAX_T 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `unsigned long long int'. */
|
||||||
|
#define HAVE_UNSIGNED_LONG_LONG_INT 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `uselocale' function. */
|
||||||
|
#undef HAVE_USELOCALE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `usleep' function. */
|
||||||
|
#undef HAVE_USLEEP
|
||||||
|
|
||||||
|
/* Define to 1 or 0, depending whether the compiler supports simple visibility
|
||||||
|
declarations. */
|
||||||
|
#undef HAVE_VISIBILITY
|
||||||
|
|
||||||
|
/* Define if we are compiling with WASAPI support. */
|
||||||
|
#undef HAVE_WASAPI
|
||||||
|
|
||||||
|
/* Define if you have the 'wchar_t' type. */
|
||||||
|
#define HAVE_WCHAR_T 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `wcrtomb' function. */
|
||||||
|
#define HAVE_WCRTOMB 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `wcslen' function. */
|
||||||
|
#define HAVE_WCSLEN 1
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `wcsnlen' function. */
|
||||||
|
#define HAVE_WCSNLEN 1
|
||||||
|
|
||||||
|
/* Define if you have the 'wint_t' type. */
|
||||||
|
#undef HAVE_WINT_T
|
||||||
|
|
||||||
|
/* Define to 1 if O_NOATIME works. */
|
||||||
|
#undef HAVE_WORKING_O_NOATIME
|
||||||
|
|
||||||
|
/* Define to 1 if O_NOFOLLOW works. */
|
||||||
|
#undef HAVE_WORKING_O_NOFOLLOW
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `_mkdir' function. */
|
||||||
|
#undef HAVE__MKDIR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `__fsetlocking' function. */
|
||||||
|
#undef HAVE___FSETLOCKING
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `__mingw_get_crt_info' function. */
|
||||||
|
#undef HAVE___MINGW_GET_CRT_INFO
|
||||||
|
|
||||||
|
/* Define as const if the declaration of iconv() needs const. */
|
||||||
|
#define ICONV_CONST
|
||||||
|
|
||||||
|
/* Define if integer division by zero raises signal SIGFPE. */
|
||||||
|
#undef INTDIV0_RAISES_SIGFPE
|
||||||
|
|
||||||
|
/* Define on little-endian platforms. */
|
||||||
|
#define LSB_FIRST 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with expensive Mednafen developer features
|
||||||
|
enabled. */
|
||||||
|
#undef MDFN_ENABLE_DEV_BUILD
|
||||||
|
|
||||||
|
/* Mednafen version definition. */
|
||||||
|
#define MEDNAFEN_VERSION "1.24.3"
|
||||||
|
|
||||||
|
/* Mednafen version numeric. */
|
||||||
|
#define MEDNAFEN_VERSION_NUMERIC 0x00102403
|
||||||
|
|
||||||
|
/* Define if config.h is present */
|
||||||
|
#undef MINILZO_HAVE_CONFIG_H
|
||||||
|
|
||||||
|
/* Define if mkdir takes only one argument. */
|
||||||
|
#undef MKDIR_TAKES_ONE_ARG
|
||||||
|
|
||||||
|
/* Define to use fixed-point MPC decoder. */
|
||||||
|
#undef MPC_FIXED_POINT
|
||||||
|
|
||||||
|
/* Define on big-endian platforms. */
|
||||||
|
#undef MSB_FIRST
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
|
||||||
|
#undef PRI_MACROS_BROKEN
|
||||||
|
|
||||||
|
/* Defines the filesystem path-separator type. */
|
||||||
|
#define PSS_STYLE 1
|
||||||
|
|
||||||
|
/* Define to CPU set type if we are compiling with pthreads affinity setting
|
||||||
|
support. */
|
||||||
|
#undef PTHREAD_AFFINITY_NP
|
||||||
|
|
||||||
|
/* Define if the pthread_in_use() detection is hard. */
|
||||||
|
#undef PTHREAD_IN_USE_DETECTION_HARD
|
||||||
|
|
||||||
|
/* The size of `char', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_CHAR
|
||||||
|
|
||||||
|
/* The size of `int', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_INT
|
||||||
|
|
||||||
|
/* The size of `long', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_LONG
|
||||||
|
|
||||||
|
/* The size of `long long', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_LONG_LONG
|
||||||
|
|
||||||
|
/* The size of `off_t', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_OFF_T
|
||||||
|
|
||||||
|
/* The size of `ptrdiff_t', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_PTRDIFF_T
|
||||||
|
|
||||||
|
/* The size of `short', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_SHORT
|
||||||
|
|
||||||
|
/* The size of `size_t', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_SIZE_T
|
||||||
|
|
||||||
|
/* The size of `void *', as computed by sizeof. */
|
||||||
|
#undef SIZEOF_VOID_P
|
||||||
|
|
||||||
|
/* The size of `__int64', as computed by sizeof. */
|
||||||
|
#undef SIZEOF___INT64
|
||||||
|
|
||||||
|
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||||
|
it. */
|
||||||
|
#ifndef SIZE_MAX
|
||||||
|
# undef SIZE_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* If using the C implementation of alloca, define if you know the
|
||||||
|
direction of stack growth for your system; otherwise it will be
|
||||||
|
automatically deduced at runtime.
|
||||||
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||||
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||||
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||||
|
#undef STACK_DIRECTION
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
|
/* Define if the POSIX multithreading library can be used. */
|
||||||
|
#undef USE_POSIX_THREADS
|
||||||
|
|
||||||
|
/* Define if references to the POSIX multithreading library should be made
|
||||||
|
weak. */
|
||||||
|
#undef USE_POSIX_THREADS_WEAK
|
||||||
|
|
||||||
|
/* Define if the GNU Pth multithreading library can be used. */
|
||||||
|
#undef USE_PTH_THREADS
|
||||||
|
|
||||||
|
/* Define if references to the GNU Pth multithreading library should be made
|
||||||
|
weak. */
|
||||||
|
#undef USE_PTH_THREADS_WEAK
|
||||||
|
|
||||||
|
/* Define if the old Solaris multithreading library can be used. */
|
||||||
|
#undef USE_SOLARIS_THREADS
|
||||||
|
|
||||||
|
/* Define if references to the old Solaris multithreading library should be
|
||||||
|
made weak. */
|
||||||
|
#undef USE_SOLARIS_THREADS_WEAK
|
||||||
|
|
||||||
|
/* Enable extensions on AIX 3, Interix. */
|
||||||
|
#ifndef _ALL_SOURCE
|
||||||
|
# undef _ALL_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable GNU extensions on systems that have them. */
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
# define _GNU_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable threading extensions on Solaris. */
|
||||||
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||||
|
# undef _POSIX_PTHREAD_SEMANTICS
|
||||||
|
#endif
|
||||||
|
/* Enable extensions on HP NonStop. */
|
||||||
|
#ifndef _TANDEM_SOURCE
|
||||||
|
# undef _TANDEM_SOURCE
|
||||||
|
#endif
|
||||||
|
/* Enable general extensions on Solaris. */
|
||||||
|
#ifndef __EXTENSIONS__
|
||||||
|
# undef __EXTENSIONS__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Define if the Win32 multithreading API can be used. */
|
||||||
|
#undef USE_WIN32_THREADS
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Define if we are compiling with Apple II+ emulation. */
|
||||||
|
#undef WANT_APPLE2_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with debugger. */
|
||||||
|
#undef WANT_DEBUGGER
|
||||||
|
|
||||||
|
/* Define if we are compiling with with fancy CPU-intensive software video
|
||||||
|
scalers. */
|
||||||
|
#undef WANT_FANCY_SCALERS
|
||||||
|
|
||||||
|
/* Define if we are compiling with GBA emulation. */
|
||||||
|
#undef WANT_GBA_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with GB emulation. */
|
||||||
|
#undef WANT_GB_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with internal CJK fonts. */
|
||||||
|
#undef WANT_INTERNAL_CJK
|
||||||
|
|
||||||
|
/* Define if we are compiling with Lynx emulation. */
|
||||||
|
#define WANT_LYNX_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with Sega Genesis/MegaDrive emulation. */
|
||||||
|
#undef WANT_MD_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with NES emulation. */
|
||||||
|
#undef WANT_NES_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with NGP emulation. */
|
||||||
|
#define WANT_NGP_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with PCE emulation. */
|
||||||
|
#define WANT_PCE_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with separate fast PCE emulation. */
|
||||||
|
#undef WANT_PCE_FAST_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with PC-FX emulation. */
|
||||||
|
#define WANT_PCFX_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with PlayStation emulation. */
|
||||||
|
#define WANT_PSX_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with SMS+GG emulation. */
|
||||||
|
#define WANT_SMS_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with SNES emulation. */
|
||||||
|
#undef WANT_SNES_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with experimental fast SNES emulation. */
|
||||||
|
#undef WANT_SNES_FAUST_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with SSF playback support. */
|
||||||
|
#undef WANT_SSFPLAY_EMU
|
||||||
|
|
||||||
|
/* Define if we are compiling with Sega Saturn emulation. */
|
||||||
|
#define WANT_SS_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with Virtual Boy emulation. */
|
||||||
|
#define WANT_VB_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling with WonderSwan emulation. */
|
||||||
|
#define WANT_WSWAN_EMU 1
|
||||||
|
|
||||||
|
/* Define if we are compiling for Win32. */
|
||||||
|
#undef WIN32
|
||||||
|
|
||||||
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||||
|
# if defined __BIG_ENDIAN__
|
||||||
|
# define WORDS_BIGENDIAN 1
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# ifndef WORDS_BIGENDIAN
|
||||||
|
# undef WORDS_BIGENDIAN
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||||
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||||
|
# define _DARWIN_USE_64_BIT_INODE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
|
#undef _FILE_OFFSET_BITS
|
||||||
|
|
||||||
|
/* Define for largefile support through extra functions. */
|
||||||
|
#undef _LARGEFILE64_SOURCE
|
||||||
|
|
||||||
|
/* Define for fseeko and ftello on some hosts. */
|
||||||
|
#undef _LARGEFILE_SOURCE
|
||||||
|
|
||||||
|
/* Define for large files, on AIX-style hosts. */
|
||||||
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
|
/* Define to 1 if on MINIX. */
|
||||||
|
#undef _MINIX
|
||||||
|
|
||||||
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||||
|
this defined. */
|
||||||
|
#undef _POSIX_1_SOURCE
|
||||||
|
|
||||||
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||||
|
#undef _POSIX_SOURCE
|
||||||
|
|
||||||
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
|
#undef const
|
||||||
|
|
||||||
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||||
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#undef inline
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Define as the type of the result of subtracting two pointers, if the system
|
||||||
|
doesn't define it. */
|
||||||
|
#undef ptrdiff_t
|
||||||
|
|
||||||
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
|
#undef size_t
|
||||||
|
|
||||||
|
/* Define to unsigned long or unsigned long long if <stdint.h> and
|
||||||
|
<inttypes.h> don't define. */
|
||||||
|
#undef uintmax_t
|
||||||
|
|
||||||
|
|
||||||
|
#define __libc_lock_t gl_lock_t
|
||||||
|
#define __libc_lock_define gl_lock_define
|
||||||
|
#define __libc_lock_define_initialized gl_lock_define_initialized
|
||||||
|
#define __libc_lock_init gl_lock_init
|
||||||
|
#define __libc_lock_lock gl_lock_lock
|
||||||
|
#define __libc_lock_unlock gl_lock_unlock
|
||||||
|
#define __libc_lock_recursive_t gl_recursive_lock_t
|
||||||
|
#define __libc_lock_define_recursive gl_recursive_lock_define
|
||||||
|
#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
|
||||||
|
#define __libc_lock_init_recursive gl_recursive_lock_init
|
||||||
|
#define __libc_lock_lock_recursive gl_recursive_lock_lock
|
||||||
|
#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
|
||||||
|
#define glthread_in_use libintl_thread_in_use
|
||||||
|
#define glthread_lock_init_func libintl_lock_init_func
|
||||||
|
#define glthread_lock_lock_func libintl_lock_lock_func
|
||||||
|
#define glthread_lock_unlock_func libintl_lock_unlock_func
|
||||||
|
#define glthread_lock_destroy_func libintl_lock_destroy_func
|
||||||
|
#define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded
|
||||||
|
#define glthread_rwlock_init_func libintl_rwlock_init_func
|
||||||
|
#define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded
|
||||||
|
#define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func
|
||||||
|
#define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded
|
||||||
|
#define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func
|
||||||
|
#define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded
|
||||||
|
#define glthread_rwlock_unlock_func libintl_rwlock_unlock_func
|
||||||
|
#define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded
|
||||||
|
#define glthread_rwlock_destroy_func libintl_rwlock_destroy_func
|
||||||
|
#define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded
|
||||||
|
#define glthread_recursive_lock_init_func libintl_recursive_lock_init_func
|
||||||
|
#define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded
|
||||||
|
#define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func
|
||||||
|
#define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded
|
||||||
|
#define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func
|
||||||
|
#define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded
|
||||||
|
#define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func
|
||||||
|
#define glthread_once_func libintl_once_func
|
||||||
|
#define glthread_once_singlethreaded libintl_once_singlethreaded
|
||||||
|
#define glthread_once_multithreaded libintl_once_multithreaded
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
#include <mednafen/minilzo/_minilzo.h>
|
|
@ -0,0 +1 @@
|
||||||
|
#include <trio.h>
|
|
@ -0,0 +1 @@
|
||||||
|
#include <triodef.h>
|
|
@ -0,0 +1 @@
|
||||||
|
#include <trionan.h>
|
|
@ -0,0 +1 @@
|
||||||
|
#include <triop.h>
|
|
@ -0,0 +1 @@
|
||||||
|
#include <triostr.h>
|
|
@ -0,0 +1,7 @@
|
||||||
|
include common.mak
|
||||||
|
|
||||||
|
SRCS += \
|
||||||
|
$(call cppdir,ngp) \
|
||||||
|
$(call cppdir,hw_cpu/z80-fuse)
|
||||||
|
|
||||||
|
include ../common.mak
|
|
@ -0,0 +1,7 @@
|
||||||
|
include common.mak
|
||||||
|
|
||||||
|
SRCS += \
|
||||||
|
$(filter-out %debug.cpp,$(call cppdir,vb)) \
|
||||||
|
$(call cppdir,hw_cpu/v810)
|
||||||
|
|
||||||
|
include ../common.mak
|
|
@ -1,4 +1,4 @@
|
||||||
CCFLAGS:= \
|
CXXFLAGS := \
|
||||||
-Wall -Werror=int-to-pointer-cast \
|
-Wall -Werror=int-to-pointer-cast \
|
||||||
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
||||||
-DLSB_FIRST
|
-DLSB_FIRST
|
||||||
|
|
|
@ -6,7 +6,7 @@ CCFLAGS := $(FLAGS) \
|
||||||
-std=gnu99 \
|
-std=gnu99 \
|
||||||
-DLSB_FIRST -D_GNU_SOURCE -DGB_INTERNAL
|
-DLSB_FIRST -D_GNU_SOURCE -DGB_INTERNAL
|
||||||
|
|
||||||
CPPFLAGS := $(FLAGS) -DSPC_NO_COPY_STATE_FUNCS -std=c++0x -D_GNU_SOURCE -DGB_INTERNAL
|
CXXFLAGS := $(FLAGS) -DSPC_NO_COPY_STATE_FUNCS -std=c++0x -D_GNU_SOURCE -DGB_INTERNAL
|
||||||
|
|
||||||
TARGET := sameboy.wbx
|
TARGET := sameboy.wbx
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a261d2a22b2fefb4b7eab633a2d5fd7d691ce890
|
Subproject commit 410cf7bafec3895d88c085115d22d6c13e754033
|
|
@ -1,4 +1,4 @@
|
||||||
CCFLAGS:= \
|
CXXFLAGS := \
|
||||||
-Wall -Werror=int-to-pointer-cast \
|
-Wall -Werror=int-to-pointer-cast \
|
||||||
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
||||||
-DLSB_FIRST
|
-DLSB_FIRST
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CCFLAGS := \
|
CXXFLAGS := \
|
||||||
-Wall -Werror=int-to-pointer-cast \
|
-Wall -Werror=int-to-pointer-cast \
|
||||||
-Wno-reorder \
|
-Wno-reorder \
|
||||||
-std=c++0x -fomit-frame-pointer \
|
-std=c++0x -fomit-frame-pointer \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CCFLAGS:= -I. \
|
CXXFLAGS := -I. \
|
||||||
-Wall -Werror=int-to-pointer-cast \
|
-Wall -Werror=int-to-pointer-cast \
|
||||||
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
-std=c++0x -fomit-frame-pointer -fno-exceptions -fno-rtti \
|
||||||
-DLSB_FIRST
|
-DLSB_FIRST
|
||||||
|
|
Loading…
Reference in New Issue