File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,6 @@ SECTIONS {
15
15
ewram 0x2000000 (NOLOAD) :
16
16
ALIGN (4)
17
17
{
18
- /*
19
- We link malloc.o here to prevent `gHeap` from landing in the middle of EWRAM.
20
- Otherwise this causes corruption issues on some ld versions
21
- */
22
- gflib/malloc.o (ewram_data);
23
18
src/*.o (ewram_data);
24
19
gflib/*.o (ewram_data);
25
20
} > EWRAM
Original file line number Diff line number Diff line change @@ -317,8 +317,13 @@ void HideMapNamePopUpWindow(void)
317
317
{
318
318
if (FuncIsActiveTask (Task_MapNamePopUpWindow ))
319
319
{
320
- ClearStdWindowAndFrame (GetMapNamePopUpWindowId (), TRUE);
321
- RemoveMapNamePopUpWindow ();
320
+ #ifdef UBFIX
321
+ if (GetMapNamePopUpWindowId () != WINDOW_NONE )
322
+ #endif // UBFIX
323
+ {
324
+ ClearStdWindowAndFrame (GetMapNamePopUpWindowId (), TRUE);
325
+ RemoveMapNamePopUpWindow ();
326
+ }
322
327
SetGpuReg_ForcedBlank (REG_OFFSET_BG0VOFS , 0 );
323
328
DestroyTask (sPopupTaskId );
324
329
}
You can’t perform that action at this time.
0 commit comments