native ps4 audio sink

This commit is contained in:
lizzie 2026-03-07 21:07:14 +00:00
parent 386c032e79
commit 79a4439b1b
6 changed files with 224 additions and 3 deletions

View file

@ -100,7 +100,7 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system
{"nvservices", &Nvidia::LoopProcess},
{"bsdsocket", &Sockets::LoopProcess},
}) {
if (run_on_host) kernel.RunOnHostCoreProcess("vi", [&, token] { VI::LoopProcess(system, token); }).detach();
if (run_on_host) kernel.RunOnHostCoreProcess(std::string(e.first), [&system, f = e.second] { f(system); }).detach();
else kernel.RunOnGuestCoreProcess(std::string(e.first), [&system, f = e.second] { f(system); });
}
if (run_on_host) kernel.RunOnHostCoreProcess("vi", [&, token] { VI::LoopProcess(system, token); }).detach();