hle: kernel: Reimplement KReadableEvent and KWritableEvent.

This commit is contained in:
bunnei
2021-01-31 01:38:57 -08:00
parent 6bf80dfee0
commit ff3c7c068b
38 changed files with 342 additions and 299 deletions

View File

@@ -6,10 +6,13 @@
#include <array>
#include <vector>
#include "core/hle/kernel/k_readable_event.h"
#include "core/hle/kernel/k_writable_event.h"
#include "core/hle/service/service.h"
namespace Kernel {
class KEvent;
}
namespace Service::NFP {
class Module final {
@@ -39,7 +42,7 @@ public:
const AmiiboFile& GetAmiiboBuffer() const;
private:
Kernel::EventPair nfc_tag_load{};
std::shared_ptr<Kernel::KEvent> nfc_tag_load;
AmiiboFile amiibo{};
protected: