Commit Graph

27437 Commits

Author SHA1 Message Date
collecting
528c18b008 fix: Ability to Move Performance Overlay (Wayland) 2025-09-29 01:19:22 +00:00
Zephyron
d627962408 cmake: exclude Boost::process on Android
Boost::process is not available on Android, causing build failures.
Conditionally link it only on non-Android platforms.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 21:39:28 +10:00
Zephyron
12b1e4b3ae Merge branch 'acc-u0-service-implementation' into 'main'
feat(acc): implement missing acc:u0 functions per SwitchBrew spec

See merge request citron/emulator!56
2025-09-27 21:23:50 +10:00
Zephyron
0ca82d134c feat(acc): implement missing acc:u0 functions per SwitchBrew spec
- Add function 52 (TrySelectUserWithoutInteraction)
- Implement stubbed functions with proper async context classes
- Fix constructor arguments and type conversion warnings

Resolves assertion failure for unimplemented function 52.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 21:21:17 +10:00
Zephyron
23352d4a3f fix(dynarmic): resolve fastmem_pointer type compatibility issues
- Convert fastmem_pointer assignments from raw pointers to uintptr_t
- Replace nullptr comparisons with std::optional::has_value()
- Use std::nullopt instead of nullptr for optional types
- Update Dynarmic submodule to commit 9d4582339

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 20:22:04 +10:00
Zephyron
9e6956a93f Fix Android build by conditionally excluding boost_process component
- Add Android check to only request boost context component on Android

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 11:53:04 +10:00
Zephyron
274b027668 fix: allow Insane VRAM mode persistence
- Update VRAM setting max value from HighEnd to Insane
- Add TAA translation for UI
- Fixes issue where Insane VRAM reverts to HighEnd

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 11:48:01 +10:00
Zephyron
f75cf14c1f fix(hid): Add SixAxis sensor validation and error handling
- Add parameter validation for joy_xpad_id, device_index, and npad_id
- Implement proper SixAxis resource manager integration with null checks
- Add safe fallback values to prevent crashes in motion sensor games
- Enhance error handling and logging for SixAxis sensor operations
- Address crashes in games like TOTK 1.4.2 that use motion sensors

Resolves SixAxis sensor crashes by following SwitchBrew HID service
specifications and adding proper parameter validation.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 10:17:44 +10:00
Zephyron
b6cb5c06e0 Merge branch 'audio-renderer-rev13-support' into 'main'
feat(audio): Add REV13 audio renderer support

See merge request citron/emulator!55
2025-09-27 10:14:18 +10:00
Zephyron
2fa3501ff4 feat(audio): Add REV13 audio renderer support
- Implement compressor statistics collection and tracking
- Add explicit splitter volume reset functionality
- Implement REV13 audio device notification commands
- Update feature support system to revision 13
- Maintain backward compatibility with older revisions

Resolves REV13 audio renderer feature requirements with proper
Nintendo Switch development practices and SwitchBrew compatibility.

REF: a2c0035013
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-27 10:13:32 +10:00
Zephyron
0001539f4a Merge branch 'Add_Object_Fix' into 'main'
fix: create a Service::Set::SerialNumber object

See merge request citron/emulator!54
2025-09-27 08:52:16 +10:00
collecting
c6a2a2a728 fix: create a Service::Set::SerialNumber object 2025-09-26 13:56:09 +00:00
Zephyron
1e8dce4f5e Merge branch 'qt6-aqtinstall-migration' into 'main'
feat: Implement Qt6 migration with aqtinstall 3.3.0

See merge request citron/emulator!52
2025-09-26 19:46:31 +10:00
Zephyron
4e377dde5a feat: Implement Qt6 migration with aqtinstall 3.3.0
- Migrate from Qt5 to Qt6.7.3 using aqtinstall v3.3.0
- Add comprehensive Qt6 API compatibility updates
- Implement responsive UI with High DPI scaling support
- Add MSVC runtime library configuration for consistency
- Update touch/mouse event handling for Qt6 APIs
- Fix locale handling (countryToString → territoryToString)
- Update string size methods (count() → size())
- Remove deprecated Qt5 high DPI attributes
- Add new CopyCitronQt6Deps.cmake for Qt6 dependency management
- Update CMake configuration for Qt6-only approach
- Add aqt_config.ini with mirror configuration for reliable downloads

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-26 19:42:30 +10:00
Zephyron
42ee9916b7 chore: Set version to 0.7.1 in title bar and about dialog
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-26 18:01:41 +10:00
Zephyron
5871f4b418 revert: af223e445f && 5ed7df1e68
- Needs To Be A Branch

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-26 16:55:32 +10:00
Zephyron
7acd55a005 Merge branch 'collecting-main-patch-05267' into 'main'
Audio Stability Fixes

See merge request citron/emulator!51
2025-09-26 15:51:13 +10:00
Zephyron
704c886d3d Merge branch 'collecting-main-patch-77704' into 'main'
Audio Stability Issues

See merge request citron/emulator!50
2025-09-26 15:51:10 +10:00
Zephyron
5241b9d172 Merge branch 'collecting-main-patch-02332' into 'main'
Audio Stability Fixes

See merge request citron/emulator!49
2025-09-26 15:51:03 +10:00
Zephyron
51a0e1fcc8 Merge branch 'collecting-main-patch-75734' into 'main'
Crash-on-Exit from ServiceManager Null Pointer

See merge request citron/emulator!48
2025-09-26 15:50:59 +10:00
Zephyron
493e9b3965 Merge branch 'collecting-main-patch-15392' into 'main'
Initialize variable

