mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Android) Temporary code to be able to test the .apk package
This commit is contained in:
parent
bbab5c6b93
commit
1ea0428a00
|
@ -42,6 +42,10 @@
|
|||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL2/SDL_timer.h>
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
#include <android/log.h>
|
||||
#endif
|
||||
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
#include <emscripten.h>
|
||||
#endif
|
||||
|
@ -525,6 +529,12 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
const auto applicationStartTime {std::chrono::system_clock::now()};
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
__android_log_print(ANDROID_LOG_VERBOSE, nullptr, "ES-DE running on Android!");
|
||||
SDL_Delay(3000);
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
std::locale::global(std::locale("C"));
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
|
Loading…
Reference in a new issue