diff --git a/src/boot_O2_g3/boot_0x800968B0.c b/src/boot_O2_g3/boot_0x800968B0.c index afc9cd5fc..7afea4ac5 100644 --- a/src/boot_O2_g3/boot_0x800968B0.c +++ b/src/boot_O2_g3/boot_0x800968B0.c @@ -5,14 +5,15 @@ * Compare strings (strcmp). */ s32 func_800968B0(const char* str1, const char* str2) { - char v0; - char v1; + char currentCharStr1; + char currentCharStr2; do { - v0 = *str1++; - v1 = *str2++; - if (v0 != v1) { - return v0 - v1; + currentCharStr1 = *str1++; + currentCharStr2 = *str2++; + if (currentCharStr1 != currentCharStr2) { + return currentCharStr1 - currentCharStr2; } - } while (v0); + } while (currentCharStr1); + return 0; }