mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
added setting for change language
(reference to https://github.com/shadps4-emu/shadPS4/wiki/PS4-Modules#supported-languages for values)
This commit is contained in:
parent
250b2e4969
commit
425e5491a8
4 changed files with 17 additions and 7 deletions
|
@ -251,9 +251,6 @@ int PS4_SYSV_ABI scePadOutputReport() {
|
|||
}
|
||||
|
||||
int PS4_SYSV_ABI scePadRead(s32 handle, OrbisPadData* pData, s32 num) {
|
||||
if (handle != 1) {
|
||||
UNREACHABLE_MSG("unknown handle");
|
||||
}
|
||||
int connected_count = 0;
|
||||
bool connected = false;
|
||||
Input::State states[64];
|
||||
|
@ -320,9 +317,6 @@ int PS4_SYSV_ABI scePadReadHistory() {
|
|||
|
||||
int PS4_SYSV_ABI scePadReadState(s32 handle, OrbisPadData* pData) {
|
||||
auto* controller = Common::Singleton<Input::GameController>::Instance();
|
||||
if (handle != 1) {
|
||||
UNREACHABLE_MSG("unknown handle");
|
||||
}
|
||||
int connectedCount = 0;
|
||||
bool isConnected = false;
|
||||
Input::State state;
|
||||
|
|
|
@ -1898,7 +1898,7 @@ s32 PS4_SYSV_ABI sceSystemServiceParamGetInt(int param_id, int* value) {
|
|||
}
|
||||
switch (param_id) {
|
||||
case ORBIS_SYSTEM_SERVICE_PARAM_ID_LANG:
|
||||
*value = ORBIS_SYSTEM_PARAM_LANG_ENGLISH_US;
|
||||
*value = Config::GetLanguage();
|
||||
break;
|
||||
case ORBIS_SYSTEM_SERVICE_PARAM_ID_DATE_FORMAT:
|
||||
*value = ORBIS_SYSTEM_PARAM_DATE_FORMAT_DDMMYYYY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue