-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
sys: Fix hdd game dir name #14956
sys: Fix hdd game dir name #14956
Conversation
3710f80 to
36f8f25
Compare
36f8f25 to
df32230
Compare
|
Tested some of the apps and they don't crash anymore |
df32230 to
bde3afd
Compare
Some games are installed with other dir names than title_id
bde3afd to
fa1cfbb
Compare
| @@ -763,7 +763,8 @@ error_code cellGameBootCheck(vm::ptr<u32> type, vm::ptr<u32> attributes, vm::ptr | |||
|
|
|||
| if (_type == u32{CELL_GAME_GAMETYPE_HDD} && dirName) | |||
| { | |||
| strcpy_trunc(*dirName, Emu.GetTitleID()); | |||
| ensure(dir.size() < CELL_GAME_DIRNAME_SIZE); | |||
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.
We may need to demand it when booting games or going through HDD0/game directories when enumerating for game list.
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.
There is no evidence that any game even triggers this ensure.
I refuse to spend even a second on this.
"if it ain't broke, don't fix it"
Some games are installed with other dir names than title id.
fixes #14954