3921 Commits

Author SHA1 Message Date
Rafael Kitover
3eee048326 Fix list cheats dialog for dark mode
Change unselected item color from white to none in the List Cheats
dialog to fix it for dark mode.

Done with Claude.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 22:53:04 +00:00
Rafael Kitover
9551313e19 Add tooltips with numerical value to all sliders
Add a tooltip with the numerical value to all slider widgets in the GUI
on the slider.

Done with Claude.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 22:38:48 +00:00
Rafael Kitover
cf3a48e15c translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 14:00:20 +00:00
Rafael Kitover
4819adefd1 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 13:00:20 +00:00
Rafael Kitover
cb5689b216 build: fix Intel macOS build
Fix the Intel build for the macOS builder.

Disable tests for the fmt dist because they do not compile for Intel.

Use the XCode `libclang_rt.osx.a` when not using the Nix clang on ARM64.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 03:36:08 -07:00
Rafael Kitover
6e20fdc2e3 build: check CMake variable ENABLE_SHARED
Check for the commonly used CMake variable `ENABLE_SHARED` and set
`VBAM_STATIC` accordingly if it is set.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 09:45:52 +00:00
Rafael Kitover
479a7d9097 build: add libfmt for macOS builder
Add libfmt to the dists for the macOS builder, needed by wxWidgets.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-03 23:45:43 -07:00
Rafael Kitover
3a031a01a4 build: link libclang_rt.osx on macOS
Find and link `libclang_rt.osx.a` when using the Nix clang in the macOS
builder.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-03 23:45:43 -07:00
Rafael Kitover
c34be3c738 build: link System framework on macOS
Add `-framework System` to SDL libs and wxWidgets targets.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-03 23:40:00 -07:00
Rafael Kitover
5a21d94269 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 04:00:22 +00:00
Rafael Kitover
f653261f97 translations: rebuild source .pot
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 04:00:07 +00:00
Rafael Kitover
4208f5af6e Fix issues and default dev in Mac CoreAudio driver
Fix some issues identified by Claude in the Mac CoreAudio sound driver,
including a race condition and some memory leaks.

Also fix selecting the default device.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-04 02:59:40 +00:00
Rafael Kitover
fc34bbbd12 Add missing error translation in Metal driver
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-03 04:43:47 +00:00
Rafael Kitover
b499c2d58c Fix mem leak and wrong API use in Metal driver
Fix massive texture memory leak and some other things wrong with the
Metal driver as suggested by Claude.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-02 20:04:42 +00:00
Rafael Kitover
e8aa4467f1 build: disable default bundling of dylibs on macOS
Add CMake option `BUNDLE_DYLIBS` defaulting to `OFF` to bundle dynamic
libraries into the `.app` bundle. This was the default behavior for
`Release` previously.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-02 18:30:02 +00:00
Rafael Kitover
40c798ef99 "Claude Code Review workflow" 2025-10-02 14:13:51 +00:00
Rafael Kitover
63894ad3f7 "Claude PR Assistant workflow" 2025-10-02 14:13:51 +00:00
Rafael Kitover
68e7d98b85 Fix pause when inactive for new wxWidgets
Handle the Iconize event to pause when "pause when inactive" is enabled,
to work around a change in recent versions of wxWidgets that ignore this
unfocus event.

