port: partially unfuck menus

This commit is contained in:
fgsfds committed 2023-08-04 01:11:19 +02:00
1 parent 952d23de08
commit 05889b54cb
4 files changed
+30 -5

No files matched your search

+2
View File
@@ -466,12 +466,14 @@ char *menuResolveText(uintptr_t thing, void *dialogoritem)
return langGet((u32)thing);
}
#ifdef PLATFORM_N64 // unreliable otherwise, the above check should be enough?
if (thing > (uintptr_t)func0f1a78b0) {
#if VERSION < VERSION_NTSC_1_0
CRASH();
#endif
return NULL;
}
#endif
// Function pointer
if (handler) {