mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-03-15 09:54:02 +01:00
[orbis-kernel]: regmgr: hack to set english as default language and Cross as "confirm" button (#51)
This commit is contained in:
parent
f5ea7e84ae
commit
6d1b1f7348
|
|
@ -86,6 +86,13 @@ orbis::SysResult orbis::sys_regmgr_call(Thread *thread, uint32_t op,
|
|||
int_value->encoded_id_parts.data[3], int_value->encoded_id_parts.table,
|
||||
int_value->encoded_id_parts.index, int_value->encoded_id_parts.checksum,
|
||||
int_value->unk, int_value->value);
|
||||
|
||||
// HACK: set default system language and gamepad layout to US/EU region
|
||||
// 0x12356328ECF5617B -> language where is 0 is Japanese, 1 is English
|
||||
// 0x22666251FE7BECFF -> confirm button layout, 0 is Circle, 1 is Cross
|
||||
if (int_value->encoded_id == 0x12356328ECF5617B || int_value->encoded_id == 0x22666251FE7BECFF) {
|
||||
int_value->value = 1;
|
||||
}
|
||||
}
|
||||
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue