1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

gp:: used 'char' which failed on Android where 'char' is unsigned. Fixed. Also improved Xprintf

This commit is contained in:
Zeno Rogue
2018-05-27 01:07:44 +02:00
parent b28c82b26b
commit b294ec288d
4 changed files with 34 additions and 33 deletions

View File

@@ -9,12 +9,6 @@
#define TEXTURESIZE (texturesize)
#define HTEXTURESIZE (texturesize/2)
#if ISANDROID
template<class...T> void Xprintf(T... t) { __android_log_print(ANDROID_LOG_VERBOSE, "RUG", t...); }
#else
template<class...T> void Xprintf(T... t) { printf(t...); }
#endif
bool rug_failure = false;
namespace rug {