Skip to content

Commit

Permalink
add logging for gamescope_limiter_file
Browse files Browse the repository at this point in the history
  • Loading branch information
BoukeHaarsma23 committed Jul 4, 2023
1 parent d4c3748 commit 48760b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4603,10 +4603,12 @@ static void
init_runtime_info()
{
const char *path = getenv( "GAMESCOPE_LIMITER_FILE" );
if ( !path )
if ( !path ) {
xwm_log.infof("Cannot open LIMITER file!");
return;

}
g_nRuntimeInfoFd = open( path, O_CREAT | O_RDWR , 0644 );
xwm_log.infof("Opened LIMITER file!");
update_runtime_info();
}

Expand Down

0 comments on commit 48760b2

Please sign in to comment.