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
improve cellHddGameCheck #8893
improve cellHddGameCheck #8893
Conversation
Thats a huge copy paste of cellGameDataCheckCreate2, just use a shared function. |
9d76785
to
89af4c8
Compare
maybe seems like it but not really. it has both different enum values/log messages as well as different datatypes / HG check / sound format and resolution |
89af4c8
to
f6f4ecf
Compare
logging - use ppu.current_function for logging then and not the original name of the function. |
the strings will vary either way. |
and since i have another PR open that adds translations we'll have to use different enums values |
f6f4ecf
to
b903e7e
Compare
@Megamouse little question : does your PR fixes this strange bug on POP 2008 ? https://forums.rpcs3.net/thread-196966.html |
b903e7e
to
6d56566
Compare
Try installing update 01.01 for that game. It will create the required folder. It shouldn't be related to this PR I think |
5be998c
to
525e7d1
Compare
return CELL_GAMEDATA_ERROR_PARAM; | ||
} | ||
|
||
if (!fs::create_path(vfs::get(usrdir))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is called cellHddGameCheck, not cellHddGameCheckCreate. At best it only updates PARAM.SFO parameters with strict error checking for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think games are allowed to create HG game data, only GD.
|
||
// TODO: Find error code | ||
verify(HERE), dir.size() == 9; | ||
verify(HERE), game_dir.size() == 9; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe remove this assert, if non HG content is accessed ERROR_BROKEN should be returned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function can also create new directories, so I don't see the relevance of HG content in this topic.
38efe43
to
943c930
Compare
943c930
to
079404b
Compare
No description provided.