mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-03-30 06:09:03 +03:00
Exception on 32bit
This commit is contained in:
parent
d6eb2c8041
commit
cce25e6f77
@ -12,6 +12,11 @@ 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