From d93a3d17a9c226a2b49b01a57909da63c9ee22b3 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 10 Jul 2023 21:48:41 -0500 Subject: [PATCH] not recommended --- src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 0aa4c9b4..b5484ea3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -370,6 +370,13 @@ static void handleTermGUI(int) { // TODO: CoInitializeEx on Windows? // TODO: add crash log int main(int argc, char** argv) { + // uncomment these if you want Furnace to play in the background on Android. + // not recommended. it lags. +#if defined(HAVE_SDL2) && defined(ANDROID) + //SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE,"0"); + //SDL_SetHint(SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO,"0"); +#endif + // Windows console thing - thanks dj.tuBIG/MaliceX #ifdef _WIN32