[mupen64plus] 221/262: Backport rtc.patch
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch master
in repository mupen64plus.
commit 54e97577200c726b33224e7dcf007261fdf0d250
Author: Sven Eckelmann <sven at narfation.org>
Date: Sat Apr 16 14:56:05 2011 +0200
Backport rtc.patch
---
debian/patches/rtc.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/patches/rtc.patch b/debian/patches/rtc.patch
index 98deb9f..7aa0b31 100644
--- a/debian/patches/rtc.patch
+++ b/debian/patches/rtc.patch
@@ -4,7 +4,7 @@ Author: Jason Benaim <jrra at trashfolder.org>
---
diff --git a/memory/pif.c b/memory/pif.c
-index a4e6ef73a0999f463d3cce4c09265791273db0e8..ca3a4e682faf1f3d971077a61fe168f34b7dadb0 100644
+index a4e6ef73a0999f463d3cce4c09265791273db0e8..2359687a05a91043ebdbe4ea7d3769358f3313e0 100644
--- a/memory/pif.c
+++ b/memory/pif.c
@@ -21,6 +21,7 @@
@@ -19,7 +19,7 @@ index a4e6ef73a0999f463d3cce4c09265791273db0e8..ca3a4e682faf1f3d971077a61fe168f3
}
#endif
-+static inline unsigned char byte2bcd(int n)
++static unsigned char byte2bcd(int n)
+{
+ n %= 100;
+ return ((n / 10) << 4) | (n % 10);
@@ -52,7 +52,7 @@ index a4e6ef73a0999f463d3cce4c09265791273db0e8..ca3a4e682faf1f3d971077a61fe168f3
+ Command[12] = 0x00;
+ break;
+ case 1:
-+ DebugMessage(M64MSG_ERROR, "RTC command in EepromCommand(): read block %d", Command[2]);
++ printf("RTC command in EepromCommand(): read block %d", Command[2]);
+ break;
+ case 2:
+ time(&curtime_time);
@@ -71,7 +71,7 @@ index a4e6ef73a0999f463d3cce4c09265791273db0e8..ca3a4e682faf1f3d971077a61fe168f3
+ break;
+ case 8:
+ // write RTC block
-+ DebugMessage(M64MSG_ERROR, "RTC write in EepromCommand(): %d not yet implemented", Command[2]);
++ printf("RTC write in EepromCommand(): %d not yet implemented", Command[2]);
+ break;
default:
printf("unknown command in EepromCommand : %x\n", Command[2]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git
More information about the Pkg-games-commits
mailing list