See merge request citron/emulator!47
2025-09-26 15:50:55 +10:00
Zephyron
122e550e45 Merge branch 'collecting-main-patch-33675' into 'main'
Memory Leak Fix

See merge request citron/emulator!46
2025-09-26 15:50:51 +10:00
collecting
97cd9112a1 Audio Stability Fixes 2025-09-26 04:40:01 +00:00
collecting
38a189c0af Audio Stability Issues 2025-09-26 04:30:47 +00:00
collecting
1c48d8fb7d Audio Stability Fixes 2025-09-26 04:27:01 +00:00
collecting
f99fc514df Crash-on-Exit from ServiceManager Null Pointer 2025-09-26 04:24:23 +00:00
collecting
fe88ad18a7 Memory Leak Fix 2025-09-26 04:20:43 +00:00
collecting
f18c6f09e1 Crash-on-Exit from ServiceManager Null Pointer 2025-09-26 03:33:32 +00:00
collecting
3a517f15da Initialize Variable 2025-09-26 02:37:40 +00:00
collecting
b65759e413 Initialize variable 2025-09-26 02:32:43 +00:00
collecting
0993d4d86f Memory Leak Fix 2025-09-26 02:31:32 +00:00
collecting
9ffa26f177 Memory Leak Fix 2025-09-26 02:29:22 +00:00
Zephyron
5ed7df1e68 audio_core: Implement further Audio REV 15 support for SDK 19.0.0+ compatibility
This commit adds further Audio REV 15 support to enable compatibility with games
compiled against Nintendo Switch SDK 19.0.0 and later versions.

Fixes: Audio compatibility issues with SDK 19.0.0+ games
Resolves: Missing Audio REV 15 feature support
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-25 16:52:04 +10:00
Zephyron
1bcabda885 fix: resolve UpdaterDialog linker errors when auto updater disabled
Wrap updater includes and usage in CITRON_USE_AUTO_UPDATER guards to prevent
unresolved external symbol errors when the updater functionality is not enabled.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-25 16:22:16 +10:00
Zephyron
f966f84fd7 Merge branch 'collecting-main-patch-52745' into 'main'
Remove unused variable

See merge request citron/emulator!38
2025-09-24 15:54:45 +10:00
Zephyron
385e97e850 Merge branch 'collecting-main-patch-57290' into 'main'
Edit main.cpp

See merge request citron/emulator!37
2025-09-24 15:54:21 +10:00
Zephyron
41cd79faf0 Merge branch 'collecting-main-patch-00739' into 'main'
Edit CMakeLists.txt w/ Citron Updater

See merge request citron/emulator!36
2025-09-24 15:53:39 +10:00
Zephyron
bb87388ba9 Merge branch 'collecting-main-patch-23223' into 'main'
std::vector::at() crash fix

See merge request citron/emulator!35
2025-09-24 15:53:24 +10:00
collecting
90e39d3c3b Remove unused variable 2025-09-24 04:51:15 +00:00
collecting
4ec8ddbcf7 Edit main.cpp 2025-09-24 04:35:09 +00:00
collecting
004029669d Edit CMakeLists.txt w/ Citron Updater 2025-09-24 04:33:51 +00:00
collecting
6bfe70c1bc std::out_of_range crash 2025-09-23 12:18:36 +00:00
collecting
ad721f81c3 std::vector::at() crash fix 2025-09-23 12:11:31 +00:00
Zephyron
af223e445f feat: Enhance audio renderer with new features and simplify Android UI indicators
Audio Core:
- Add support for splitter previous volume reset (REV 13+)
- Implement new audio processing time limits (REV 14-15)
- Add voice channel resource limits and effect processing v3
- Support float biquad filters for improved audio quality
- Enhance error handling to prevent audio system crashes

Android UI:
- Simplify FPS, RAM, and thermal indicator views
- Remove complex backgrounds and icons for cleaner display
- Reduce view sizes and improve text-based rendering
- Maintain color-coded status indicators for performance metrics

Core System:
- Improve file system save data space handling
- Enhance kernel synchronization error handling
- Add new error modules and result codes
- Fix potential infinite loops in handle operations

These changes improve audio processing capabilities while providing a cleaner,
more performant Android UI experience.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-23 21:26:59 +10:00
Zephyron
af6a54751e Merge branch 'collecting-main-patch-16428' into 'main'
Environment Variables (SSL and Wayland)

See merge request citron/emulator!34
2025-09-23 21:04:56 +10:00
Zephyron
f8c6cff950 Merge branch 'collecting-main-patch-94126' into 'main'
QObject::connect Error

See merge request citron/emulator!33
2025-09-23 21:04:08 +10:00
collecting
d7ee715254 Environment Variables (SSL and Wayland) 2025-09-23 10:43:30 +00:00
collecting
6d96e778ec QObject::connect Error 2025-09-23 10:40:59 +00:00
Zephyron
e05296c798 fix: make updater functionality conditional with CITRON_USE_AUTO_UPDATER option
- Add CITRON_USE_AUTO_UPDATER CMake option (default: OFF)
- Move updater source files to conditional target_sources block
- Add _WIN32 definition for proper moc processing on Windows
- Fixes C2664 compilation error with UpdaterDialog::OnUpdateCompleted

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-09-23 15:36:39 +10:00
Zephyron
7b6ed41be6 Merge branch 'collecting-main-patch-80587' into 'main'
#define STBI_NO_SIMD

See merge request citron/emulator!32
2025-09-23 15:09:35 +10:00