libretro-fceumm: Update to 20190106 Changes: * FDS: Fix pointers are not freed when closing rom * update FDS to use retro_get_memory_data/size for handling modified disks * FDS: Fix IRQ timing * state.c: minor update and try to fix big-endian save state issues. * Updates the apu pulse' sweep unit based on latest sources * fix irq inhibit flag on frame counter * fix Dragon Warrior 4 not starting after irq inhibit flag is fixed * fix typo in dmc irq * pulse channel, now clocks the length counters when silenced (backport from mednafen-nes) * minor pulse channel fixes/clean up * fixes crash, audio states and comments * Remove space in core option * C89 compliance * Add on/off toggle for NES apu channels - backported from FCEUX. Enabled when only compiled with DEBUG=1. * Fix runahead audio issues in high/very high quality * Fix missing sound state variables for some mappers with expansion audio * Minor cleanup and libretro.h update * An additional check is added to RETRO_MEMORY_SAVE_RAM in some cases where a rom has a battery flag enabled while the mapper assumes it does not. This causes libretro to initialize an unallocated RAM causing errors at startup. A check to see if the save ram pointer exist and if the size is not empty. Adding these checks would also allow libretro to not create a blank .srm file in some cases. Issue originally is from MMC5. * 9d9c480, Add core option: RAM power up state * e07255c , Remove redundant memset() calls * palette:Labeling and index changes * Fix autodetection of NES controllers * Update input settings, allow multi-player without matching CRC * Use lightgun API for Zapper.diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/Makefile
(nia)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2018/08/08 20:56:20 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2019/02/01 09:53:20 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= libretro-fceumm-20180621 | 3 | DISTNAME= libretro-fceumm-20190106 | |
4 | CATEGORIES= emulators | 4 | CATEGORIES= emulators | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/} | |
6 | GITHUB_TAG= 67c072617b700560acbfea54f2779cb290dbf827 | 6 | GITHUB_TAG= 3efe223f135e2da1bd04909b30cf480fa62fe9d4 | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://docs.libretro.com/library/fceumm/ | 9 | HOMEPAGE= https://docs.libretro.com/library/fceumm/ | |
10 | COMMENT= Libretro core based on the FCEUmm Famicom/NES emulator | 10 | COMMENT= Libretro core based on the FCEUmm Famicom/NES emulator | |
11 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
12 | 12 | |||
13 | EXTRACT_USING= bsdtar | 13 | EXTRACT_USING= bsdtar | |
14 | MAKE_FILE= Makefile.libretro | 14 | MAKE_FILE= Makefile.libretro | |
15 | USE_TOOLS+= gmake | 15 | USE_TOOLS+= gmake | |
16 | 16 | |||
17 | MAKE_FLAGS+= GIT_VERSION="-pkgsrc" | 17 | MAKE_FLAGS+= GIT_VERSION="-pkgsrc" | |
18 | 18 | |||
19 | .include "../../mk/endian.mk" | 19 | .include "../../mk/endian.mk" |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2018/08/08 20:52:33 nia Exp $ | 1 | $NetBSD: distinfo,v 1.4 2019/02/01 09:53:20 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 59aa12c463d346db5ae46f4fa300d30800680508 | 3 | SHA1 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 15c5bff08b5291725df2c4cf515a5f7bb936a185 | |
4 | RMD160 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = ee7fc2ba1f29738c583920d71898b59400e6db13 | 4 | RMD160 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 60e0b4f9385253ebf12788e28731354b0bf64097 | |
5 | SHA512 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 55526c2269b2dd77e1c860eb00c8aa75106bc585f99ce8102eccad7ccb272a517643e4076a52413281749d62afdf5af29ff1a03e2ebbb9eea36acac24c0584f8 | 5 | SHA512 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 5c5402c75148671f5a3e3d36f14502b548ad145297b6b71c763be5ff457cb930e7ce7fd5d0635f52235492a4c9c6966ee78e5e1f063dbd0e4da9a05f1552433b | |
6 | Size (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 392820 bytes | 6 | Size (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 400855 bytes | |
7 | SHA1 (patch-Makefile.libretro) = c031f3ee2e6564ff82ffaf01406316e6009826a8 |
$NetBSD: patch-Makefile.libretro,v 1.1 2019/02/01 09:53:20 nia Exp $
Don't override the compiler setting on SunOS.
--- Makefile.libretro.orig 2019-01-06 03:54:26.000000000 +0000
+++ Makefile.libretro
@@ -65,7 +65,6 @@ ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
ifneq ($(findstring SunOS,$(shell uname -a)),)
- CC = gcc
SHARED := -shared -z defs
else
SHARED := -shared -Wl,--version-script=src/drivers/libretro/link.T -Wl,-no-undefined