mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
fix clang
This commit is contained in:
parent
24db8a9b72
commit
688cb39942
@ -324,7 +324,8 @@ static void TimerCallback(const boost::system::error_code& error, SceKernelEqueu
|
||||
auto timer = std::make_shared<boost::asio::steady_timer>(
|
||||
io_context, std::chrono::milliseconds(interval_ms));
|
||||
|
||||
timer->async_wait([eq, kevent, interval_ms, timer](const boost::system::error_code& ec) {
|
||||
timer->async_wait(
|
||||
[eq, kevent, interval_ms, timer](const boost::system::error_code& ec) {
|
||||
TimerCallback(ec, eq, kevent, interval_ms);
|
||||
});
|
||||
}
|
||||
@ -349,8 +350,7 @@ int PS4_SYSV_ABI sceKernelAddTimerEvent(SceKernelEqueue eq, int id, SceKernelUse
|
||||
event.time_added = std::chrono::steady_clock::now();
|
||||
LOG_DEBUG(Kernel_Event,
|
||||
"Added timing event: queue name={}, queue id={}, ms-intevall={}, pointer={:x}",
|
||||
eq->GetName(), event.event.ident, interval_ms,
|
||||
reinterpret_cast<uintptr_t>(udata));
|
||||
eq->GetName(), event.event.ident, interval_ms, reinterpret_cast<uintptr_t>(udata));
|
||||
|
||||
auto timer = std::make_shared<boost::asio::steady_timer>(
|
||||
io_context, std::chrono::milliseconds(interval_ms));
|
||||
|
Loading…
Reference in New Issue
Block a user