mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Exception on 32bit
This commit is contained in:
parent
d6eb2c8041
commit
cce25e6f77
@ -12,6 +12,11 @@ public static class Steam
|
|||||||
|
|
||||||
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…
Reference in New Issue
Block a user