Commit Graph

27454 Commits

Author SHA1 Message Date
Zephyron
bdd2875642 feat: Add Profile-Guided Optimization (PGO) build support
Implements two-stage PGO build system with CMake integration and
automated build scripts for Windows, Linux, and macOS. Supports
MSVC, GCC, and Clang compilers.

PGO enables runtime profiling-based optimizations for improved
emulator performance. Includes helper scripts to streamline the
build workflow and resolve platform-specific issues.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-11 13:30:39 +10:00
Zephyron
2a7e6c74bd Fix Android RAM overlay instant crash
Use getMainLooper() instead of myLooper() in Handler initialization
and add view attachment checks to prevent crashes.

Reported-by: Shadai (theonlyshadai) on Discord
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-08 16:59:38 +10:00
Zephyron
4c5f12ec69 fix(qt): Use QImage::mirrored() instead of non-existent flipped()
QImage does not have a flipped() method. Replace with the correct mirrored(false, true) call to perform vertical image flipping for
screenshot capture.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-08 16:24:54 +10:00
Zephyron
c98d253040 cmake: Auto-create user directory for portable mode
Suggested-by: dr.stug@citron-emu.org
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-08 16:21:14 +10:00
Zephyron
c1a6f2d47b Merge branch 'refine_lanczos' into 'main'
fix(Renderer): Stabilize Lanczos Filter

See merge request citron/emulator!96
2025-10-08 11:13:06 +10:00
Zephyron
20cf1339a5 Merge branch 'perf_temp_feat' into 'main'
feat(overlay): Add CPU & GPU Temperature Monitoring

See merge request citron/emulator!95
2025-10-08 11:12:45 +10:00
Zephyron
15498b13d4 Merge branch 'web_backend_bug' into 'main'
fix: Use-After-Free Bug

See merge request citron/emulator!94
2025-10-08 11:12:17 +10:00
Zephyron
da07284544 Merge branch 'clang_discordrpc_warning_fix' into 'main'
fix: Clang Compilation Warnings

See merge request citron/emulator!93
2025-10-08 11:11:54 +10:00
collecting
c2d984610b refine: Lanczos Filter 2025-10-07 20:39:18 +00:00
collecting
9c7d0bb49c feat: Battery Percent & Temp for Android 2025-10-07 19:51:12 +00:00
collecting
8a7e3c5398 feat: Add Battery Percentage & Temp for Android 2025-10-07 19:50:30 +00:00
collecting
c2c592c8ea feat: Add Color & UI Fix for Temp 2025-10-07 13:07:31 +00:00
collecting
a9b48aaa39 feat: Add Color & Fix UI For Temp 2025-10-07 13:06:56 +00:00
collecting
0386af7a17 feat: Add GPU & CPU Temperatures 2025-10-07 12:44:46 +00:00
collecting
e9feac8b8f feat: Add CPU & GPU Temperature 2025-10-07 12:44:18 +00:00
collecting
f9fe12a0ea feat: Add CPU & GPU Temperatures 2025-10-07 12:43:47 +00:00
collecting
82f6c4a7c5 fix: Use-After-Free Bug 2025-10-07 11:27:03 +00:00
collecting
2d94e12fba fix: Clang Compilation Warnings 2025-10-07 10:10:06 +00:00
Zephyron
996237f889 Merge branch 'multiple_compile_fixes' into 'main'
fix: Multiple Compiler Warnings

See merge request citron/emulator!92
2025-10-07 18:36:25 +10:00
Zephyron
3a25e69004 Merge branch 'add_copyright' into 'main'
fix: Add Copyright

See merge request citron/emulator!91
2025-10-07 18:36:20 +10:00
collecting
72d6f9448b add: -p0 to discord-rpc patch 2025-10-07 07:31:38 +00:00
collecting
781d21ec7b add: Discord-RPC wclass memaccess Patch 2025-10-07 07:24:32 +00:00
collecting
3e11537f38 add: Discord-RPC warning patch 2025-10-07 07:19:10 +00:00
collecting
89300b17bf fix: remove -p0 from Clang & rapidjson 2025-10-07 06:55:53 +00:00
collecting
0c2502f3fc fix: disable Warnings 2025-10-07 06:54:08 +00:00
collecting
7b0b3f37d2 remove: Deprecated Value 2025-10-07 06:53:11 +00:00
collecting
101363c5eb fix: Qt::Vertical 2025-10-07 06:52:32 +00:00
collecting
2a53da7b16 fix: checkStateChanged 2025-10-07 06:51:58 +00:00
collecting
944bfc3918 fix: configure_system.cpp 2025-10-07 06:51:21 +00:00
collecting
4cdf19f323 fix: checkStateChanged 2025-10-07 06:50:32 +00:00
collecting
325a157362 fix: checkStateChanged 2025-10-07 06:49:50 +00:00
collecting
6b019fc34d fix: checkStateChanged 2025-10-07 06:48:54 +00:00
collecting
340838c0eb fix: checkStateChanged 2025-10-07 06:46:53 +00:00
collecting
ea26753051 fix: Add Copyright 2025-10-07 06:31:32 +00:00
Zephyron
d06586b047 Merge branch 'ring_buffer_fix' into 'main'
fix: Stable & Predictable 64-byte

See merge request citron/emulator!90
2025-10-07 15:47:34 +10:00
Zephyron
8b830b310b fix(dynarmic): Remove MSVC-specific fastmem_pointer assignments
Unify fastmem_pointer handling by using reinterpret_cast<uintptr_t>()
and std::nullopt consistently across all platforms, fixing MSVC
compilation errors with std::optional<uintptr_t> assignment.

Fixes: C2679 binary '=' operator errors on MSVC
Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-07 15:45:56 +10:00
collecting
add9a52fcd fix: Stable & Predictable 64-byte 2025-10-07 05:37:38 +00:00
Zephyron
84a3e34f93 Merge branch 'error_warning_fixes' into 'main'
fix: Resolve critical memory-safety compiler warnings

See merge request citron/emulator!89
2025-10-07 15:34:58 +10:00
collecting
791718ea7f fix: string for Citron compilation error 2025-10-07 05:10:41 +00:00
collecting
5ffcc35011 fix: -p0 & new stb_image.h patch 2025-10-07 05:09:39 +00:00
collecting
339b8fbc1f add: STB Image Overflow Patch 2025-10-07 05:07:58 +00:00
Zephyron
1d13bbdadc Merge branch 'copyright_addition' into 'main'
fix: Copyright

See merge request citron/emulator!87
2025-10-07 15:05:00 +10:00
Zephyron
32ab431ebf Merge branch 'msvc_compilation_fix' into 'main'
fix(MSVC): Compilation Error

See merge request citron/emulator!88
2025-10-07 15:04:54 +10:00
collecting
32ea5f0fd0 fix: MSVC Compiler Error 2025-10-07 02:36:00 +00:00
collecting
20e594ca46 fix: MSVC Compiler Error 2025-10-07 02:35:03 +00:00
collecting
f0ccc3108e fix: Copyright 2025-10-06 05:00:49 +00:00
Zephyron
8f38c83a2e Merge branch 'add_to_frag' into 'main'
fix: Lanczos Frag

See merge request citron/emulator!86
2025-10-06 13:31:31 +10:00
collecting
6e315c09e8 fix: Lanczos Frag 2025-10-06 03:24:35 +00:00
Zephyron
dafdc1c775 fix: resolve C4305 truncation warnings in QColor::fromHsvF calls
Add 'f' suffix to prevent double->float truncation warnings being treated as errors

Signed-off-by: Zephyron <zephyron@citron-emu.org>
2025-10-06 12:49:43 +10:00
Zephyron
09b2fefa31 Merge branch 'lanczos_cmakes' into 'main'
fix: Lanczos

See merge request citron/emulator!85
2025-10-06 12:36:20 +10:00