mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
Update target names
This commit is contained in:
parent
5d03f645ea
commit
53104c2a29
@ -31,56 +31,56 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
TARGET := libretro.so
|
TARGET := genesis_plus_gx_libretro.so
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
|
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
else ifeq ($(platform), osx)
|
else ifeq ($(platform), osx)
|
||||||
TARGET := libretro.dylib
|
TARGET := genesis_plus_gx_libretro.dylib
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -dynamiclib -lz
|
SHARED := -dynamiclib -lz
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
PLATFORM_DEFINES := -DHAVE_ZLIB
|
PLATFORM_DEFINES := -DHAVE_ZLIB
|
||||||
else ifeq ($(platform), sncps3)
|
else ifeq ($(platform), sncps3)
|
||||||
TARGET := libretro_ps3.a
|
TARGET := genesis_plus_gx_libretro_ps3.a
|
||||||
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
|
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
|
||||||
AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
|
AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
|
||||||
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
||||||
else ifeq ($(platform), ps3)
|
else ifeq ($(platform), ps3)
|
||||||
TARGET := libretro_ps3.a
|
TARGET := genesis_plus_gx_libretro_ps3.a
|
||||||
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
|
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
|
||||||
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
|
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
|
||||||
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
||||||
else ifeq ($(platform), psl1ght)
|
else ifeq ($(platform), psl1ght)
|
||||||
TARGET := libretro_psl1ght.a$(EXE_EXT)
|
TARGET := genesis_plus_gx_libretro_psl1ght.a$(EXE_EXT)
|
||||||
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
|
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
|
||||||
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
|
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
|
||||||
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER
|
||||||
else ifeq ($(platform), psp1)
|
else ifeq ($(platform), psp1)
|
||||||
TARGET := libretro_psp1.a$(EXE_EXT)
|
TARGET := genesis_plus_gx_libretro_psp1.a$(EXE_EXT)
|
||||||
CC = psp-gcc$(EXE_EXT)
|
CC = psp-gcc$(EXE_EXT)
|
||||||
AR = psp-ar$(EXE_EXT)
|
AR = psp-ar$(EXE_EXT)
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
PLATFORM_DEFINES := -DPSP
|
PLATFORM_DEFINES := -DPSP
|
||||||
CFLAGS += -G0
|
CFLAGS += -G0
|
||||||
else ifeq ($(platform), xenon)
|
else ifeq ($(platform), xenon)
|
||||||
TARGET := libretro_xenon360.a
|
TARGET := genesis_plus_gx_libretro_xenon360.a
|
||||||
CC = xenon-gcc$(EXE_EXT)
|
CC = xenon-gcc$(EXE_EXT)
|
||||||
AR = xenon-ar$(EXE_EXT)
|
AR = xenon-ar$(EXE_EXT)
|
||||||
PLATFORM_DEFINES := -D__LIBXENON__ -DALT_RENDER
|
PLATFORM_DEFINES := -D__LIBXENON__ -DALT_RENDER
|
||||||
else ifeq ($(platform), ngc)
|
else ifeq ($(platform), ngc)
|
||||||
TARGET := libretro_ngc.a
|
TARGET := genesis_plus_gx_libretro_ngc.a
|
||||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
||||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||||
PLATFORM_DEFINES := -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
|
PLATFORM_DEFINES := -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
|
||||||
else ifeq ($(platform), wii)
|
else ifeq ($(platform), wii)
|
||||||
TARGET := libretro_wii.a
|
TARGET := genesis_plus_gx_libretro_wii.a
|
||||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
||||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||||
PLATFORM_DEFINES := -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
|
PLATFORM_DEFINES := -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
|
||||||
else
|
else
|
||||||
TARGET := retro.dll
|
TARGET := genesis_plus_gx_retro.dll
|
||||||
CC = gcc
|
CC = gcc
|
||||||
SHARED := -shared -static-libgcc -static-libstdc++ -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
|
SHARED := -shared -static-libgcc -static-libstdc++ -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
|
||||||
|
|
||||||
|
@ -829,7 +829,7 @@ static bool LoadFile(char * filename)
|
|||||||
if (!size)
|
if (!size)
|
||||||
{
|
{
|
||||||
/* close CD tray to force system reset */
|
/* close CD tray to force system reset */
|
||||||
cdd.status = CD_STOP;
|
cdd.status = NO_DISC;
|
||||||
|
|
||||||
/* load game file */
|
/* load game file */
|
||||||
size = load_rom(filename);
|
size = load_rom(filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user