-
Notifications
You must be signed in to change notification settings - Fork 279
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
Increase buffer size of usb util game name #484
Conversation
That was easy :) |
BTW does it handle startup properly when startup is maximum size? |
I’m not familiar with the format I’ve only used ISO’s but if it’s the same ie SLUS_123.45 then 15 is plenty but it’s still better to have them all unified.. I think it’s just different contributors with different coding styles because GAME_STARTUP_MAX seems to include null where as the others don’t.. I prefer the +1 method personally cause it’s easy to look and see that’s for null. Only reason the name was bugged for so long is because no one reported it so no one checked it. |
Lol! No one tested before merge? I said I hadn’t tested it.. start up and name is messed up, strange.. anyway if it is also a USB util side issue there may be no choice but to revert and just keep the character limit at 31 as it would need to be updated there also.. maybe I’ll try contact the developer and look into fixing it both sides later on.. for now probably just revert @AKuHAK I’m on phone as usual so can’t do much at the moment. |
@KrahJohlito the funniest thing is that report was false - I just tested 32 character long games with the previous beta and everything was fine. |
Anyway I am working on some ul.cfg improvements, will fix it as well. |
Wow that’s… terrible, ok sounds good thanks @AKuHAK! |
So it works for you with the bigger buffer size? I'll try your CI builds and see, but in my case building locally leads to that issue with the increased buffer whereas building OPL without that commit works completely fine. Will edit this comment after testing. Edit: or you mean a previous report and not mine, meaning the change was pointless? Kinda confused rn but I'm gonna test anyways just to be sure lol Edit 2: tested your latest CI build, same issue as with my build, USB Util games still broken. The CI build previous to the commit works completely fine. |
There was a report on discord that usb util games with 32 characters was broken and need to be 31 or less hence the change, however it was working fine with 32 characters so the change was pointless to begin with. |
@KrahJohlito this function is failing when gamename = 32 Lines 272 to 295 in 955c98d
Ps2esdl has workaround: } while ((string[count - 1] != 0) && (count <= 32)); will try it - maybe it helps |
No, this function is correct - tested with the previous beta - didn't found any issues with 32 chars - game can be launched just fine without any problems. |
Increase buffer size of usb util game name
…-1-2 Increase buffer size of usb util game name
Pull Request checklist
Note: these are not necessarily requirements
Pull Request description