Commit Graph

954 Commits

Author SHA1 Message Date
Exzap
3ac95c4f43 More robust graphics API fallback 2026-05-09 14:49:47 +02:00
Exzap
6d27e9525a Reduce amount of #ifdefs 2026-05-09 14:13:08 +02:00
Emma
55e0dbae20
Merge branch 'main' into vulkan-opengl-options 2026-05-08 15:12:26 +00:00
bslhq
f3fecba313
Migrate from SDL2 to SDL3 3.4.2 (#1847) 2026-05-08 17:11:19 +02:00
shinra-electric
0d832c48b1
CI: Disable fail-fast for macOS builds (#1901) 2026-05-07 13:44:07 +02:00
Exzap
e8bee64b5e Latte: Fix rare corruption in buffer cache 2026-05-06 05:49:06 +02:00
Exzap
12970c2da6 PPCAsm: Fix string parsing when string contains escaped double quote
Also fix write position not being advanced after a string
2026-05-06 04:24:48 +02:00
Exzap
a8bd6f84f7 coreinit: Implement OSDynLoad_IsModuleLoaded 2026-05-04 03:09:29 +02:00
Exzap
0b661488d7 coreinit: Always try to print symbols for PPC stack traces 2026-04-30 02:37:32 +02:00
Exzap
4051683973 PPCRec: Cleanup and smaller fixes 2026-04-30 02:37:32 +02:00
Exzap
58c25d5303 Latte: Clean up LatteBufferCache.cpp 2026-04-30 02:37:31 +02:00
Exzap
d92edefafb PPCAsm: Reloc modifiers should behave more like LLVM/gnu assembler 2026-04-29 19:52:33 +02:00
Exzap
b2a735e0e2 PPCAsm: Support C-style escapes in strings 2026-04-29 18:24:29 +02:00
Exzap
f9ba33a406 PPCAsm: Support cr register in bcclr instructions 2026-04-29 18:24:29 +02:00
Exzap
15ceda1233 GfxPack: Log line number for errors caused by malformed expressions 2026-04-29 18:24:29 +02:00
Exzap
c080b7385e Latte: Rework interval tree for vertex/uniform cache 2026-04-29 18:24:29 +02:00
Exzap
1baf219cb2 Vulkan: Add tilemode to texture debug name 2026-04-29 18:24:29 +02:00
Exzap
414aa9d6b3 GX2+Latte: Rework GX2CopySurface 2026-04-29 18:24:29 +02:00
Exzap
e2a69becf1 debugger: Rework PPC debugger
This is a first pass for now, more work is needed mostly for UI polish.
Changes in this commit:
- Debugger now exposes a thread-safe API. Previously everything would just access internal debugger state directly without regard for race conditions
- Reworked stepping logic to be more reliable. For example previously Cemu could get forever stuck in the middle of stepping to the next instruction
- Support for debugging while using multi-threaded CPU emulation. Originally the debugger was added when only single core support existed in Cemu. It was possible to debug multi-threaded before but it was very very prone to state corruptions.
- Debugger should now remember breakpoints correctly across sessions
2026-04-29 18:24:29 +02:00
Emma
1c2b7d787e
build: Add ENABLE_LIBUSB option (#1886) 2026-04-26 21:24:57 +02:00
Emma
dc547ce518
move IF ENABLE_VULKAN out of add_custom_command 2026-04-26 16:26:47 +00:00
Emma
4eb92d20b2
Merge branch 'main' into vulkan-opengl-options 2026-04-23 17:07:23 +00:00
SSimco
6f6c1299e2
Logging: Add compile-time format checks (#1885) 2026-04-22 15:51:44 +02:00
Emma
f8fb588b36
build: macOS CMake fixes (#1883) 2026-04-22 15:49:41 +02:00
shinra-electric
aa6e2c0539
build.MD: Add pkgconf to mac brew dependencies & mention bundle flag (#1882) 2026-04-22 15:25:40 +02:00
Lightnight1
cd23241f29
UI: Added a button to download and install gfx packs from an url (#1866) 2026-04-22 15:24:18 +02:00
emiyl
ca8ca21724 fix update.sh only being included in the .app if vulkan was enabled ?? 2026-04-21 15:38:22 +01:00
emiyl
68951b43b9 move LatteShaderGL to Renderer/OpenGL and move LatteDefaultShaders to Renderer/OpenGL/LatteSurfaceCopy 2026-04-21 13:28:26 +01:00
goeiecool9999
b5dccb20e6 fix linux builds with vulkan enabled 2026-04-21 13:58:41 +02:00
goeiecool9999
a9f8e6430d fix linux build without vulkan 2026-04-21 13:50:46 +02:00
emiyl
3b0e5cef00 fix LatteDecompilerAnalyzer checking for metal and then refusing metal lol 2026-04-21 12:43:28 +01:00
emiyl
df997bc9c8 use #ifdef for ENABLE_METAL too to be consistent 2026-04-21 12:38:30 +01:00
goeiecool9999
d0852812cc fix linux build without openGL 2026-04-21 13:29:17 +02:00
emiyl
594f377671 isolate more stuffs to opengl/vulkan only 2026-04-21 12:26:33 +01:00
emiyl
6e7d95714a fix cmakelists 2026-04-21 12:20:54 +01:00
emiyl
db4b8f3a9d move Common/CommonRendererCore -> RendererCore 2026-04-21 12:06:57 +01:00
goeiecool9999
5ede01ac6d also remove empty if statement when vulkan is disabled on macOS 2026-04-21 12:46:22 +02:00
emiyl
53fe038e82 change default graphic api values depending on what's enabled 2026-04-21 02:59:52 +01:00
emiyl
b6bcb954c4 give consistent config values for selecting graphic apis 2026-04-21 02:59:35 +01:00
emiyl
46ab3966ff build macos with no opengl as default 2026-04-21 02:15:56 +01:00
emiyl
e98a725c0b remove "Currently required" from ENABLE_OPENGL in build.md 2026-04-21 01:50:35 +01:00
emiyl
238323b9fe whoopsies misplaced my bracket 2026-04-21 01:49:22 +01:00
emiyl
8d8722a264 pragma once the LatteRingBuffer header 2026-04-21 01:34:53 +01:00
emiyl
5ee1759dee fix graphic api setting and selection in GeneralSettings2 and MainWindow 2026-04-21 01:28:16 +01:00
emiyl
b6d0c66e91 use correct include file for glcleartexsubimage 2026-04-21 01:05:46 +01:00
emiyl
b02a2cd2c0 move cmake compile definitions to appropriate place 2026-04-21 01:02:19 +01:00
emiyl
e30558a503 move LatteDefaultShaders to opengl only and add ifdef opengl to latteshader_prepareseparableuniforms 2026-04-21 00:55:17 +01:00
emiyl
4be30f6ef9 condense attribute pointer cache functions and move handleSpecialState8_clearAsDepth to common renderer 2026-04-21 00:49:41 +01:00
emiyl
828ddea0a8 actually rename it back to LatteDraw for consistency 2026-04-21 00:36:20 +01:00
emiyl
ed5b73938c Create CommonRendererCore to move LatteDraw_cleanupAfterFrame away from opengl stuffs 2026-04-21 00:34:30 +01:00