Update z_title.c

This commit is contained in:
Ada 2022-05-01 22:02:26 +01:00
parent 2108f9fa6c
commit 6d0039e369

View File

@ -18,7 +18,6 @@ const char* GetGameVersionString();
char* quote; char* quote;
void Title_PrintBuildInfo(Gfx** gfxp) { void Title_PrintBuildInfo(Gfx** gfxp) {
if (CVar_GetS32("gShowTitleInfo",0)!=0) {
Gfx* g; Gfx* g;
//GfxPrint* printer; //GfxPrint* printer;
GfxPrint printer; GfxPrint printer;
@ -55,7 +54,6 @@ void Title_PrintBuildInfo(Gfx** gfxp) {
GfxPrint_Destroy(&printer); GfxPrint_Destroy(&printer);
*gfxp = g; *gfxp = g;
} }
}
const char* quotes[11] = { const char* quotes[11] = {
"My boy! This peace is what all true warriors strive for!", "My boy! This peace is what all true warriors strive for!",
@ -237,7 +235,9 @@ void Title_Main(GameState* thisx) {
Gfx* gfx = POLY_OPA_DISP; Gfx* gfx = POLY_OPA_DISP;
s32 pad; s32 pad;
if (CVar_GetS32("gShowTitleInfo",0)!=0) {
Title_PrintBuildInfo(&gfx); Title_PrintBuildInfo(&gfx);
}
POLY_OPA_DISP = gfx; POLY_OPA_DISP = gfx;
} }