Minor cleanup with GOLD define - only use it in System_GetPropertyInt

This commit is contained in:
Henrik Rydgard 2017-04-05 16:21:08 +02:00
parent 3ae13f3c05
commit cf365bb257
15 changed files with 92 additions and 54 deletions

View file

@ -218,6 +218,12 @@ int System_GetPropertyInt(SystemProperty prop) {
return 1;
case SYSPROP_HAS_BACK_BUTTON:
return 1;
case SYSPROP_APP_GOLD:
#ifdef GOLD
return 1;
#else
return 0;
#endif
default:
return -1;
}