pkgsrc-WIP-changes archive

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

libretro-fbalpha: Add patch from upstream, fixes some games with an ARM7 CPU



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Jul 23 18:53:28 2017 +0100
Changeset:	111ec48a159fa1cb1ae27120606fedcd97d41470

Modified Files:
	libretro-fbalpha/distinfo
Added Files:
	libretro-fbalpha/patches/patch-src_cpu_arm7__intf.cpp

Log Message:
libretro-fbalpha: Add patch from upstream, fixes some games with an ARM7 CPU

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

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

diffstat:
 libretro-fbalpha/distinfo                             |  1 +
 libretro-fbalpha/patches/patch-src_cpu_arm7__intf.cpp | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diffs:
diff --git a/libretro-fbalpha/distinfo b/libretro-fbalpha/distinfo
index 5be1fc23c1..9241987385 100644
--- a/libretro-fbalpha/distinfo
+++ b/libretro-fbalpha/distinfo
@@ -4,3 +4,4 @@ SHA1 (libretro-fbalpha-0.2.97.40.tar.gz) = ea8c0605172470b7c592cab46d63200f46572
 RMD160 (libretro-fbalpha-0.2.97.40.tar.gz) = d683b846bbc98a6dc4ffd3dd4a46fbd07a3366ea
 SHA512 (libretro-fbalpha-0.2.97.40.tar.gz) = 197a6dd939cda0fc5be4f1e9bfc9d933b9d63627e77f7b6c5da355cc8e97e43ee14b2556c3c1f201cf9a42900992bae711942e0d20317e7bd0132a6ad34e1050
 Size (libretro-fbalpha-0.2.97.40.tar.gz) = 8916054 bytes
+SHA1 (patch-src_cpu_arm7__intf.cpp) = 93f419448097a67725598835535d2f52452b65a4
diff --git a/libretro-fbalpha/patches/patch-src_cpu_arm7__intf.cpp b/libretro-fbalpha/patches/patch-src_cpu_arm7__intf.cpp
new file mode 100644
index 0000000000..1d4e3c5ce7
--- /dev/null
+++ b/libretro-fbalpha/patches/patch-src_cpu_arm7__intf.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+http://neosource.1emulation.com/forums/index.php?topic=1731.msg24254#msg24254
+
+--- src/cpu/arm7_intf.cpp.orig	2017-07-13 03:39:54.000000000 +0000
++++ src/cpu/arm7_intf.cpp
+@@ -391,6 +391,7 @@ void Arm7Init( INT32 nCPU ) // only one
+ 	
+ 	for (INT32 i = 0; i < 3; i++) {
+ 		membase[i] = (UINT8**)malloc(PAGE_COUNT * sizeof(UINT8*));
++		memset(membase[i], 0, PAGE_COUNT * sizeof(UINT8*));
+ 	}
+ 
+ 	CpuCheatRegister(nCPU, &Arm7CheatCpuConfig);


Home | Main Index | Thread Index | Old Index