mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Add SystemSaveData::OpenFile and split up frd:u and frd:a
This commit is contained in:
parent
c48f8327c6
commit
7c2167e0f2
7 changed files with 61 additions and 12 deletions
|
@ -15,7 +15,6 @@ struct FriendKey {
|
|||
static_assert(sizeof(FriendKey) == 16);
|
||||
|
||||
class FRDService {
|
||||
Handle handle = KernelHandles::FRD;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, frdLogger)
|
||||
|
||||
|
@ -48,7 +47,13 @@ class FRDService {
|
|||
static_assert(sizeof(Profile) == 8);
|
||||
|
||||
public:
|
||||
enum class Type {
|
||||
A, // frd:a
|
||||
N, // frd:n
|
||||
U, // frd:u
|
||||
};
|
||||
|
||||
FRDService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
void handleSyncRequest(u32 messagePointer, Type type);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue