Fri Feb 1 09:53:21 2019 UTC ()
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.


(nia)
diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/Makefile
diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/distinfo
diff -r0 -r1.1 pkgsrc/emulators/libretro-fceumm/patches/patch-Makefile.libretro

cvs diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/Makefile (expand / switch to context diff)
--- pkgsrc/emulators/libretro-fceumm/Makefile 2018/08/08 20:56:20 1.3
+++ pkgsrc/emulators/libretro-fceumm/Makefile 2019/02/01 09:53:20 1.4
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2018/08/08 20:56:20 nia Exp $
+# $NetBSD: Makefile,v 1.4 2019/02/01 09:53:20 nia Exp $
 
-DISTNAME=	libretro-fceumm-20180621
+DISTNAME=	libretro-fceumm-20190106
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=libretro/}
-GITHUB_TAG=	67c072617b700560acbfea54f2779cb290dbf827
+GITHUB_TAG=	3efe223f135e2da1bd04909b30cf480fa62fe9d4
 
 MAINTAINER=	pkgsrc-users@NetBSD.org
 HOMEPAGE=	https://docs.libretro.com/library/fceumm/

cvs diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/distinfo (expand / switch to context diff)
--- pkgsrc/emulators/libretro-fceumm/distinfo 2018/08/08 20:52:33 1.3
+++ pkgsrc/emulators/libretro-fceumm/distinfo 2019/02/01 09:53:20 1.4
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/08/08 20:52:33 nia Exp $
+$NetBSD: distinfo,v 1.4 2019/02/01 09:53:20 nia Exp $
 
-SHA1 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 59aa12c463d346db5ae46f4fa300d30800680508
+SHA1 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 15c5bff08b5291725df2c4cf515a5f7bb936a185
-RMD160 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = ee7fc2ba1f29738c583920d71898b59400e6db13
+RMD160 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 60e0b4f9385253ebf12788e28731354b0bf64097
-SHA512 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 55526c2269b2dd77e1c860eb00c8aa75106bc585f99ce8102eccad7ccb272a517643e4076a52413281749d62afdf5af29ff1a03e2ebbb9eea36acac24c0584f8
+SHA512 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 5c5402c75148671f5a3e3d36f14502b548ad145297b6b71c763be5ff457cb930e7ce7fd5d0635f52235492a4c9c6966ee78e5e1f063dbd0e4da9a05f1552433b
-Size (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 392820 bytes
+Size (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 400855 bytes
+SHA1 (patch-Makefile.libretro) = c031f3ee2e6564ff82ffaf01406316e6009826a8

File Added: pkgsrc/emulators/libretro-fceumm/patches/Attic/patch-Makefile.libretro
$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