Panda3DS/include/services/ns.hpp
wheremyfoodat 38ef0dbe4c Backup Noumi's Home Menu changes from her deleted repo
Co-Authored-By: Noumi <139501014+noumidev@users.noreply.github.com>
2024-12-09 22:05:38 +02:00

25 lines
491 B
C++

#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "logger.hpp"
#include "memory.hpp"
#include "result/result.hpp"
class NSService {
Memory& mem;
MAKE_LOG_FUNCTION(log, nsLogger)
// Service commands
void launchTitle(u32 messagePointer);
public:
enum class Type {
S, // ns:s
P, // ns:p
C, // ns:c
};
NSService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer, Type type);
};