mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
GSDumpRunner: Use utf-8 encoding for opening files.
Allows the dump compare to work normally with unique characters.
This commit is contained in:
@@ -184,7 +184,7 @@ if __name__ == "__main__":
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
MAX_DIFF_FRAMES = args.maxframes
|
MAX_DIFF_FRAMES = args.maxframes
|
||||||
|
|
||||||
outfile = open(args.outfile, "w")
|
outfile = open(args.outfile, "w", encoding="utf-8")
|
||||||
write(FILE_HEADER)
|
write(FILE_HEADER)
|
||||||
|
|
||||||
if not check_regression_tests(os.path.realpath(args.baselinedir), os.path.realpath(args.testdir)):
|
if not check_regression_tests(os.path.realpath(args.baselinedir), os.path.realpath(args.testdir)):
|
||||||
|
|||||||
Reference in New Issue
Block a user