Skip to content

Commit

Permalink
[orbis-kernel] fix VideoOut initialization
Browse files Browse the repository at this point in the history
Fix compilation error
  • Loading branch information
DHrpcs3 committed Oct 31, 2023
1 parent 87baff1 commit fd14659
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion orbis-kernel/include/orbis/sys/sysproto.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ SysResult sys_sandbox_path(Thread *thread /* TODO */);
SysResult sys_mdbg_service(Thread *thread, uint32_t op, ptr<void> arg0,
ptr<void> arg1);
SysResult sys_randomized_path(Thread *thread /* TODO */);
SysResult sys_rdup(Thread *thread /* TODO */);
SysResult sys_rdup(Thread *thread, sint a, sint b);
SysResult sys_dl_get_metadata(Thread *thread /* TODO */);
SysResult sys_workaround8849(Thread *thread /* TODO */);
SysResult sys_is_development_mode(Thread *thread /* TODO */);
Expand Down
7 changes: 5 additions & 2 deletions orbis-kernel/src/sys/sys_sce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,11 @@ orbis::SysResult orbis::sys_evf_open(Thread *thread, ptr<const char[32]> name) {
return sys_evf_create(thread, name, kEvfAttrShared, 0x400000);
}

if (std::string_view("SceShellCoreUtilAppFocus") == _name ||
std::string_view("SceBootStatusFlags") == _name) {
if (std::string_view("SceShellCoreUtilAppFocus") == _name) {
return sys_evf_create(thread, name, kEvfAttrShared, 1);
}

if (std::string_view("SceBootStatusFlags") == _name) {
return sys_evf_create(thread, name, kEvfAttrShared, 0x2408);
}
return sys_evf_create(thread, name, kEvfAttrShared, 0);
Expand Down

0 comments on commit fd14659

Please sign in to comment.