mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-09 01:28:45 +00:00
Update nim.cpp
This commit is contained in:
parent
150d3fc947
commit
130922fc5a
1 changed files with 8 additions and 6 deletions
|
@ -12,14 +12,16 @@ void NIMService::reset() {}
|
|||
void NIMService::handleSyncRequest(u32 messagePointer, Type type) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
if (type == Type::AOC) {
|
||||
switch (command) {
|
||||
case NIMCommands::Initialize: initialize(messagePointer); break;
|
||||
default:
|
||||
if (type == Type::AOC) {
|
||||
switch (command) {
|
||||
case NIMCommands::Initialize: initialize(messagePointer); break;
|
||||
|
||||
default: Helpers::panic("NIM AOC service requested. Command: %08X\n", command);
|
||||
default: Helpers::panic("NIM AOC service requested. Command: %08X\n", command);
|
||||
}
|
||||
} else {
|
||||
Helpers::panic("NIM service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
||||
default: Helpers::panic("NIM service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue