mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-08 11:43:14 +00:00
More HLE stuff and fixes (#273)
* sceKernelOpen truncate is not neccesary * fixup scePthreadCondSignal * dummy error , ime dialogs stubbed * sceErrorDialog implemenation (no ui) * small fix in sceSaveDataGetEventResult and sceAppContentTemporaryDataMount2. * ime dialog structs and functions definations * added stubbed avplayer * Open folder should be first on context menu --------- Co-authored-by: raziel1000 <ckraziel@gmail.com>
This commit is contained in:
parent
d156dda7b6
commit
5beb607435
16 changed files with 701 additions and 14 deletions
|
@ -75,7 +75,7 @@ int PS4_SYSV_ABI sceKernelOpen(const char* path, int flags, u16 mode) {
|
|||
file->m_host_name = mnt->GetHostFile(file->m_guest_name);
|
||||
if (read) {
|
||||
file->f.Open(file->m_host_name, Common::FS::FileAccessMode::Read);
|
||||
} else if (write && create && truncate) {
|
||||
} else if (write && create) {
|
||||
file->f.Open(file->m_host_name, Common::FS::FileAccessMode::Write);
|
||||
} else if (write && create && append) { // CUSA04729 (appends app0/shaderlist.txt)
|
||||
file->f.Open(file->m_host_name, Common::FS::FileAccessMode::Append);
|
||||
|
|
|
@ -1067,6 +1067,7 @@ ScePthread PS4_SYSV_ABI posix_pthread_self() {
|
|||
}
|
||||
|
||||
int PS4_SYSV_ABI scePthreadCondSignal(ScePthreadCond* cond) {
|
||||
cond = createCond(cond);
|
||||
if (cond == nullptr) {
|
||||
return SCE_KERNEL_ERROR_EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue