Expose/fake native display refresh rate. Only has a real value on Android.

This commit is contained in:
Henrik Rydgard committed 2015-01-14 00:27:21 +01:00
1 parent 477e0e89f9
commit a506ba2e83
5 files changed
+9

No files matched your search

+2
View File
@@ -316,6 +316,8 @@ int System_GetPropertyInt(SystemProperty prop) {
switch (prop) {
case SYSPROP_AUDIO_SAMPLE_RATE:
return 44100;
case SYSPROP_DISPLAY_REFRESH_RATE:
return 60000;
default:
return -1;
}