bug in SURF #304
This commit is contained in:
parent
be0a8cbeab
commit
2ea41a63d9
|
@ -847,7 +847,7 @@ static void onConsoleInstallDemosCommand(Console* console, const char* param)
|
||||||
|
|
||||||
static void onConsoleSurfCommand(Console* console, const char* param)
|
static void onConsoleSurfCommand(Console* console, const char* param)
|
||||||
{
|
{
|
||||||
setStudioMode(TIC_SURF_MODE);
|
gotoSurf();
|
||||||
|
|
||||||
commandDone(console);
|
commandDone(console);
|
||||||
}
|
}
|
||||||
|
|
|
@ -719,6 +719,12 @@ static void initSurfMode()
|
||||||
initSurf(&studio.surf, studio.tic, &studio.console);
|
initSurf(&studio.surf, studio.tic, &studio.console);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gotoSurf()
|
||||||
|
{
|
||||||
|
initSurfMode();
|
||||||
|
setStudioMode(TIC_SURF_MODE);
|
||||||
|
}
|
||||||
|
|
||||||
static void initMenuMode()
|
static void initMenuMode()
|
||||||
{
|
{
|
||||||
initMenu(&studio.menu, studio.tic, studio.fs);
|
initMenu(&studio.menu, studio.tic, studio.fs);
|
||||||
|
|
|
@ -197,4 +197,5 @@ bool studioCartChanged();
|
||||||
void playSystemSfx(s32 id);
|
void playSystemSfx(s32 id);
|
||||||
|
|
||||||
void runGameFromSurf();
|
void runGameFromSurf();
|
||||||
|
void gotoSurf();
|
||||||
void exitFromGameMenu();
|
void exitFromGameMenu();
|
Loading…
Reference in New Issue