mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
implement sceNpManagerGetMyLanguages
This commit is contained in:
parent
c639b7d5f4
commit
06dc6909c4
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "Emu/Cell/lv2/sys_fs.h"
|
||||
#include "Emu/NP/np_handler.h"
|
||||
#include "Emu/NP/np_contexts.h"
|
||||
#include "Emu/system_config.h"
|
||||
|
||||
LOG_CHANNEL(sceNp);
|
||||
|
||||
|
@ -3192,6 +3193,10 @@ error_code sceNpManagerGetMyLanguages(vm::ptr<SceNpMyLanguages> myLanguages)
|
|||
return SCE_NP_ERROR_INVALID_STATE;
|
||||
}
|
||||
|
||||
myLanguages->language1 = SCE_NP_LANG_ENGLISH_US;
|
||||
myLanguages->language2 = g_cfg.sys.language != CELL_SYSUTIL_LANG_ENGLISH_US ? g_cfg.sys.language : -1;
|
||||
myLanguages->language3 = -1;
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue