head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.38 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.36 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.34 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.32 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.30 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.28 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.26 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.24 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.22 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.10 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.8 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2005.10.30.11.47.56; author wiz; state dead; branches; next 1.2; 1.2 date 2004.07.24.01.11.41; author kristerw; state Exp; branches; next 1.1; 1.1 date 2004.07.19.18.37.15; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.07.19.18.37.15; author wiz; state Exp; branches; next ; desc @@ 1.3 log @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 @ text @$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)); @ 1.2 log @Convert some C99-isms to C89 to make this build with gcc 2.95. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d5 12 a16 3 --- src/drivers/pc/unix-netplay.c.orig 2004-05-17 07:28:06.000000000 +0200 +++ src/drivers/pc/unix-netplay.c @@@@ -86,7 +86,7 @@@@ int FCEUD_NetworkConnect(void) d19 1 a19 1 int tcpopt = 1; @ 1.1.1.1 log @Initial import of FCE Ultra, a Nintendo Entertainment System and Famicom emulator. FCE Ultra is an NTSC and PAL Famicom/NES emulator for various platforms. It is based upon Bero's original FCE source code. Current features include good PPU, CPU, pAPU, expansion chip, and joystick emulation. Also a feature unique to this emulator (at the current time) is authentic Game Genie emulation. Save states and snapshot features also have been implemented. @ text @@