mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 03:21:38 +12:00
Rename Handle to HorizonHandle, add metal-cpp submodule, format
This commit is contained in:
parent
855a374f67
commit
0f80d0af7a
46 changed files with 150 additions and 60 deletions
|
@ -6,7 +6,14 @@
|
|||
#include "result/result.hpp"
|
||||
|
||||
class NDMService {
|
||||
enum class ExclusiveState : u32 { None = 0, Infrastructure = 1, LocalComms = 2, StreetPass = 3, StreetPassData = 4 };
|
||||
using Handle = HorizonHandle;
|
||||
enum class ExclusiveState : u32 {
|
||||
None = 0,
|
||||
Infrastructure = 1,
|
||||
LocalComms = 2,
|
||||
StreetPass = 3,
|
||||
StreetPassData = 4,
|
||||
};
|
||||
|
||||
Handle handle = KernelHandles::NDM;
|
||||
Memory& mem;
|
||||
|
@ -25,7 +32,7 @@ class NDMService {
|
|||
|
||||
ExclusiveState exclusiveState = ExclusiveState::None;
|
||||
|
||||
public:
|
||||
public:
|
||||
NDMService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue