mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-26 17:40:40 +00:00
Add GCW Zero target
This commit is contained in:
parent
1ce0cc74c1
commit
26850a7cd8
10
Makefile
10
Makefile
@ -218,6 +218,16 @@ else ifneq (,$(findstring hardfloat,$(platform)))
|
||||
FLAGS += -mfloat-abi=hard
|
||||
endif
|
||||
FLAGS += -DARM
|
||||
else ifeq ($(platform), gcw0)
|
||||
TARGET := $(TARGET_NAME).so
|
||||
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
|
||||
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
|
||||
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||
LDFLAGS += $(PTHREAD_FLAGS) -lrt
|
||||
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
|
||||
FLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
|
||||
else
|
||||
TARGET := $(TARGET_NAME).dll
|
||||
CC = gcc
|
||||
|
@ -41,7 +41,7 @@ class MDFNFILE
|
||||
int read32le(uint32 *Bufo);
|
||||
int read16le(uint16 *Bufo);
|
||||
|
||||
inline int fgetc(void)
|
||||
inline int _fgetc(void)
|
||||
{
|
||||
if(location < f_size)
|
||||
return f_data[location++];
|
||||
|
Loading…
Reference in New Issue
Block a user