Commit Graph

802 Commits

Author SHA1 Message Date
capitalistspz
cfd148ac36 Move camera code to CemuInput
Compiling the precompiled headers for `CemuCamera` took longer than compiling `CemuCamera` itself, so it just ends up being noticeably faster to just add it to one of the existing sublibs. It probably wasn't a problem for MSVC because precompiled header reuse works there, but I'm not using MSVC
2026-06-19 16:29:42 +01:00
capitalistspz
02c063e44b Store camera name to config instead of unique ID
Unique IDs vary across restarts and re-plugs, which isn't really suitable for being saved to config
2026-06-19 16:29:42 +01:00
capitalistspz
5adefd1d0f Swap buffers during capture
Also ensures a lock is released
2026-06-19 16:29:42 +01:00
capitalistspz
da28096d7a Prevent CameraManager::Deinit from stopping the application entirely 2026-06-19 16:29:42 +01:00
capitalistspz
ef44b4b40d Use cemu_use_precompiled_header 2026-06-19 16:29:42 +01:00
capitalistspz
d09429dfb6 Link to CemuConfig in CemuCamera
I'm using it after all
2026-06-19 16:29:42 +01:00
capitalistspz
ca10a5169d Revert "Give up on using the precompiled headers"
This reverts commit 9fb8618c44.
2026-06-19 16:29:42 +01:00
capitalistspz
1219bcb75d Give up on using the precompiled headers 2026-06-19 16:29:42 +01:00
capitalistspz
7fb5c83bbe Link to CemuGui in CemuCamera despite not using any GUI code
Every other Cemu component links it
2026-06-19 16:29:42 +01:00
capitalistspz
a8980a8d0b Link CemuCommon as PUBLIC
I know it doesn't match the rest of the `CMakeLists`
2026-06-19 16:29:42 +01:00
capitalistspz
883e5de59d Link to CemuCamera in CemuBin 2026-06-19 16:29:42 +01:00
capitalistspz
31fdaeff1c Remove extra #pragma once 2026-06-19 16:29:42 +01:00
capitalistspz
6338e40aa3 CMakeLists.txt adjustments 2026-06-19 16:29:42 +01:00
capitalistspz
543d6b4b2a Formatting and cleanup 2026-06-19 16:29:42 +01:00
capitalistspz
a39830e5ec Use OSMutex 2026-06-19 16:29:42 +01:00
capitalistspz
90c6016a9f Small changes to worker thread func 2026-06-19 16:29:42 +01:00
capitalistspz
8d2f196e25 Remove unused variables 2026-06-19 16:29:42 +01:00
capitalistspz
1a632aeb43 Init CameraManager on open, deinit on close
And buffer allocation and deallocation occur on init and deinit
2026-06-19 16:29:42 +01:00
capitalistspz
3235ffbda4 Remove duplicate sources in CMakeLists.txt 2026-06-19 16:29:42 +01:00
capitalistspz
ed6ab83d8e Call CAMExit on camera lib unload 2026-06-19 16:29:42 +01:00
capitalistspz
f2c5eac978 Some cleanup 2026-06-19 16:29:42 +01:00
capitalistspz
e4f0972932 Add tooltip 2026-06-19 16:29:42 +01:00
capitalistspz
f3d3aae0de Fix config saving 2026-06-19 16:29:42 +01:00
capitalistspz
bbdaf8c212 Fix settings window preview 2026-06-19 16:29:42 +01:00
capitalistspz
b35887afdf Add Camera Settings menu option 2026-06-19 16:29:31 +01:00
capitalistspz
af841071b7 Check buffer size 2026-06-19 16:24:57 +01:00
capitalistspz
f7f8c06935 Rebased 2026-06-19 16:24:41 +01:00
Crementif
fe70fdcfe5 debugger: Don't clear register views when continuing to run code 2026-06-13 20:35:12 +02:00
goeiecool9999
dbec2c717c
Clean up includes in MainWindow and remove duplicate helper (#1955) 2026-06-13 15:54:26 +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
codeman4033
d20d701ef0
OpenGL: Clamp vsync to valid value (#1937) 2026-06-10 15:24:38 +02:00
Swift
745d30bc08
debugger: Tweaks + add context menu to write different value types (#1950) 2026-06-09 22:04:33 +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
capitalistspz
ca15637b63
UI: Fix formatting error in TextureRelationWindow (#1926) 2026-05-23 00:53:07 +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
oltolm
ad73c1e054
Input: Fix race condition in button mapping access (#1900) 2026-05-15 20:30:49 +02:00
Crementif
2fd322ecf7 gui: improve graphic pack download buttons
I made the download URL button work the same as the regular download community buttons did. Also styled it a bit differently to make it less prominent.
2026-05-15 00:58:10 +02:00