Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hle: make cellSubDisplayInit returns CELL_SUBDISPLAY_ERROR_ZERO_REGISTERED #4514

Merged
merged 1 commit into from
May 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/Modules/cellSubDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void fmt_class_string<CellSubDisplayError>::format(std::string& out, u64 arg)
error_code cellSubDisplayInit(vm::ptr<CellSubDisplayParam> pParam, vm::ptr<CellSubDisplayHandler> func, vm::ptr<void> userdata, u32 container)
{
cellSubDisplay.todo("cellSubDisplayInit(pParam=*0x%x, func=*0x%x, userdata=*0x%x, container=0x%x)", pParam, func, userdata, container);
return CELL_OK;
return CELL_SUBDISPLAY_ERROR_ZERO_REGISTERED;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put a description here as to why not returning CELL_OK here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// tells the cellSubDisplay that there is not a vita or psp remote play device enabled

I think just from looking at CELL_SUBDISPLAY_ERROR_ZERO_REGISTERED documentation I could find from the ps3devwiki (which is not much)

}

error_code cellSubDisplayEnd()
Expand Down