mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Disable "open level folder" in Steam Big Picture mode
The environment variable SteamTenfoot corresponds with the game running in Steam Big Picture mode or SteamOS if it is defined. There's a certification process for both full controller support and Big Picture mode, and being able to launch a file window in Big Picture mode is an instant cert failure.
This commit is contained in:
@@ -287,7 +287,8 @@ void menuactionpress()
|
||||
#endif
|
||||
case OFFSET+2:
|
||||
//"OPENFOLDERHOOK"
|
||||
if (FILESYSTEM_openDirectory(FILESYSTEM_getUserLevelDirectory()))
|
||||
if (FILESYSTEM_openDirectoryEnabled()
|
||||
&& FILESYSTEM_openDirectory(FILESYSTEM_getUserLevelDirectory()))
|
||||
{
|
||||
music.playef(11);
|
||||
SDL_MinimizeWindow(graphics.screenbuffer->m_window);
|
||||
|
||||
Reference in New Issue
Block a user