mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 16:17:57 -05:00
Core: Protect each event from race conditions within it.
This commit is contained in:
@ -32,6 +32,7 @@ struct EventType {
|
||||
TimedCallback callback;
|
||||
/// A pointer to the name of the event.
|
||||
const std::string name;
|
||||
mutable std::mutex guard;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user