1.Extract the corresponding line from cheat.dat to a global variable, and pass the variable to ConfigParseMAMEFile_internal.
2.Extract the corresponding from cheat.zip or cheat.7z, process the 'include' line to extract another corresponding ini, store to a global variable, and pass the variable to ConfigParseFile.
No other changes have been made.
Overall, reseting and applying cheats will directly jump to the step(use mamedat or zip/7z or ini or nebula dat) that was determined during the loading of the game, without further processing of dat and zip/7z files.This will prevent a brief freezing when returning to the game.
1.Extract the corresponding line from cheat.dat to a global variable, and pass the variable to ConfigParseMAMEFile_internal. 2.Extract the corresponding from cheat.zip or cheat.7z, process the 'include' line to extract another corresponding ini, store to a global variable, and pass the variable to ConfigParseFile.
No other changes have been made.
Overall, reseting and applying cheats will directly jump to the step(use mamedat or zip/7z or ini or nebula dat) that was determined during the loading of the game, without further processing of dat and zip/7z files.This will prevent a brief freezing when returning to the game.