diff --git a/decompile/General/UI/UI_RenderFrame_Racing.c b/decompile/General/UI/UI_RenderFrame_Racing.c index ee3e6182e..767705872 100644 --- a/decompile/General/UI/UI_RenderFrame_Racing.c +++ b/decompile/General/UI/UI_RenderFrame_Racing.c @@ -421,6 +421,11 @@ void DECOMP_UI_RenderFrame_Racing() } } + // === Naughty Dog Bug === + // This block will never execute in Life Limit, + // even though original code has a block inside this IF + // that checks for Life Limit + // if you're in battle mode, while not paused // and you do not have a life limit if ((gameMode1 & (LIFE_LIMIT | BATTLE_MODE | PAUSE_ALL)) == BATTLE_MODE) diff --git a/ghidra/UI.c b/ghidra/UI.c index 2e0e3ed52..9cef1e02d 100644 --- a/ghidra/UI.c +++ b/ghidra/UI.c @@ -5531,6 +5531,11 @@ void FUN_80052f98(void) } } + // === Naughty Dog Bug === + // This block will never execute in Life Limit, + // even though original code has a block inside this IF + // that checks for Life Limit + // if you're in battle mode, while not paused // and you do not have a life limit if ((*(uint *)PTR_DAT_8008d2ac & 0x802f) == 0x20)