head 1.6; access; symbols pkgsrc-2019Q4:1.5.0.112 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.108 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.106 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.104 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.102 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.100 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.98 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.96 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.94 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.92 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.88 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.86 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.84 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.82 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.80 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.78 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.76 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.74 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.72 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.70 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.68 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.66 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.64 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.62 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.60 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.58 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.56 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.54 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.52 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.50 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.48 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.46 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.44 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.42 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.40 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.38 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.36 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.34 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.32 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.30 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.28 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.26 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.24 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.22 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.20 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.18 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.16 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.14 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.12 pkgsrc-2008Q1:1.5.0.10 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.8 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.6 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.4 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.2 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2020.01.10.11.11.36; author nia; state dead; branches; next 1.5; commitid 6aMDLQXvZ25up8SB; 1.5 date 2007.03.24.20.10.08; author adam; state Exp; branches; next 1.4; 1.4 date 2005.01.20.00.43.15; author xtraeme; state Exp; branches; next 1.3; 1.3 date 2004.02.11.18.34.18; author ben; state Exp; branches; next 1.2; 1.2 date 2002.08.31.00.15.41; author wiz; state Exp; branches; next 1.1; 1.1 date 2002.01.29.10.53.42; author wiz; state Exp; branches; next ; desc @@ 1.6 log @emulators: Remove zsnes. 32-bit x86 only due to use of 32-bit assembly code, but fails to build on i386 due to problems with atomics. No upstream release for 12 years and numerous accuracy problems and security problems with untrusted ROMs unfixed - use emulators/snes9x. @ text @$NetBSD: patch-ad,v 1.5 2007/03/24 20:10:08 adam Exp $ --- linux/sw_draw.c.orig 2007-01-18 17:52:16.000000000 +0100 +++ linux/sw_draw.c @@@@ -139,6 +139,9 @@@@ extern unsigned char prevKeep4_3Ratio; void sw_drawwin() { +#ifdef _PTH_PTHREAD_H_ + pthread_yield_np(); +#endif NGNoTransp = 0; // Set this value to 1 within the appropriate // video mode if you want to add a custom // transparency routine or hardware @ 1.5 log @Changes 1.51: ---------- - Rejoice for finally having 224 lines and them being shown properly in all cases. - IRQ and timing fixes (fixes Chrono Trigger issues, Super Mario World, and others). - Fixed bug with certain commandline parameters permanently overwriting config file settings. - Fixed bug with loading new ZMVs of a different version. - Loading ZMV with ROM mismatch prints a message. - Movie menu now has tabs and only shows proper options when available. - Slight improvement to the Custom Res functionality. - Keep4_3Ratio option now only shows when necessary. - PNG files now use extended height in extended height mode. - Pausing, rewinding, and fast fowarding are disabled during movie dumping. - You can now force a movie dump length shorter or longer than the actual ZMV length. - Fixed Bilinear Filtering on startup. - More... @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 1.41, lots of changes (bugfixes, speed improvements, etc). See http://www.zsnes.com/ for the full list of changes. @ text @d3 3 a5 3 --- linux/sw_draw.c.orig 2005-01-14 14:11:18.000000000 +0100 +++ linux/sw_draw.c 2005-01-20 01:34:10.000000000 +0100 @@@@ -124,6 +124,11 @@@@ d10 1 a10 1 + pthread_yield_np(); d12 3 a14 5 + + NGNoTransp = 0; // Set this value to 1 within the appropriate // video mode if you want to add a custom // transparency routine or hardware @ 1.3 log @Only use the GNU PTH fix if GNU PTH is being used in the zsnes build. @ text @d3 3 a5 3 --- linux/sw_draw.c.orig 2002-07-06 19:03:16.000000000 -0700 +++ linux/sw_draw.c @@@@ -123,6 +123,10 @@@@ void sw_clearwin() d10 1 a10 1 + pthread_yield_np(); d13 1 @ 1.2 log @Update to 1.360 (1.36, but that is smaller than 1.337, the previous version): v1.36 - Fixed Gunforce, added invalid HDMA modes. [_Demo_] (Thanks Overload!) - New BRR decoding method, this should resolve all the sound issues introduced in 1.35 and fix new ones. (Noise simulation isn't used anymore) [_Demo_] - Fixed hang in NBA Live 95 and 96. [_Demo_] (Thanks Overload!) - Fixed some more mode 4 issues in the new gfx engine. [pagefault] - Added offset mode disable toggle to 8-bit new gfx engine. [pagefault] - Fixed SPC hang in 90 Minutes European Prime Goal by clearing spcram. [_Demo_] - Updated fix for Clayfighter to fix some bugs in battle. [_Demo_] - Fixed crash with certain games. (SDL/*nix only) [theoddone33] - Added better OBC1 detection. [_Demo_] - Special hack for Samurai Showdown IRQ problem. [_Demo_] - Special hack for Kamen Rider menu, requires special latch reading. [_Demo_] - Special hack for Super Famista 1 & 2 SPC bugs. [_Demo_] - Fixed Digital Devil Story hang by modifying the spc code. You must start a new game for the fix to work. [_Demo_] - Modified work ram init value to 0x55. (Thanks TRAC) v1.35 - Lots of updates to Linux/SDL version, including sound fixes, video code updates and other misc bugs. [theoddone33, Thorsten Glaser, Wilbern Cobb] - Fixed gamma in PNG snapshots. [pagefault] - Fixed a bug in sprite priority rotation. (fix damage in FFMQ) [TRAC] - Fixed long delay between battles and fixed flickering colours on map in Front Mission. [pagefault] - Fixed hang when picking up apples in Equinox. [pagefault] - Fixed keyon bug in DSP code, fixes sounds in Flaskback 3 Language Edition (Thanks neviski) [_Demo_] - Fixed "disco colours" in NBA Hangtime when the ball drops. [pagefault] - Fixed an NMI issue with register $4212, fixes hang in Cu-On-Pa, Bubsy and others. [pagefault] - Fixed a mode 4 bug in the new graphics engine that was causing the title screen in The Lost Vikings to be scrambled. [pagefault] - Added support for Super System arcade system, set DIP switches in add-on's menu in GUI. Games MUST be zipped in order to load. [pagefault] - Added special support for Earthworm Jim 2 sound effects. [_Demo_] - Added hack for Deaetonosama Apareitiban. [_Demo_] - Fixed super scope position reading. [_Demo_] - Modified a few timing things. [_Demo_] - Fixed some 65816 instructions in processor emulation mode. [_Demo_] - Added special timing for Grand Prix 3. [_Demo_] - Modified sound decoding another time (helps various noise sounds like DQ6). [_Demo_] - Modified joypad reading for VS Collection. [_Demo_] - Special modification for Bahamut Lagoon and Clay Fighter to delay write to the hdma register. (those games need dma delay implemented) [_Demo_] - Lots of other minor fixes and things we forgot to mention. @ text @d3 1 a3 1 --- linux/sw_draw.c.orig Sun Jul 7 04:03:16 2002 d5 1 a5 1 @@@@ -123,6 +123,8 @@@@ void sw_clearwin() d9 1 d11 1 @ 1.1 log @Add sound support, provided by Ben Collver in pkg/14375. Bump to 1.337nb1. @ text @d3 1 a3 1 --- linux/sw_draw.c.orig Thu Sep 20 11:08:10 2001 d5 3 a7 1 @@@@ -166,6 +166,8 @@@@ a8 2 DWORD i,j,color32; @