mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-04 18:25:27 +02:00
SDL: Implement SYSPROP_AUDIO_SAMPLE_RATE query
This commit is contained in:
1 parent
9201103abe
commit
b6fea8a355
1 file changed
+8
-1
+8
-1
@@ -312,7 +312,14 @@ std::string System_GetProperty(SystemProperty prop) {
|
||||
}
|
||||
}
|
||||
|
||||
int System_GetPropertyInt(SystemProperty prop) {return -1;}
|
||||
int System_GetPropertyInt(SystemProperty prop) {
|
||||
switch (prop) {
|
||||
case SYSPROP_AUDIO_SAMPLE_RATE:
|
||||
return 44100;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
InputState input_state;
|
||||
|
||||
|
||||
Reference in new issue
Block a user