mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Throw warning if trying to use in 32bit process
This commit is contained in:
parent
1eb16f34b8
commit
11ad696f7c
@ -31,6 +31,9 @@ public class BaseSteamworks : IDisposable
|
||||
|
||||
protected BaseSteamworks( uint appId )
|
||||
{
|
||||
if ( IntPtr.Size == 4 )
|
||||
throw new System.Exception( "Sorry - 32bit processes aren't supported. It's 2019 or later, come on!" );
|
||||
|
||||
AppId = appId;
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user