mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-29 03:05:32 +02:00
[core] move event creation to attached Core::System, remove unused atomics/prevent false share on Core::Timing
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
1071353291
commit
ca11829a82
18 changed files with 122 additions and 211 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#include "core/file_sys/vfs/vfs_types.h"
|
||||
#include "core/hle/service/os/event.h"
|
||||
#include "core/hle/service/kernel_helpers.h"
|
||||
#include "core/core_timing.h"
|
||||
|
||||
namespace Core::Frontend {
|
||||
class EmuWindow;
|
||||
|
|
@ -438,6 +439,8 @@ public:
|
|||
/// Applies any changes to settings to this core instance.
|
||||
void ApplySettings();
|
||||
|
||||
std::shared_ptr<Core::Timing::EventType> CreateEvent(std::string name, Core::Timing::TimedCallback&& callback);
|
||||
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue