mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
port: partially unfuck menus
This commit is contained in:
1 parent
952d23de08
commit
05889b54cb
4 files changed
+30
-5
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user