mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-04 15:18:52 +00:00
Mask bit 26 of BOSS commands
This commit is contained in:
parent
5c7c8a4a5a
commit
799a54a5a8
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ void BOSSService::reset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BOSSService::handleSyncRequest(u32 messagePointer) {
|
void BOSSService::handleSyncRequest(u32 messagePointer) {
|
||||||
const u32 command = mem.read32(messagePointer);
|
// Note: Clearing this bit maps boss:P commands onto their boss:U counterparts
|
||||||
|
const u32 command = mem.read32(messagePointer) & ~0x4000000;
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case BOSSCommands::CancelTask: cancelTask(messagePointer); break;
|
case BOSSCommands::CancelTask: cancelTask(messagePointer); break;
|
||||||
case BOSSCommands::GetErrorCode: getErrorCode(messagePointer); break;
|
case BOSSCommands::GetErrorCode: getErrorCode(messagePointer); break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue