Commit Graph

980 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
27e10ca5da Update openpnp-capture (fix turbojpeg link failure when used alongside vcpkg) 2026-06-19 16:29:42 +01:00
capitalistspz
5c562a2d0f Update openpnp-capture (fix turbojpeg import) 2026-06-19 16:29:42 +01:00
capitalistspz
dc086af608 Update openpnp-capture and set MSVC runtime lib 2026-06-19 16:29:42 +01:00
capitalistspz
8f04af1451 Update openpnp-capture (fix Windows static linking) 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
496b472f44 Update openpnp-capture and link statically 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
capitalistspz
079a4af651
debugging: Add GDB pretty printers for common types (#1957)
By default, GDB will not autoload this for security reasons. See https://sourceware.org/gdb/current/onlinedocs/gdb.html/Auto_002dloading-safe-path.html to see how to enable it.
2026-06-17 18:24:09 +02: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
Exverge
65a37336a7
ih264d: Fix color inaccuracy on aarch64 (#1954) 2026-06-11 22:23:18 +02:00
capitalistspz
b517fbc147
build: Make CMake ask for fmt 12.1 instead of 9 (#1953) 2026-06-11 15:38:44 +02:00
Exzap
a52c9bd74f README.md: Add LLM policy
This does not apply retroactively to pull requests which are already open
2026-06-10 17:28:55 +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