Throw warning if trying to use in 32bit process

This commit is contained in:
Garry Newman 2019-04-11 21:36:57 +01:00
parent 1eb16f34b8
commit 11ad696f7c

View File

@ -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;
//