Commit Graph

14 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
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
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
af841071b7 Check buffer size 2026-06-19 16:24:57 +01:00
capitalistspz
f7f8c06935 Rebased 2026-06-19 16:24:41 +01:00
Exzap
c5913fe8cb refactor/rpl: Treat HLE libs more like RPL modules
HLE modules now have a unified interface via which they can get notified when mapped into the process or when loaded/unloaded.

We also always call the unload functions when stopping emulation to give the module implementations a chance to reset all state (although many of them are still missing proper cleanup code for now)
2026-01-07 02:46:49 +01:00
Exzap
ec2d7c086a coreinit: Clean up time functions
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-30 03:49:17 +01:00
Exzap
e2d0871ca3 Camera: Set error code in CAMInit
Fixes Hunter's Trophy 2 crashing on boot
2024-12-07 10:26:17 +01:00
Exzap
d60742f52b Add all the files 2022-08-22 22:21:23 +02:00