forked from Ports/perfect_dark
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) {
|
||||
|
||||
+4
-1
@@ -124,7 +124,10 @@ Gfx *menugfxRenderBgBlur(Gfx *gdl, u32 colour, s16 arg2, s16 arg3)
|
||||
s32 height;
|
||||
#endif
|
||||
|
||||
if (IS4MB()) {
|
||||
#ifdef PLATFORM_N64 // TODO
|
||||
if (IS4MB())
|
||||
#endif
|
||||
{
|
||||
return menugfxRenderGradient(gdl, 0, 0, viGetWidth(), viGetHeight(), 0xff, 0xff, 0xff);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user