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:
georgemoralis 2024-08-09 11:58:42 +03:00
parent 250b2e4969
commit 425e5491a8
4 changed files with 17 additions and 7 deletions

View file

@ -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;