mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-04 18:25:27 +02:00
Expose/fake native display refresh rate. Only has a real value on Android.
This commit is contained in:
1 parent
477e0e89f9
commit
a506ba2e83
5 files changed
+9
No files matched your search
@@ -129,6 +129,8 @@ int System_GetPropertyInt(SystemProperty prop) {
|
||||
return optimalSampleRate;
|
||||
case SYSPROP_AUDIO_OPTIMAL_FRAMES_PER_BUFFER:
|
||||
return optimalFramesPerBuffer;
|
||||
case SYSPROP_DISPLAY_REFRESH_RATE:
|
||||
return (int)(display_hz * 1000.0);
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user