mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-25 19:44:57 +00:00
cleanup
This commit is contained in:
parent
b312171e83
commit
5a2c2b30f1
@ -125,7 +125,6 @@ int EqueueInternal::WaitForEvents(SceKernelEvent* ev, int num, u32 micros) {
|
|||||||
.count();
|
.count();
|
||||||
count = WaitForSmallTimer(ev, num, std::max(0l, long(micros - time_waited)));
|
count = WaitForSmallTimer(ev, num, std::max(0l, long(micros - time_waited)));
|
||||||
}
|
}
|
||||||
small_timer_event.event.data = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ev->flags & SceKernelEvent::Flags::OneShot) {
|
if (ev->flags & SceKernelEvent::Flags::OneShot) {
|
||||||
|
@ -178,7 +178,6 @@ private:
|
|||||||
std::string m_name;
|
std::string m_name;
|
||||||
std::mutex m_mutex;
|
std::mutex m_mutex;
|
||||||
std::vector<EqueueEvent> m_events;
|
std::vector<EqueueEvent> m_events;
|
||||||
EqueueEvent small_timer_event{};
|
|
||||||
std::condition_variable m_cond;
|
std::condition_variable m_cond;
|
||||||
std::unordered_map<u64, SmallTimer> m_small_timers;
|
std::unordered_map<u64, SmallTimer> m_small_timers;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user