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