pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/fceu Update to 0.98.13:
details: https://anonhg.NetBSD.org/pkgsrc/rev/5501438971b2
branches: trunk
changeset: 501842:5501438971b2
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Oct 30 11:47:56 2005 +0000
description:
Update to 0.98.13:
Additional patch from dillo@:
Fix display and sync on sound. Ignore NoWaiting and the rest for now.
Changes since 0.98.12:
SDL: Fixed button configuration when using joystick hats. Thanks to
ShaolinMan for pointing out the code errors.
Readded checks in ines.c for some common bad dumps and non-working hacked
games.
Sprite hit emulation is more precise(as it was in 0.97.5).
Fixed mapper 185 emulation to work properly with the Japanese
version of "Spy vs Spy", and hopefully with the GOOD dump
of Banana(I don't think one exists).
Added per-game hacks for Shougi Meikan '92 and Shougi Meikan '93.
Fixed a bug in SetupCartMirroring() that could cause some games to have corrupted
mirroring if loaded in a certain order. This was a rather major, long-standing
bug. :/
Added many iNES header corrections.
Fixed emulation of the "ISB" and "DCP" invalid opcodes.
Optimized the PPU background drawing code with inline assembly. Older/some(?) versions
of gcc may produce bad code(from previous experience with inline
assembly in gcc), but 3.4.1 seems to do ok.
Optimized some of the low-quality sound emulation code.
Added a command-line option to the configure script to enable the FCE Ultra
debugger(disabled by default). It reduces executable size, and may increase speed
of execution slightly.
In unix-netplay.c, replaced the ioctl() on a socket to read the number of bytes available to read
with a select(). I've also added some "BEOS" #ifdefs. I don't know if they will
work properly.
Replaced archaic include of "malloc.h" in unix-netplay.c with "stdlib.h".
Also in unix-netplay.c, I've added:
#ifndef SOL_TCP
#define SOL_TCP IPPROTO_TCP
#endif
Fixed a bug in sdl-sound.c that would prevent FCE Ultra from being compiled
on certain platforms(Mac OS X).
Fixed variable declarations in the following files to be compatible
with C compilers that don't adhere to C99(or was it C98...):
movie.c
drivers/sexyal/convertgen.c and drivers/sexyal/convert.inc
drivers/pc/unix-netplay.c
diffstat:
emulators/fceu/Makefile | 9 +-
emulators/fceu/distinfo | 15 +-
emulators/fceu/patches/patch-aa | 10 +-
emulators/fceu/patches/patch-ab | 24 -
emulators/fceu/patches/patch-ad | 6404 ---------------------------------------
emulators/fceu/patches/patch-ae | 21 -
emulators/fceu/patches/patch-af | 44 +
emulators/fceu/patches/patch-ah | 59 +
8 files changed, 119 insertions(+), 6467 deletions(-)
diffs (truncated from 6650 to 300 lines):
diff -r 0b475b9f10fd -r 5501438971b2 emulators/fceu/Makefile
--- a/emulators/fceu/Makefile Sun Oct 30 10:39:10 2005 +0000
+++ b/emulators/fceu/Makefile Sun Oct 30 11:47:56 2005 +0000
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:45:43 tv Exp $
+# $NetBSD: Makefile,v 1.8 2005/10/30 11:47:56 wiz Exp $
#
-DISTNAME= fceu-0.98.12.src
+DISTNAME= fceu-0.98.13.src
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 1
CATEGORIES= emulators
-MASTER_SITES= http://fceultra.sourceforge.net/releases/
+MASTER_SITES= http://pdaxrom.theinternet.nl/fceu/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz%NetBSD.org@localhost
-HOMEPAGE= http://fceultra.sourceforge.net/
+HOMEPAGE= http://pdaxrom.theinternet.nl/fceu/
COMMENT= Portable NES and Famicom emulator
WRKSRC= ${WRKDIR}/fceu
diff -r 0b475b9f10fd -r 5501438971b2 emulators/fceu/distinfo
--- a/emulators/fceu/distinfo Sun Oct 30 10:39:10 2005 +0000
+++ b/emulators/fceu/distinfo Sun Oct 30 11:47:56 2005 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 18:49:18 agc Exp $
+$NetBSD: distinfo,v 1.8 2005/10/30 11:47:56 wiz Exp $
-SHA1 (fceu-0.98.12.src.tar.bz2) = 713faaad9f7d4b5e8dd1cb8a172e2f1ced85c1ec
-RMD160 (fceu-0.98.12.src.tar.bz2) = e405a459196d2e5e9d630c8699157ec4df0f0210
-Size (fceu-0.98.12.src.tar.bz2) = 559571 bytes
-SHA1 (patch-aa) = df9e098102d4c22c2699d5c5bdec79d72b8bac0c
-SHA1 (patch-ab) = 593c40bfe03e8ae8835113972a58a1cf46e882a9
+SHA1 (fceu-0.98.13.src.tar.bz2) = fed37a9858aa8b149472f964b2ca652168e9f29a
+RMD160 (fceu-0.98.13.src.tar.bz2) = fc736006ed1e9aa564de817622ed575f246bad48
+Size (fceu-0.98.13.src.tar.bz2) = 570842 bytes
+SHA1 (patch-aa) = 31ce24167b8f76df2961ce902d42f45b5278e451
SHA1 (patch-ac) = 8a5297b11484c6eaf5d70a391bb486ff58475f35
-SHA1 (patch-ad) = 2a253539f9103b75a09f31d51427e8849a3b0249
-SHA1 (patch-ae) = d088b473376460ce29b17abd5dc4521513c55057
+SHA1 (patch-af) = a2b55359d65c60ecb7e7d79390ef872873c0eba1
+SHA1 (patch-ah) = cc48e36406b6d9e4cf88179510824135507aa6f9
diff -r 0b475b9f10fd -r 5501438971b2 emulators/fceu/patches/patch-aa
--- a/emulators/fceu/patches/patch-aa Sun Oct 30 10:39:10 2005 +0000
+++ b/emulators/fceu/patches/patch-aa Sun Oct 30 11:47:56 2005 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-aa,v 1.2 2004/07/26 18:00:17 dillo Exp $
+$NetBSD: patch-aa,v 1.3 2005/10/30 11:47:56 wiz Exp $
Make default keys match documentation.
Also, add settings for joystick.
---- src/drivers/pc/input.c.orig 2004-05-17 01:48:26.000000000 +0200
+--- src/drivers/pc/input.c.orig 2004-09-11 10:04:33.000000000 +0200
+++ src/drivers/pc/input.c
-@@ -278,6 +278,10 @@ static void KeyboardCommands(void)
+@@ -276,6 +276,10 @@ static void KeyboardCommands(void)
#define MK(x) {{BUTTC_KEYBOARD},{0},{MKK(x)},1}
#define MK2(x1,x2) {{BUTTC_KEYBOARD},{0},{MKK(x1),MKK(x2)},2}
@@ -16,13 +16,13 @@
#define MKZ() {{0},{0},{0},0}
-@@ -286,8 +290,13 @@ static void KeyboardCommands(void)
+@@ -284,8 +288,13 @@ static void KeyboardCommands(void)
ButtConfig GamePadConfig[4][10]={
/* Gamepad 1 */
{
- MK(KP3), MK(KP2), MK(TAB), MK(ENTER), MK(W),MK(Z),
- MK(A), MK(S), MKZ(), MKZ()
-+ MKJB(LEFTALT, 0), MKJB(LEFTCONTROL, 1), MKJB(TAB, 5), MKJB(ENTER, 7),
++ MKJB(LEFTALT, 2), MKJB(LEFTCONTROL, 0), MKJB(TAB, 5), MKJB(ENTER, 7),
+ MKJA(CURSORUP, 1, 1), MKJA(CURSORDOWN, 1, 0),
+ MKJA(CURSORLEFT, 0, 1), MKJA(CURSORRIGHT, 0, 0), MKZ(), MKZ()
+#if 0
diff -r 0b475b9f10fd -r 5501438971b2 emulators/fceu/patches/patch-ab
--- a/emulators/fceu/patches/patch-ab Sun Oct 30 10:39:10 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2004/07/24 01:11:41 kristerw Exp $
-
-SOL_TCP is 6, the same as IPPROTO_TCP and ISOPROTO_TCP on NetBSD.
-
---- src/drivers/pc/unix-netplay.c.orig Mon May 17 07:28:06 2004
-+++ src/drivers/pc/unix-netplay.c Sat Jul 24 03:01:36 2004
-@@ -76,6 +76,7 @@
- unsigned long hadr;
- int TSocket;
- int netdivisor;
-+ int tcpopt = 1;
-
- if(!netplayhost) return(0);
-
-@@ -85,8 +86,7 @@
- FCEUD_NetworkClose();
- return(0);
- }
-- int tcpopt = 1;
-- if(setsockopt(TSocket, SOL_TCP, TCP_NODELAY, &tcpopt, sizeof(int)))
-+ if(setsockopt(TSocket, 6, TCP_NODELAY, &tcpopt, sizeof(int)))
- puts("Nodelay fail");
-
- memset(&sockin,0,sizeof(sockin));
diff -r 0b475b9f10fd -r 5501438971b2 emulators/fceu/patches/patch-ad
--- a/emulators/fceu/patches/patch-ad Sun Oct 30 10:39:10 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6404 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2004/07/24 01:11:41 kristerw Exp $
-
---- src/drivers/sexyal/convert.inc.orig Mon Apr 19 07:27:01 2004
-+++ src/drivers/sexyal/convert.inc Sat Jul 24 03:00:04 2004
-@@ -133,9 +133,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- tmp = (tmp+tmp2)>>1;
- *dest=tmp;
-@@ -146,9 +147,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp);
- tmp = (tmp+tmp2)>>1;
-@@ -163,10 +165,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- tmp = (tmp+tmp2)>>1;
-@@ -178,10 +181,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- FLIP32(tmp);
-@@ -200,9 +204,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- *dest=tmp;
- dest++;
-@@ -214,9 +219,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp);
- FLIP32(tmp2);
-@@ -233,10 +239,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- *dest=tmp;
-@@ -249,10 +256,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- FLIP32(tmp);
-@@ -405,9 +413,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- tmp+=128;
- tmp2+=128;
-@@ -420,9 +429,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- tmp+=128;
- tmp2+=128;
-@@ -439,10 +449,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- tmp+=128;
-@@ -456,10 +467,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
- tmp+=128;
-@@ -480,9 +492,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- tmp+=128;
- tmp2+=128;
-@@ -496,9 +509,10 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- tmp+=128;
- tmp2+=128;
-@@ -517,10 +531,11 @@
- {
- while(frames--)
- {
-+ int32_t tmp2;
- int32_t tmp=*src;
- src++;
- FLIP32(tmp);
-- int32_t tmp2=*src;
-+ tmp2=*src;
- src++;
- FLIP32(tmp2);
Home |
Main Index |
Thread Index |
Old Index