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 unified 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,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
3DISTNAME= libretro-fceumm-20180621 3DISTNAME= libretro-fceumm-20190106
4CATEGORIES= emulators 4CATEGORIES= emulators
5MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
6GITHUB_TAG= 67c072617b700560acbfea54f2779cb290dbf827 6GITHUB_TAG= 3efe223f135e2da1bd04909b30cf480fa62fe9d4
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://docs.libretro.com/library/fceumm/ 9HOMEPAGE= https://docs.libretro.com/library/fceumm/
10COMMENT= Libretro core based on the FCEUmm Famicom/NES emulator 10COMMENT= Libretro core based on the FCEUmm Famicom/NES emulator
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13EXTRACT_USING= bsdtar 13EXTRACT_USING= bsdtar
14MAKE_FILE= Makefile.libretro 14MAKE_FILE= Makefile.libretro
15USE_TOOLS+= gmake 15USE_TOOLS+= gmake
16 16
17MAKE_FLAGS+= GIT_VERSION="-pkgsrc" 17MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
18 18
19.include "../../mk/endian.mk" 19.include "../../mk/endian.mk"

cvs diff -r1.3 -r1.4 pkgsrc/emulators/libretro-fceumm/distinfo (expand / switch to unified 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 @@ @@ -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
3SHA1 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 59aa12c463d346db5ae46f4fa300d30800680508 3SHA1 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 15c5bff08b5291725df2c4cf515a5f7bb936a185
4RMD160 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = ee7fc2ba1f29738c583920d71898b59400e6db13 4RMD160 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 60e0b4f9385253ebf12788e28731354b0bf64097
5SHA512 (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 55526c2269b2dd77e1c860eb00c8aa75106bc585f99ce8102eccad7ccb272a517643e4076a52413281749d62afdf5af29ff1a03e2ebbb9eea36acac24c0584f8 5SHA512 (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 5c5402c75148671f5a3e3d36f14502b548ad145297b6b71c763be5ff457cb930e7ce7fd5d0635f52235492a4c9c6966ee78e5e1f063dbd0e4da9a05f1552433b
6Size (libretro-fceumm-20180621-67c072617b700560acbfea54f2779cb290dbf827.tar.gz) = 392820 bytes 6Size (libretro-fceumm-20190106-3efe223f135e2da1bd04909b30cf480fa62fe9d4.tar.gz) = 400855 bytes
 7SHA1 (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