-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Custom BGM is fixed #5829
Custom BGM is fixed #5829
Conversation
Based on this commit hrydgard#5828 on improvements to sceMp3 Custom BGM can be update now. Test on "Miku" is just all right :)
Add a new audio hack menu in #5828 we can chose to active or not the new setting to prevent possibly other unknown sound issues. |
As previously discussed, a partial memcpy is not the correct way to shorten filenames according to FAT32 rules - but on the other hand this is really rarely-used functionality and it hardly matters - the game will just use the short name as an internal identifier anyway. So I'll let it slide for now and possibly revisit later. |
Ok, let's look and see others feedback if we need something more to do. |
Well, and the strncpy() still copies 256 bytes always. I hate it when there's comments like this: // Copy 10 bytes.
memcpy(dst, src, 20); Which is exactly how this looks to me. -[Unknown] |
We could copy in a right order, copy the short part before the long part. |
Agh, forgot the extralong strncpy thing. That's the danger of re-opening pullrqs, losing comments... |
@RinkuFO This is only a part of update, since its completely another issue in show cunstom menu, so we separate it from our universal audio branch, only with the later one, you can play Miku. But it still not been merged yet. #5839 Miku issue is already perfectly solved there. |
@kaienfr ohhh I see, sorry I didn't noticed it because I've been excited to test it out |
Based on this commit #5828 on improvements to sceMp3
Custom BGM can be update now. Test on "Miku" is just all right :)