Merge branch 'rafortis-master'

This commit is contained in:
shagr4th 2016-12-18 14:50:58 +01:00
commit 50db699dec
2 changed files with 10 additions and 2 deletions

View file

@ -112,6 +112,8 @@ static word_20 jumpmasks[] = {
0xffff0000, 0xfff00000, 0xff000000, 0xf0000000
};
int check_out_register();
int
#ifdef __FunctionProto__
decode_group_80(void)
@ -694,7 +696,7 @@ decode_group_1()
}
}
inline int
int
#ifdef __FunctionProto__
decode_8_thru_f(int op1)
#else

View file

@ -629,7 +629,13 @@ GetEvent()
int code = (*android_env)->CallIntMethod(android_env, android_callback, waitEvent);
//LOGI("code: %d", code);
//LOGI("code: %d", code);
//FIX for Zenfone 2
struct timespec req, rem;
req.tv_sec = 0;
req.tv_nsec = 100L;
nanosleep(&req , &rem);
if (code < 0)
{
code = -code;