libretro/snes9x: port of Snes9x
SNES emulator core for libretro. http://www.snes9x.com/ Ref #52
This commit is contained in:
committed by
Norman Feske
parent
8f8b71248d
commit
54b0e1b23c
21
lib/mk/snes9x_libretro.mk
Normal file
21
lib/mk/snes9x_libretro.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
LIBS = libretro libc libm stdcxx
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
CC_OPT += \
|
||||
-fno-rtti -pedantic \
|
||||
-DHAVE_STRINGS_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ \
|
||||
-O3 -DNDEBUG
|
||||
|
||||
CORE_DIR := $(call select_from_ports,snes9x-libretro)/src/libretro/snes9x
|
||||
-include $(CORE_DIR)/libretro/Makefile.common
|
||||
|
||||
INC_DIR += $(CORE_DIR)/libretro $(CORE_DIR) $(CORE_DIR)/apu/ $(CORE_DIR)/apu/bapu
|
||||
|
||||
SRC_CC := $(notdir $(SOURCES_CXX))
|
||||
|
||||
vpath %.cpp $(CORE_DIR)/apu
|
||||
vpath %.cpp $(CORE_DIR)/apu/bapu/dsp
|
||||
vpath %.cpp $(CORE_DIR)/apu/bapu/smp
|
||||
vpath %.cpp $(CORE_DIR)/libretro
|
||||
vpath %.cpp $(CORE_DIR)
|
||||
1
ports/snes9x-libretro.hash
Normal file
1
ports/snes9x-libretro.hash
Normal file
@@ -0,0 +1 @@
|
||||
112e02d21246ae41ca3b32f9e1c461727f7fce50
|
||||
10
ports/snes9x-libretro.port
Normal file
10
ports/snes9x-libretro.port
Normal file
@@ -0,0 +1,10 @@
|
||||
LICENSE := GPL3
|
||||
VERSION := dev
|
||||
DOWNLOADS := snes9x-libretro.archive
|
||||
|
||||
OWNER := libretro
|
||||
REPO := snes9x
|
||||
REV := f29f7b48b7548a88540a2d01683c37b1b55a74a2
|
||||
URL(snes9x-libretro) := https://github.com/$(OWNER)/$(REPO)/archive/$(REV).tar.gz
|
||||
SHA(snes9x-libretro) := afd9f9a3cae367207210caf619f3b449e4d9f70f
|
||||
DIR(snes9x-libretro) := src/libretro/snes9x
|
||||
5
src/libretro/snes9x/target.mk
Normal file
5
src/libretro/snes9x/target.mk
Normal file
@@ -0,0 +1,5 @@
|
||||
TARGET = snes9x
|
||||
LIBS = snes9x_libretro
|
||||
SRC_CC = main.cc
|
||||
|
||||
vpath %.cc $(call select_from_repositories,src/test/libports)
|
||||
Reference in New Issue
Block a user