Fix #1494.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-10-01 17:05:39 +00:00
Rafael Kitover
ed1b7ff47c translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-30 16:00:34 +00:00
Rafael Kitover
ff7d1234ea translations: rebuild source .pot
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-30 16:00:18 +00:00
Squall-Leonhart
e889e895f2 don't run Color Correct on SGB Hardware, Run GBA Color correct on GBC game run on GBA Hardware 2025-09-29 20:27:05 +00:00
Rafael Kitover
eb7c50017d Revert "SDL PixelArt test fix"
This reverts commit e0e639a02e.
2025-09-28 08:54:42 +00:00
Rafael Kitover
df66c6ff4a Revert "Check file size for GBA ROM and reduce memory footprint"
This reverts commit 56ea6456f5.
2025-09-28 08:54:26 +00:00
Squall Leonhart
e0e639a02e SDL PixelArt test fix 2025-09-28 15:29:17 +10:00
Brad Smith
ede668b712 Fixes for BSD build
- patch fixes for BSD handling
- OpenBSD/aarch64 has elf_aux_info()
- unrar build fix for FreeBSD/NetBSD/OpenBSD
- OpenBSD does not have librt

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-25 15:05:32 +00:00
Rafael Kitover
5bd8904746 build: fix check for SDL3 pixel art filter
Fix the CMake compile check for SDL_SCALEMODE_PIXELART to use
CheckSourceCompiles instead of CheckSymbolExists which does not work for
this purpose.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-21 19:33:29 +00:00
Rafael Kitover
46326939eb translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-19 05:00:21 +00:00
Brad Smith
3f005837dd Rename swap16/swap32 functions which conflict with OpenBSD macros 2025-09-19 01:28:30 +00:00
Rafael Kitover
2b3edb266a translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 14:00:23 +00:00
Rafael Kitover
8e5fc43dd6 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 13:00:23 +00:00
Rafael Kitover
362ca53cbe translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 02:00:23 +00:00
Rafael Kitover
9dc10ff6c4 translations: rebuild source .pot
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 02:00:07 +00:00
Rafael Kitover
ab01be3373 Add option to enable SDL pixel art texture filter
Add a checkbox in display config to enable SDL_SCALEMODE_PIXELART when
it is available.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 01:22:47 +00:00
Rafael Kitover
6ec0ba0610 Apply bilinear option for SDL texture
Set the texture option for bilinear or nearest on the SDL texture
depending on the value of the bilinear checkbox.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-18 01:22:47 +00:00
Rafael Kitover
9fcc0ad7a8 build: fix finding static vcpkg x265 for FFmpeg
Fix finding static vcpkg x265 when it is named `x265-static.lib` as it
is right now.

Fix finding vcpkg host pkgconf on ARM64 Windows, which uses x64 host
binaries.

Remove build environment architecture check, which fails building x64 on
ARM64. That whole file needs to be rewritten to use the compiler target
architecture.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-13 20:59:08 -07:00
Rafael Kitover
32622efc1e translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-11 11:00:20 +00:00
Rafael Kitover
1dd5ba4567 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-04 08:00:21 +00:00
Rafael Kitover
2070f75934 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-03 18:00:30 +00:00
Rafael Kitover
89146a8597 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-09-03 17:00:21 +00:00
Rafael Kitover
043956753b translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-30 15:00:20 +00:00
Rafael Kitover
e0eb3b3dab translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-30 08:00:21 +00:00
Rafael Kitover
e3e14232f7 Set gba_darken opt default to 37
Set the GBA darken value default to 37 instead of 50, seems to look
pretty good.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-28 04:23:51 +00:00
Squall Leonhart
7565cac230 Update 2xSaI.cpp
The previous interpolation operator could cause the channels to bleed into the next when the LCD Color filter was enabled, on some starts, some settings.
2025-08-25 17:41:04 +10:00
Rafael Kitover
33c5aeb80e Default LCD Filter to enabled for GBA/GB
Set the defaults for GB and GBA LCD Filter to enabled and rewrite the
values in previous versions of the config to enabled as well.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-24 02:49:59 +00:00
Rafael Kitover
c5510ba28f ci: update install-nix-action to v31
Update the GitHub CI action install-nix-action to v31 and remove
references to apple_sdk from default.nix, they have been deprecated.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-23 22:04:19 +00:00
Rafael Kitover
96c23628ba Set default for gba_darken to 50
Set the default for the color correction option gba_darken to 50, which
is the nicest looking value.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-23 16:39:22 +00:00
Rafael Kitover
37fb449fc9 Remove gbafilter_pad/gbcfilter_pad, dead code
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-23 16:35:06 +00:00
Rafael Kitover
7519c9b818 translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-23 01:00:20 +00:00
Rafael Kitover
24b779c09e translations: transifex pull
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-23 00:00:20 +00:00
Rafael Kitover
a17df26e52 build: fix Debian installdeps for current Ubuntu
Fix installdeps for Debian variants by checking for `libsdl3-dev` and
falling back to `libsdl2-dev` if not available.

Also add `libx264-dev` and `libx265-dev` to the list of FFmpeg packages
as we now require them.

Fix #1486

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2025-08-21 22:53:33 +00:00