summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-12-25 21:10:29 +0000
committerjoerg <joerg@pkgsrc.org>2012-12-25 21:10:29 +0000
commite2a46b9a3880ba6c372ebe22f8b5b50af10e9fa4 (patch)
tree9c271d6f90572065ca38fcbc68baf5b5283c065c
parentcf3a9d23519cd835b5ea8fd4ce12d50b763e9115 (diff)
downloadpkgsrc-e2a46b9a3880ba6c372ebe22f8b5b50af10e9fa4.tar.gz
Call static methods without class.
-rw-r--r--emulators/nestopia/distinfo3
-rw-r--r--emulators/nestopia/patches/patch-source_core_NstMemory.hpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/emulators/nestopia/distinfo b/emulators/nestopia/distinfo
index e28e170fbff..ea7f9fd7b69 100644
--- a/emulators/nestopia/distinfo
+++ b/emulators/nestopia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/01/03 18:44:27 wiz Exp $
+$NetBSD: distinfo,v 1.2 2012/12/25 21:10:29 joerg Exp $
SHA1 (Nestopia140src.zip) = ef85771132cc8652456727278df36f7068d238e0
RMD160 (Nestopia140src.zip) = caecb991dfd459093b88b2abb84ac9bbd95ced63
@@ -7,3 +7,4 @@ SHA1 (nst140_lnx_release_h.zip) = 94a2a911f306514ed725cff68ddbc47bd33b9f99
RMD160 (nst140_lnx_release_h.zip) = f187b2ff44d8a57432cd7b73679a61142b9ff877
Size (nst140_lnx_release_h.zip) = 250216 bytes
SHA1 (patch-aa) = f598f572056344660c72212900b6b8997d996655
+SHA1 (patch-source_core_NstMemory.hpp) = 82584af16889d2fd7c00ae601a0364cd0d909f6d
diff --git a/emulators/nestopia/patches/patch-source_core_NstMemory.hpp b/emulators/nestopia/patches/patch-source_core_NstMemory.hpp
new file mode 100644
index 00000000000..fd0f641f87d
--- /dev/null
+++ b/emulators/nestopia/patches/patch-source_core_NstMemory.hpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-source_core_NstMemory.hpp,v 1.1 2012/12/25 21:10:29 joerg Exp $
+
+--- source/core/NstMemory.hpp.orig 2012-12-25 16:47:49.000000000 +0000
++++ source/core/NstMemory.hpp
+@@ -763,7 +763,7 @@ namespace Nes
+ for (uint i=0; i < MEM_NUM_PAGES; ++i)
+ {
+ if (pageData[i*3+0] < NUM_SOURCES)
+- Source( pageData[i*3+0] ).SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
++ SwapBank<MEM_PAGE_SIZE>( i * MEM_PAGE_SIZE, pageData[i*3+1] | uint(pageData[i*3+2]) << 8 );
+ else
+ throw RESULT_ERR_CORRUPT_FILE;
+ }