mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
This should clean up all HLE errorcode in the codebase. I didn't removed Rust::Result as this should be a cleanup for another iteration.
21 lines
No EOL
451 B
C++
21 lines
No EOL
451 B
C++
#pragma once
|
|
#include "helpers.hpp"
|
|
#include "kernel_types.hpp"
|
|
#include "logger.hpp"
|
|
#include "memory.hpp"
|
|
#include "result/result.hpp"
|
|
|
|
class LDRService {
|
|
Handle handle = KernelHandles::LDR_RO;
|
|
Memory& mem;
|
|
MAKE_LOG_FUNCTION(log, ldrLogger)
|
|
|
|
// Service commands
|
|
void initialize(u32 messagePointer);
|
|
void loadCRR(u32 messagePointer);
|
|
|
|
public:
|
|
LDRService(Memory& mem) : mem(mem) {}
|
|
void reset();
|
|
void handleSyncRequest(u32 messagePointer);
|
|
}; |