head 1.6; access; symbols pkgsrc-2024Q2:1.5.0.6 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.4 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.4.0.12 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.10 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.8 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.6 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.4 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.2 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.3.0.24 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.22 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.20 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.18 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.16 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.14 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.12 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.10 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.6 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.8 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.4 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.2 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.2.0.2 pkgsrc-2019Q1-base:1.2; locks; strict; comment @// @; 1.6 date 2024.08.10.12.04.36; author nia; state dead; branches; next 1.5; commitid EMFeS9QFWqY4UglF; 1.5 date 2023.11.20.10.19.00; author nia; state Exp; branches; next 1.4; commitid vCnE8tdxmbzWNkNE; 1.4 date 2022.05.03.17.09.19; author nia; state Exp; branches; next 1.3; commitid YeX70Z9rffTCgDCD; 1.3 date 2019.04.25.13.06.58; author nia; state Exp; branches; next 1.2; commitid zXlwoLHCEb6spJkB; 1.2 date 2019.01.04.23.34.36; author nia; state Exp; branches; next 1.1; commitid taYNaAJiGK5osw6B; 1.1 date 2019.01.02.11.25.32; author nia; state Exp; branches; next ; commitid TKLx5rzrGxY6uc6B; desc @@ 1.6 log @[libretro-]snes9x[-gtk]: Update to 1.63 Snes9x 1.63 General: - Added a shortcut to change the backdrop color for sprite extraction. - Fixed QuickSave 0-9 slot shortcuts not working. - Allow "Address:byte" form for cheat inputs. - Fixed ZIP files not being closed after patch search. - Various memmap fixes to allow unofficial mappings. - Added usage of ImGui to draw things on top of the screen instead of inside. Gtk: - Fixed config file location to never put files directly in $HOME and obey $XDG_CONFIG_HOME. - Updated translations from JakeSmarter and StanleyKid-22. @ text @$NetBSD: patch-unix_unix.cpp,v 1.5 2023/11/20 10:19:00 nia Exp $ Avoid colliding with libc functions. https://github.com/snes9xgit/snes9x/pull/887 --- unix/unix.cpp.orig 2022-03-03 16:41:25.000000000 +0000 +++ unix/unix.cpp @@@@ -164,7 +164,7 @@@@ static bool8 ReadJoysticks (void); void S9xLatchJSEvent(); #endif -static long log2 (long num) +static long snes9x_log2 (long num) { long n = 0; @@@@ -1467,7 +1467,7 @@@@ bool8 S9xOpenSoundDevice (void) bool(unixSettings.ThreadSound) ); - J = log2(unixSettings.SoundFragmentSize) | (4 << 16); + J = snes9x_log2(unixSettings.SoundFragmentSize) | (4 << 16); if (ioctl(so.sound_fd, SNDCTL_DSP_SETFRAGMENT, &J) == -1) return (FALSE); @ 1.5 log @[libretro-]snes9x[-gtk]: Update to 1.62.3 Snes9x 1.62 - Fixed SA1 division with negative dividend again. (Atari2) - Fixed timing on several instructions. (pi1541) - MSU1 audio with no loop point will not repeat from start. - Modernized some old memory-related code. - Fixed a desynchronization in interlaced modes and reporting. - Remove SA1 access to WRAM. - Added second set of registers between S-DSP and S-SMP. Fixes PAL version of Virtual Bart. Gtk + Windows: - Added a Vulkan graphics output method. Similar to OpenGL, this can use libretro's slang shaders. - Changed the automatic frame skip throttle to take place immediately before showing the frame, making VRR work better. - Add menu item to clear recent files entries. - Add fixed window size changes up to 10x. Gtk: - Switched to CMake for build system. Removed meson. - Fixed some keys not working with modifiers. (Gutawer) - Removed graphics options most people won't understand or need. - Improved wayland support. Handle fractional DPI properly. @ text @d1 1 a1 1 $NetBSD: patch-unix_unix.cpp,v 1.4 2022/05/03 17:09:19 nia Exp $ @ 1.4 log @[libretro-]snes9x[-gtk]: update to 1.61 - Restructured tile.cpp tile renderer from heavy macros into C++ templates, significantly lowering compile time. (yoffy) - MichaelBuckley provided a brand new MacOS port that is completely rewritten based on newer, supported APIs. - Fixed an out-of-bound memory access in sound DSP. (Sour, byuu) - Revert default SFX2 clock speed increase. - Added a render position hack. Fixes glitches in several games. - Allow an SRAM mapping up to 128KB. Gtk: - Added an option to show time. (taimoorgit) - Use a submodule for glslang, because it doesn't guarantee API stability. - Switched to GTK's C++ interface, gtkmm3. This effectively drops GTK+ 2.0 support. - Joysticks can now be hotplugged. (jraby) Unix: - Added audio output threading. (yoffy) - Added screensaver prevention on joystick use. (greg-kennedy) - Fix YUY2 conversion. (greg-kennedy) - Add alsa output support. (cjacker) - Add I420 conversion. (cjacker) @ text @d1 1 a1 1 $NetBSD: patch-unix_unix.cpp,v 1.3 2019/04/25 13:06:58 nia Exp $ d4 1 @ 1.3 log @emulators/snes9x: Update to 1.60 Changes since 1.59.2: - Fixed subscreen blending with master brightness < 100%. - Fixed NMI timing when toggling enable bit. Fixes Chou Aniki--hack removed. - Reverted an IPL map optimization that misses a weird edge case that caused The Great Battle III to lock up. - Clamp MSU1 addition to max amplitude instead of wrapping. Proper MSU1 tracks will not be affected by this. - Save mipmap_input parameter with customized GLSL and slang shaders. - Actually use mipmap_input parameter. - Optimized subscreen math with help from Dwedit. - Revert to measured APU clock speed instead of nominal speed. Fixes An American Tail. - Fixed broken BPS patch support. (ArtiiP) - Fixed MSU1 track restarting on load state. libretro: - Added ability to use Satellaview data in same directory as ROM. - Fixed deviation from proper libretro spec. - Added option to use the software NTSC filter. (stellarporter) GTK: - Added icons to the entries to clear binding assignments. - Fixed overlap in xBRZ multithreading. - Changed glFenceSync option to an OML_sync option that works better. - Fixed accumulation of partial pixel data on mouse motion when we update the mouse position more than once per frame. - Allow one key to be bound to many controller buttons on the same controller. - Force menu and button icons. - Add the view menu to right-click when SNES mouse isn't used. - Remove unused status bar option. - Startup background can be changed in snes9x.conf. - Improved PortAudio driver. Unix: - Fixed sound output that broke with APU refactor. @ text @d1 1 a1 1 $NetBSD: patch-unix_unix.cpp,v 1.2 2019/01/04 23:34:36 nia Exp $ d5 1 a5 1 --- unix/unix.cpp.orig 2019-04-23 18:57:18.000000000 +0000 d7 3 a9 12 @@@@ -156,7 +156,7 @@@@ bool S9xDisplayPollButton (uint32, bool bool S9xDisplayPollAxis (uint32, int16 *); bool S9xDisplayPollPointer (uint32, int16 *, int16 *); -static long log2 (long); +static long log2_l (long); static void SoundTrigger (void); static void InitTimer (void); static void NSRTControllerSetup (void); @@@@ -230,7 +230,7 @@@@ void _makepath (char *path, const char * } } d12 1 a12 1 +static long log2_l (long num) d16 3 a18 3 @@@@ -1356,7 +1356,7 @@@@ bool8 S9xOpenSoundDevice (void) return (FALSE); } d21 1 a21 1 + J = log2_l(unixSettings.SoundFragmentSize) | (4 << 16); @ 1.2 log @snes9x: Avoid colliding with libc functions properly. @ text @d1 1 a1 1 $NetBSD: patch-unix_unix.cpp,v 1.1 2019/01/02 11:25:32 nia Exp $ d5 1 a5 1 --- unix/unix.cpp.orig 2018-12-16 17:04:59.000000000 +0000 d25 1 a25 1 @@@@ -1324,7 +1324,7 @@@@ bool8 S9xOpenSoundDevice (void) d29 2 a30 2 - J = log2(unixSettings.SoundFragmentSize) | (3 << 16); + J = log2_l(unixSettings.SoundFragmentSize) | (3 << 16); @ 1.1 log @emulators/snes9x: Rename a function from log2 to log2l to avoid problems with libc collisions on certain platforms. @ text @d1 1 a1 1 $NetBSD$ d12 1 a12 1 +static long log2l (long); d21 1 a21 1 +static long log2l (long num) d30 1 a30 1 + J = log2l(unixSettings.SoundFragmentSize) | (3 << 16); @