mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 09:48:24 +00:00
core: hle: service: nvflinger/vi: Improve management of KEvent.
This commit is contained in:
parent
0cd7bf70a3
commit
8cbb66daf8
4 changed files with 30 additions and 16 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "core/hle/service/kernel_helpers.h"
|
||||
|
||||
namespace Common {
|
||||
class Event;
|
||||
|
@ -135,6 +136,8 @@ private:
|
|||
std::unique_ptr<std::thread> vsync_thread;
|
||||
std::unique_ptr<Common::Event> wait_event;
|
||||
std::atomic<bool> is_running{};
|
||||
|
||||
KernelHelpers::ServiceContext service_context;
|
||||
};
|
||||
|
||||
} // namespace Service::NVFlinger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue