mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
23 lines
No EOL
544 B
C++
23 lines
No EOL
544 B
C++
#pragma once
|
|
#include <cstring>
|
|
#include "helpers.hpp"
|
|
#include "logger.hpp"
|
|
#include "memory.hpp"
|
|
|
|
class CFGService {
|
|
Handle handle = KernelHandles::CFG;
|
|
Memory& mem;
|
|
MAKE_LOG_FUNCTION(log, cfgLogger)
|
|
|
|
void writeStringU16(u32 pointer, const std::u16string& string);
|
|
|
|
// Service functions
|
|
void getConfigInfoBlk2(u32 messagePointer);
|
|
void genUniqueConsoleHash(u32 messagePointer);
|
|
void secureInfoGetRegion(u32 messagePointer);
|
|
|
|
public:
|
|
CFGService(Memory& mem) : mem(mem) {}
|
|
void reset();
|
|
void handleSyncRequest(u32 messagePointer);
|
|
}; |