Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cheats[_ws]: don't ignore custom folders for cheat files
The code was searching only at the default paths for cheats and cheats_ws. Now it's possible to set UseDefaultCheats[WS] at PCSX2_ui.ini to 'disabled' and set a custom value to Cheats and/or CheatsWS and PCSX2 will respect it.
- Loading branch information
Showing
4 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95e00e0
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.
Actually, looking at historical commits, I think it used to at least partially work in the past, and later got changed over time, I'm guessing due to some Linux related changed which unknowingly changed also the windows handling.
I think there's some redundancy now at the code WRT getting the
cheats
andcheats_ws
folders (e.g. I think the existingGetCheats()
andGetCheatsWS()
are no longer used and instead I added new functionsGetCheatsFolder()
andGetCheatsWsFolder()
).The whole folders handling is quite messy (with default paths, custom paths, custom/portable installs, paths from command line or at the registry from earlier installs, etc, as well as which paths should be saved on exit and where), but cleaning everything up will take a lot of time and will surely break something for someone, or somethings for many.
So I just hope it now works better than before.