mirror of
https://github.com/libretro/beetle-wswan-libretro.git
synced 2024-11-23 07:59:40 +00:00
Add gcw0 target
This commit is contained in:
parent
83a8a54962
commit
5370914961
10
Makefile
10
Makefile
@ -229,6 +229,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)
|
||||
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