mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-10 13:01:45 +12:00
[Y2R] Add service skeleton
This commit is contained in:
parent
38fde0f608
commit
9a6640cae2
6 changed files with 51 additions and 3 deletions
21
src/core/services/y2r.cpp
Normal file
21
src/core/services/y2r.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "services/y2r.hpp"
|
||||
|
||||
namespace Y2RCommands {
|
||||
enum : u32 {
|
||||
};
|
||||
}
|
||||
|
||||
namespace Result {
|
||||
enum : u32 {
|
||||
Success = 0,
|
||||
};
|
||||
}
|
||||
|
||||
void Y2RService::reset() {}
|
||||
|
||||
void Y2RService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
default: Helpers::panic("Y2R service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue