diff --git a/source/4.0.6/Core.cpp b/source/4.0.6/Core.cpp index 32fd970..20a96ca 100644 --- a/source/4.0.6/Core.cpp +++ b/source/4.0.6/Core.cpp @@ -931,7 +931,7 @@ int recurse = 0; // recurse count check //********** file extensions and flags for linux and Win32 ******************** -#ifdef __linux__ +#if defined(__linux__) || defined(__ANDROID__) HOP fd[] ={{".bin","r"}, {"_lst.txt","w"}, {"_msg.txt","w"}, {"_dir.txt","r"},{"_cmt.txt","r"}, {"sad.ini","r"} , {"_dbg.txt","w"} }; diff --git a/source/4.0.6/main.cpp b/source/4.0.6/main.cpp index 2b2d44c..ea46d18 100644 --- a/source/4.0.6/main.cpp +++ b/source/4.0.6/main.cpp @@ -6,6 +6,10 @@ #include // linux #include "shared.h" +#ifdef __ANDROID__ +#include "android/log.h" +#endif + int get_config(char **); void shutdwn (void); void startup (void); @@ -130,6 +134,11 @@ int main (int argc, const char **argv) prt_stars(); printf ("EEC-IV disassembler Version %s (%s)", SADVERSION, SADDATE); printf ("\nAbsolutely no warranty or liability"); +#ifdef __ANDROID__ + printf ("\n"); + printf ("\nWARNING: This should be run from the"); + printf ("\n'SD card'."); +#endif prt_stars(); fn = 0;