Minor cleanup with GOLD define - only use it in System_GetPropertyInt

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

No files matched your search

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