libretro/fceumm: port of FCE Ultra mappers modified

NES emulator core for libretro.

Ref #52
This commit is contained in:
Emery Hemingway
2016-12-02 13:49:11 +01:00
committed by Norman Feske
parent f3e052f65f
commit 695a411f19
4 changed files with 45 additions and 0 deletions

28
lib/mk/fceumm_libretro.mk Normal file
View File

@@ -0,0 +1,28 @@
LIBS = libretro libc libm stdcxx zlib
SHARED_LIB = yes
CC_OPT += \
-O3 -D__LIBRETRO__ -DSOUND_QUALITY=0 -DPATH_MAX=1024 -DINLINE=inline -DPSS_STYLE=1 -DFCEU_VERSION_NUMERIC=9813 -DFRONTEND_SUPPORTS_RGB565 -DHAVE_ASPRINTF
CORE_DIR := $(call select_from_ports,fceumm-libretro)/src/libretro/fceumm/src
-include $(CORE_DIR)/../Makefile.common
INC_DIR += \
$(CORE_DIR)/drivers/libretro \
$(CORE_DIR) \
$(CORE_DIR)/input \
$(CORE_DIR)/boards \
$(CORE_DIR)/mappers
SRC_CC := $(notdir $(SOURCES_CXX))
SRC_C := $(notdir $(SOURCES_C))
vpath %.c $(CORE_DIR)
vpath %.c $(CORE_DIR)/boards
vpath %.c $(CORE_DIR)/drivers/libretro
vpath %.c $(CORE_DIR)/drivers/libretro/libretro-common/streams
vpath %.c $(CORE_DIR)/input
vpath %.c $(CORE_DIR)/mappers

View File

@@ -0,0 +1 @@
a89e9e6d0c52d83075f2a81a99751d22e3e238c2

View File

@@ -0,0 +1,11 @@
LICENSE := GPL2
VERSION := dev
DOWNLOADS := fceumm.archive
OWNER := libretro
REPO := libretro-fceumm
REV := 72e74d6fcc4f3173f5b3826e984d431fb39ae147
URL(fceumm) := https://github.com/$(OWNER)/$(REPO)/archive/$(REV).tar.gz
SHA(fceumm) := d13cd6996ce545def86c9f45025159ac23298ddb
DIR(fceumm) := src/libretro/fceumm

View File

@@ -0,0 +1,5 @@
TARGET = fceumm
LIBS = fceumm_libretro
SRC_CC = main.cc
vpath %.cc $(call select_from_repositories,src/test/libports)