Stub FS service, we now get to main in libctru

This commit is contained in:
wheremyfoodat 2022-09-18 03:09:35 +03:00
parent 083a0d04d7
commit 91356f1de9
6 changed files with 70 additions and 4 deletions

18
include/services/fs.hpp Normal file
View file

@ -0,0 +1,18 @@
#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "memory.hpp"
class FSService {
Handle handle = KernelHandles::FS;
Memory& mem;
// Service commands
void initialize(u32 messagePointer);
void openArchive(u32 messagePointer);
public:
FSService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer);
};