func_0x800968B0 PR review

This commit is contained in:
mmb70
2020-07-21 14:24:21 -07:00
committed by Kenix3
parent 7b45043c97
commit 522ccdbb95
2 changed files with 9 additions and 6 deletions
+8 -5
View File
@@ -1,12 +1,15 @@
#include <ultra64.h>
#include <global.h>
u32 func_800968B0(const u8* a0, const u8* a1) {
u8 v0;
u8 v1;
/*
* Compare strings (strcmp).
*/
s32 func_800968B0(const char* str1, const char* str2) {
char v0;
char v1;
do {
v0 = *a0++;
v1 = *a1++;
v0 = *str1++;
v1 = *str2++;
if (v0 != v1) {
return v0 - v1;
}