summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-09-24 12:32:26 +0000
committerjperkin <jperkin@pkgsrc.org>2014-09-24 12:32:26 +0000
commite395bfe9b4010298572418bc3a30909e598ba8a9 (patch)
tree021baf243c54578fa80a07b3cb3a0a25a176cb63
parent2b7e9d0fb29062cecc330f28ff0f53c524987649 (diff)
downloadpkgsrc-e395bfe9b4010298572418bc3a30909e598ba8a9.tar.gz
Fix broken patch file.
-rw-r--r--emulators/nestopia/distinfo4
-rw-r--r--emulators/nestopia/patches/patch-source_core_NstMemory.hpp20
2 files changed, 12 insertions, 12 deletions
diff --git a/emulators/nestopia/distinfo b/emulators/nestopia/distinfo
index dbcb9a48d9a..5025bd40423 100644
--- a/emulators/nestopia/distinfo
+++ b/emulators/nestopia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2013/10/28 23:44:44 joerg Exp $
+$NetBSD: distinfo,v 1.4 2014/09/24 12:32:26 jperkin Exp $
SHA1 (Nestopia140src.zip) = ef85771132cc8652456727278df36f7068d238e0
RMD160 (Nestopia140src.zip) = caecb991dfd459093b88b2abb84ac9bbd95ced63
@@ -8,4 +8,4 @@ RMD160 (nst140_lnx_release_h.zip) = f187b2ff44d8a57432cd7b73679a61142b9ff877
Size (nst140_lnx_release_h.zip) = 250216 bytes
SHA1 (patch-Makefile) = d3abca01943618fe58d12fac3db2ef2762404aef
SHA1 (patch-aa) = f598f572056344660c72212900b6b8997d996655
-SHA1 (patch-source_core_NstMemory.hpp) = 82584af16889d2fd7c00ae601a0364cd0d909f6d
+SHA1 (patch-source_core_NstMemory.hpp) = f8e8f0adc3cf0c4ac0bd8847efc118d1001b1c8d
diff --git a/emulators/nestopia/patches/patch-source_core_NstMemory.hpp b/emulators/nestopia/patches/patch-source_core_NstMemory.hpp
index fd0f641f87d..d095dafc1f3 100644
--- a/emulators/nestopia/patches/patch-source_core_NstMemory.hpp
+++ b/emulators/nestopia/patches/patch-source_core_NstMemory.hpp
@@ -1,13 +1,13 @@
-$NetBSD: patch-source_core_NstMemory.hpp,v 1.1 2012/12/25 21:10:29 joerg Exp $
+$NetBSD: patch-source_core_NstMemory.hpp,v 1.2 2014/09/24 12:32:26 jperkin Exp $
---- source/core/NstMemory.hpp.orig 2012-12-25 16:47:49.000000000 +0000
+--- source/core/NstMemory.hpp.orig 2008-03-26 23:31:44.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;
- }
+ 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;
+ }