PAD: name PADRecalibrate

This commit is contained in:
Phillip Stephens 2022-04-09 19:40:54 -07:00
parent 53f8d3cba7
commit 7a95698329
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
2 changed files with 4 additions and 4 deletions

View File

@ -730,8 +730,8 @@ lbl_80386438:
/* 80386454 003833B4 7C 08 03 A6 */ mtlr r0 /* 80386454 003833B4 7C 08 03 A6 */ mtlr r0
/* 80386458 003833B8 4E 80 00 20 */ blr /* 80386458 003833B8 4E 80 00 20 */ blr
.global sub_8038645c .global PADRecalibrate
sub_8038645c: PADRecalibrate:
/* 8038645C 003833BC 7C 08 02 A6 */ mflr r0 /* 8038645C 003833BC 7C 08 02 A6 */ mflr r0
/* 80386460 003833C0 90 01 00 04 */ stw r0, 4(r1) /* 80386460 003833C0 90 01 00 04 */ stw r0, 4(r1)
/* 80386464 003833C4 94 21 FF E8 */ stwu r1, -0x18(r1) /* 80386464 003833C4 94 21 FF E8 */ stwu r1, -0x18(r1)

View File

@ -26,7 +26,7 @@
extern "C" { extern "C" {
// something pad // something pad
void sub_8038645c(u32); void PADRecalibrate(u32);
// something gx // something gx
void sub_8036ccfc(); void sub_8036ccfc();
// part of CMain but lazy // part of CMain but lazy
@ -279,7 +279,7 @@ int CMain::RsMain(int argc, char** argv) {
if (needsReset) { if (needsReset) {
x12c_flowState = 5; // Default x12c_flowState = 5; // Default
CStreamAudioManager::StopAll(); CStreamAudioManager::StopAll();
sub_8038645c(0xf0000000); PADRecalibrate(0xf0000000);
CGraphics::SetIsBeginSceneClearFb(true); CGraphics::SetIsBeginSceneClearFb(true);
CGraphics::BeginScene(); CGraphics::BeginScene();
CGraphics::EndScene(); CGraphics::EndScene();