From: DeaDDooMER Date: Thu, 16 Dec 2021 15:44:43 +0000 (+0300) Subject: android: setup argc/argv X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=313488322d2a198aaf0f4d272ca6ef9d1718f132;p=d2df-sdl.git android: setup argc/argv --- diff --git a/src/game/Doom2DF.lpr b/src/game/Doom2DF.lpr index 53d54fc..245839f 100644 --- a/src/game/Doom2DF.lpr +++ b/src/game/Doom2DF.lpr @@ -204,6 +204,11 @@ var {$ENDIF} //tfo: Text; begin +{$IFDEF ANDROID} + System.argc := argc; + System.argv := argv; +{$ENDIF} + SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]); //k8: fuck off, that's why f := 1;