head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.38 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.36 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.34 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.32 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.30 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2005.10.30.11.47.56; author wiz; state dead; branches; next 1.3; 1.3 date 2004.11.22.22.54.44; author wiz; state Exp; branches; next 1.2; 1.2 date 2004.11.19.18.58.37; author wiz; state Exp; branches; next 1.1; 1.1 date 2004.08.22.11.56.46; author kristerw; state Exp; branches; next ; desc @@ 1.4 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-ae,v 1.3 2004/11/22 22:54:44 wiz Exp $ --- src/movie.c.orig 2004-11-13 13:41:55.000000000 +0000 +++ src/movie.c 2004-11-13 13:42:39.000000000 +0000 @@@@ -154,7 +154,7 @@@@ void FCEUMOV_AddJoy(uint8 *js) { - int x,y; + int x,y,tmpfix; if(!current) return; /* Not playback nor recording. */ @@@@ -191,7 +191,7 @@@@ tmp &= 0x3; ti=0; - int tmpfix = tmp; + tmpfix = tmp; while(tmp--) { nextts |= fgetc(slots[-1 - current]) << (ti * 8); ti++; } // This fixes a bug in movies recorded before version 0.98.11 @ 1.3 log @Add RCS Id, noted by Leonard Schmidt. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 0.98.12, from Leonard Schmidt in PR 28327. Changes since previous version: Fixed a bug that was causing 2xscale/3xscale to be broken when clipping the leftmost and rightmost 8 columns. Added an iNES header correction entry for JustBreed. Modified the MMC5 "ELROM" board emulation to not emulate WRAM. Corrected various pieces of code that were causing compiler warnings. When the PPU is in a "dead" state after starting up, the graphics buffer is now cleared. Previously, particularly in the Windows port, when a game was closed, and a new game was loaded, the last image from the previous game would be displayed for a short time. Removed some debugging code that shouldn't have been enabled in 0.98.11. @ text @d1 1 @ 1.1 log @Convert some C99-isms to C89 to make this build with gcc 2.95. @ text @d1 3 a3 5 $NetBSD$ --- src/movie.c.orig Sun Aug 22 13:44:10 2004 +++ src/movie.c Sun Aug 22 13:44:49 2004 @@@@ -154,6 +154,7 @@@@ d7 2 a8 2 + int tmpfix; int x,y; d11 2 a12 2 @@@@ -190,7 +191,7 @@@@ tmp >>= 5; d15 1 @