Minor cleanup with GOLD define - only use it in System_GetPropertyInt
This commit is contained in:
parent
3ae13f3c05
commit
cf365bb257
15 changed files with 92 additions and 54 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue