fix(compat): add SLES-51114 audio compatibility settings#1689
fix(compat): add SLES-51114 audio compatibility settings#1689BillionClaw wants to merge 1 commit intops2homebrew:masterfrom
Conversation
Pro Evolution Soccer 2 (SLES-51114) has audio streaming issues when loading via OPL. Add Accurate Reads (COMPAT_MODE_1) as the default compat setting for this game, so audio plays correctly without requiring a per-game config file. Fixes ps2homebrew#1686
Nice fix, but i would take this on array that adds everygame and applied mode(My opinion). |
|
or.... enable mode 1 by default like neutrino |
Yes, if this get implemented there is no necessity to choose what compat mode is selected per game. Kinda helpful but breaking change. |
|
Thank you for the review! |
No probs |
|
Friendly bump -- this PR has been open for a while. Happy to make any changes if needed, or close it if no longer relevant. |
There´s that i talked which is transforming this as array. |
Description
Pro Evolution Soccer 2 (SLES-51114) has audio streaming issues when loading via Open-PS2-Loader. This fix adds Accurate Reads (COMPAT_MODE_1) as the default compat setting for this specific game ID, so audio plays correctly without requiring users to manually create a per-game config file.
Fix Details
The fix adds a
sbGetDefaultCompatForGame()function insrc/supportbase.cthat returns known-good default compat settings for specific games. When no per-game config exists (compatmask == 0), this function is consulted to apply defaults.Currently applied defaults:
COMPAT_MODE_1(Accurate Reads) - fixes audio streaming issuesTesting
Users can test by:
If audio still has issues, users can create a per-game config file
SLES_51114.cfgin their OPL config directory with additional settings.Fixes #1686