From 7a95698329e60393d3f42ed5483a3fd562b0dc9a Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 9 Apr 2022 19:40:54 -0700 Subject: [PATCH] PAD: name PADRecalibrate --- asm/Dolphin/pad/pad.s | 4 ++-- src/Kyoto_CWD/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asm/Dolphin/pad/pad.s b/asm/Dolphin/pad/pad.s index 500256fb..767addc1 100644 --- a/asm/Dolphin/pad/pad.s +++ b/asm/Dolphin/pad/pad.s @@ -730,8 +730,8 @@ lbl_80386438: /* 80386454 003833B4 7C 08 03 A6 */ mtlr r0 /* 80386458 003833B8 4E 80 00 20 */ blr -.global sub_8038645c -sub_8038645c: +.global PADRecalibrate +PADRecalibrate: /* 8038645C 003833BC 7C 08 02 A6 */ mflr r0 /* 80386460 003833C0 90 01 00 04 */ stw r0, 4(r1) /* 80386464 003833C4 94 21 FF E8 */ stwu r1, -0x18(r1) diff --git a/src/Kyoto_CWD/main.cpp b/src/Kyoto_CWD/main.cpp index 551e5d31..952339bf 100644 --- a/src/Kyoto_CWD/main.cpp +++ b/src/Kyoto_CWD/main.cpp @@ -26,7 +26,7 @@ extern "C" { // something pad -void sub_8038645c(u32); +void PADRecalibrate(u32); // something gx void sub_8036ccfc(); // part of CMain but lazy @@ -279,7 +279,7 @@ int CMain::RsMain(int argc, char** argv) { if (needsReset) { x12c_flowState = 5; // Default CStreamAudioManager::StopAll(); - sub_8038645c(0xf0000000); + PADRecalibrate(0xf0000000); CGraphics::SetIsBeginSceneClearFb(true); CGraphics::BeginScene(); CGraphics::EndScene();