mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 15:48:06 +03:00
Allow 32bit processes
This commit is contained in:
parent
71af8c0e9b
commit
a53a0f537c
@ -12,11 +12,6 @@ namespace Steamworks
|
|||||||
|
|
||||||
public static void Init( uint appid )
|
public static void Init( uint appid )
|
||||||
{
|
{
|
||||||
if ( IntPtr.Size != 8 )
|
|
||||||
{
|
|
||||||
throw new System.Exception( "Only 64bit processes are currently supported" );
|
|
||||||
}
|
|
||||||
|
|
||||||
System.Environment.SetEnvironmentVariable( "SteamAppId", appid.ToString() );
|
System.Environment.SetEnvironmentVariable( "SteamAppId", appid.ToString() );
|
||||||
System.Environment.SetEnvironmentVariable( "SteamGameId", appid.ToString() );
|
System.Environment.SetEnvironmentVariable( "SteamGameId", appid.ToString() );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user