mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Match retail Title and Sample gamestates (#1692)
* match title and sample * change to directive * no bad return
This commit is contained in:
parent
9289b0211d
commit
8d0076b010
3 changed files with 9 additions and 6 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "alloca.h"
|
||||
#include "assets/textures/nintendo_rogo_static/nintendo_rogo_static.h"
|
||||
|
||||
#if OOT_DEBUG
|
||||
void ConsoleLogo_PrintBuildInfo(Gfx** gfxP) {
|
||||
Gfx* gfx;
|
||||
GfxPrint* printer;
|
||||
|
@ -29,6 +30,7 @@ void ConsoleLogo_PrintBuildInfo(Gfx** gfxP) {
|
|||
GfxPrint_Destroy(printer);
|
||||
*gfxP = gfx;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Note: In other rom versions this function also updates unk_1D4, coverAlpha, addAlpha, visibleDuration to calculate
|
||||
// the fade-in/fade-out + the duration of the n64 logo animation
|
||||
|
@ -128,13 +130,14 @@ void ConsoleLogo_Main(GameState* thisx) {
|
|||
ConsoleLogo_Calc(this);
|
||||
ConsoleLogo_Draw(this);
|
||||
|
||||
if (OOT_DEBUG && gIsCtrlr2Valid) {
|
||||
#if OOT_DEBUG
|
||||
if (gIsCtrlr2Valid) {
|
||||
Gfx* gfx = POLY_OPA_DISP;
|
||||
s32 pad;
|
||||
|
||||
ConsoleLogo_PrintBuildInfo(&gfx);
|
||||
POLY_OPA_DISP = gfx;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (this->exit) {
|
||||
gSaveContext.seqId = (u8)NA_BGM_DISABLED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue