Commit Graph

493 Commits

Author SHA1 Message Date
Exzap
321fa4d74d Latte+Vulkan: Small code cleanup and optimization 2026-06-27 13:12:37 +02:00
Exzap
038781a05e Latte: Widen conditions for fast draw mode 2026-06-27 13:12:37 +02:00
Cynthia Coan
1c7fbafb00
coreinit: Flush logs when forwarding (#1965) 2026-06-25 17:26:41 +02:00
Exzap
53a74e44df coreinit+UI: Implement exit()
When coreinit exit() is hit, then Cemu will only close when the game was launched directly via command line parameters (-g or -t). Otherwise it returns to the game list. In the case where Cemu closes it will forward the coreinit exit status code as it's own exit status code. This is useful for cases where Cemu is used as a CLI tool for testing homebrew
2026-06-25 06:42:33 +02:00
Cynthia Coan
a3d6395ed7
Add command line parameters to make Cemu more useful for running tests (#1959) 2026-06-23 04:59:53 +02:00
JosJuice
f3d5788f0c
FST: Look for .key file next to wud/wux file (#1961) 2026-06-23 04:50:35 +02:00
Exzap
0a4f634eaf Latte: Handle texture copy edge-case
Fixes save preview images in BotW
2026-06-10 17:28:55 +02:00
Exzap
d28c7654ec snduser: Implement MIXSetDeviceSPan + MIXSetDeviceLFE 2026-06-10 17:28:55 +02:00
Exzap
e70b270e71 sndcore: Small fix and cleanup 2026-06-10 17:28:55 +02:00
Exzap
263b3510d6 snduser: Avoid hardcoded samples-per-frame 2026-06-10 17:28:55 +02:00
Exzap
fc001cdf05 sndcore: Improve PCM16 linear sampling + correctly clamp sndcore2 ADSR 2026-06-10 17:28:55 +02:00
Exzap
c2d428e5b5 snduser: Improve MIX functions
Fixes distorted sound in ZombiU
2026-06-10 17:28:55 +02:00
techmuse
bae38e56c2
GraphicPack: Allow overriding cos.xml permissions (#1948) 2026-06-08 17:59:51 +02:00
Hr. Vedel
e4fa470140
logging: Improve Windows OS version detection (#1949) 2026-06-08 17:02:51 +02:00
Ash
326933b248
nn_ac: Add local IP getter implementation for Linux (#1839) 2026-06-05 19:39:00 +02:00
Exzap
5c56bfe43b RPL: Use normalized module names + small code cleanup 2026-06-04 18:54:51 +02:00
Exzap
c0f02bcbd6 procui: Avoid crash during title shutdown 2026-06-04 03:20:30 +02:00
capitalistspz
591e721dc0
RPL: Remove incorrect ref count check (#1942) 2026-06-02 20:55:09 +02:00
oltolm
a02ba9d82b
Vulkan: Skip zero-size readback buffer barriers (#1929) 2026-05-28 13:04:46 +02:00
oltolm
a29a160b7c
Vulkan: Remove set decoration from vertex attributes (#1923) 2026-05-23 00:52:07 +02:00
oltolm
dfb9a99c3e
Vulkan: Remove unused transform feedback extension path (#1919) 2026-05-19 00:38:25 +02:00
Crementif
7ff99a5e13
debugger: Add support for loading symbols from .map file (#1916)
Map has to have the same name as the debugger/*.xml files, but with a .map extension
2026-05-19 00:21:14 +02:00
Hr. Vedel
6ab2f501ff
coreinit: Stub MCP_DemoGetRemainder to 99 (#1902) 2026-05-09 15:23:45 +02:00
Emma
0fc7403543
build+Latte: Add working ENABLE_OPENGL and ENABLE_VULKAN build options (#1887) 2026-05-09 15:03:25 +02:00
Exzap
e8bee64b5e Latte: Fix rare corruption in buffer cache 2026-05-06 05:49:06 +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
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
SSimco
6f6c1299e2
Logging: Add compile-time format checks (#1885) 2026-04-22 15:51:44 +02:00
Emma
02383542b2
mac: Allow running without logicOp and update macOS build instructions (#1880) 2026-04-18 22:57:27 +02:00
Emma
5ac87ba7f3
mac: Log CPU and OS version (#1879) 2026-04-18 19:53:21 +02:00
goeiecool9999
5ee74b5a6a GL: clean up shader object after compilation
On Linux/mesa, when compiling a big shader cache like BOTW this saves about 8.2 GiB of RAM usage
(only when ~/.cache/mesa_shader_cache and precompiled/_gl.bin cache is also fresh)
2026-04-18 18:48:54 +02:00
Sapphire
7e5516f94d
Vulkan: Fix compile error on glibc 2.43 (#1870) 2026-04-12 05:16:07 +02:00
goeiecool9999
391478b307
vulkan: Improve the Breath of the Wild RADV/LLVM workaround (#1862) 2026-04-10 22:46:51 +02:00
iPixzl
1644fd2e09
GamePatch: Add additional FFL endian-swap patch signature for Mario Kart 8 (#1867) 2026-04-10 22:45:27 +02:00
GaryOderNichts
c16936d381
build: Link zstd explicitly (#1860) 2026-04-04 16:32:12 +02:00
Exzap
6648a9c225 coreinit: Log errors in OSUnlockMutex instead of debug asserts 2026-03-24 04:15:28 +01:00
Exzap
f2f70e5df8 GX2: Fix several missing/incorrect cmd reserve calls 2026-03-24 04:15:28 +01:00
Exzap
f893e2928c GX2: Fix return type of GX2DrawDone 2026-03-24 04:15:28 +01:00
Exzap
8065520583 PPCRec: Fix eflags optimization 2026-03-24 04:15:28 +01:00
Exzap
0121e63408 coreinit: Implement OSFatal 2026-03-24 04:15:28 +01:00
Exzap
c92bef0352 coreinit: Refactor OSScreen 2026-03-24 04:15:28 +01:00