pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libretro-nestopia: Update to 1.48



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Wed Sep 6 13:27:40 2017 +0100
Changeset:	a9448d7cffd066944e39bb069e9748ca393b3255

Modified Files:
	libretro-nestopia/DESCR
	libretro-nestopia/Makefile
	libretro-nestopia/distinfo
	libretro-nestopia/patches/patch-libretro_libretro.cpp

Log Message:
libretro-nestopia: Update to 1.48

libretro changes:

 Additions:
  - Added ability to load custom palettes
  - Added many palettes (Monroe88)
  - Added monochrome blargg NTSC filter (dalter)
  - Added Turbo A/B buttons

Core changes:

 Additions:
  - RAM Power-on State setting
  - Support for mapper 23.10

 Fixes:
  - VRC2 Mirroring bug (koitsu, lidnariq)
  - Dendy timing and audio fixes (FHorse, Eugene.S)
  - Removed unused code in APU
  - Properly initialize RAM - fixes F-1 Race (koitsu)
  - Silenced many build warnings (orbea)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a9448d7cffd066944e39bb069e9748ca393b3255

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libretro-nestopia/DESCR                            | 20 ++++++++-----
 libretro-nestopia/Makefile                         |  2 +-
 libretro-nestopia/distinfo                         | 10 +++----
 .../patches/patch-libretro_libretro.cpp            | 35 +++++++++++++++++-----
 4 files changed, 47 insertions(+), 20 deletions(-)

diffs:
diff --git a/libretro-nestopia/DESCR b/libretro-nestopia/DESCR
index 886413ab94..1cb62dc5cd 100644
--- a/libretro-nestopia/DESCR
+++ b/libretro-nestopia/DESCR
@@ -1,8 +1,14 @@
-Libretro is a simple but powerful development interface that allows for the
-easy creation of emulators, games and multimedia applications that can plug
-straight into any libretro-compatible frontend. This development interface is
-open to others so that they can run these pluggable emulator and game cores
-also in their own programs or devices.
+Libretro is a simple but powerful development interface that allows for
+the easy creation of emulators, games and multimedia applications that
+can plug straight into any libretro-compatible frontend. This development
+interface is open to others so that they can run these pluggable emulator
+and game cores also in their own programs or devices.
 
-This core is based on the Nestopia UE (Undead Edition) Nintendo Entertainment
-System emulator.
+Nestopia is a portable and cycle-accurate NES (Nintendo Entertainment
+System) and Famicom emulator written in C++. Nestopia UE (Undead Edition)
+is a fork of the original source code, with enhancements from members
+of the emulation community. This includes support for new platforms,
+and bug fixes in the emulator core.
+
+It can emulate a Famicom Disk System, which requires the DISKSYS.ROM BIOS
+file to be placed in the RetroArch system directory or content directory.
diff --git a/libretro-nestopia/Makefile b/libretro-nestopia/Makefile
index 9a9ce52d02..95e50ec887 100644
--- a/libretro-nestopia/Makefile
+++ b/libretro-nestopia/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1 2015/04/10 03:16:17 snj Exp $
 
-DISTNAME=	libretro-nestopia-1.47
+DISTNAME=	libretro-nestopia-1.48
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_GITHUB:=rdanbrook/}
 
diff --git a/libretro-nestopia/distinfo b/libretro-nestopia/distinfo
index 8a500a532d..e287910138 100644
--- a/libretro-nestopia/distinfo
+++ b/libretro-nestopia/distinfo
@@ -1,7 +1,7 @@
 $NetBSD$
 
-SHA1 (libretro-nestopia-1.47.tar.gz) = 1ef4aacf21ae96843276a346d05e7e389c3feb58
-RMD160 (libretro-nestopia-1.47.tar.gz) = 3b4d174f7b5f99ee672414931ed92f28b79debd5
-SHA512 (libretro-nestopia-1.47.tar.gz) = 6a0a099eaa65c36e4ed49f09e41870440c4f2f3d95db63d76fd10c418b9c1ba50173e56d47c23bc5734298b9e47ac81bbea5e56eecbf615192b36c481c1daca7
-Size (libretro-nestopia-1.47.tar.gz) = 1271675 bytes
-SHA1 (patch-libretro_libretro.cpp) = 0ff3fffed20aa36affbeac44dd84429627744eb3
+SHA1 (libretro-nestopia-1.48.tar.gz) = 5e1938241cdac92bae05fb68ba950ba045b934aa
+RMD160 (libretro-nestopia-1.48.tar.gz) = 4d3e8bc0b4b79883ca9d8b7601c6086a348c07f4
+SHA512 (libretro-nestopia-1.48.tar.gz) = 3b873c6fcc994365a183ba20b095b714371c47cc9de265abed43ec78babe87af5f608cf77a9092d2745fc324a418714c709b45fb4663b96a06329532d50afb09
+Size (libretro-nestopia-1.48.tar.gz) = 1263143 bytes
+SHA1 (patch-libretro_libretro.cpp) = bfcb5e6abd9918431c4a8cd042ef3758cb1fa518
diff --git a/libretro-nestopia/patches/patch-libretro_libretro.cpp b/libretro-nestopia/patches/patch-libretro_libretro.cpp
index b7d1b0e892..78156badf9 100644
--- a/libretro-nestopia/patches/patch-libretro_libretro.cpp
+++ b/libretro-nestopia/patches/patch-libretro_libretro.cpp
@@ -1,15 +1,36 @@
 $NetBSD$
 
-This file is installed globally for pkgsrc users rather than making
-them install it manually in their home dir. There's no reason to be
-editing it.
+NstDatabase.xml is installed globally for pkgsrc users rather than
+making them install it manually in their home dir. There's no reason
+to be editing it.
 
---- libretro/libretro.cpp.orig	2016-01-09 23:34:38.000000000 +0000
+--- libretro/libretro.cpp.orig	2017-09-03 20:32:25.000000000 +0000
 +++ libretro/libretro.cpp
-@@ -720,7 +720,7 @@ bool retro_load_game(const struct retro_
-    if (!environ_cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &dir) || !dir)
-       return false;
+@@ -17,7 +17,7 @@
+ #include "../source/core/api/NstApiUser.hpp"
+ #include "../source/core/api/NstApiFds.hpp"
  
+-#define NST_VERSION "1.48-WIP"
++#define NST_VERSION "1.48"
+ 
+ #ifdef _WIN32
+ #define snprintf _snprintf
+@@ -308,11 +308,7 @@ void retro_get_system_info(struct retro_
+ {
+    memset(info, 0, sizeof(*info));
+    info->library_name     = "Nestopia";
+-#ifdef GIT_VERSION
+-   info->library_version  = NST_VERSION GIT_VERSION;
+-#else
+    info->library_version  = NST_VERSION;
+-#endif
+    info->need_fullpath    = false;
+    info->valid_extensions = "nes|fds|unf|unif";
+ }
+@@ -957,7 +953,7 @@ bool retro_load_game(const struct retro_
+    }
+    delete custompalette;
+    
 -   snprintf(db_path, sizeof(db_path), "%s%cNstDatabase.xml", dir, slash);
 +   snprintf(db_path, sizeof(db_path), "%s/share/libretro/nestopia/NstDatabase.xml", PREFIX);
  


Home | Main Index | Thread Index | Old Index