mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-24 15:20:49 -04:00
func_0x800968B0 PR review
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user