mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Fix UB
This commit is contained in:
parent
15ed62e952
commit
5f25b84c0d
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ void APTService::getApplicationCpuTimeLimit(u32 messagePointer) {
|
|||
|
||||
void APTService::setScreencapPostPermission(u32 messagePointer) {
|
||||
u32 perm = mem.read32(messagePointer + 4);
|
||||
log("APT::SetScreencapPostPermission (perm = %d)\n");
|
||||
log("APT::SetScreencapPostPermission (perm = %d)\n", perm);
|
||||
|
||||
mem.write32(messagePointer, IPC::responseHeader(0x55, 1, 0));
|
||||
// Apparently only 1-3 are valid values, but I see 0 used in some games like Pokemon Rumble
|
||||
|
@ -282,4 +282,4 @@ void APTService::getWirelessRebootInfo(u32 messagePointer) {
|
|||
for (u32 i = 0; i < size; i++) {
|
||||
mem.write8(messagePointer + 0x104 + i, 0); // Temporarily stub this until we add SetWirelessRebootInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue