From 678fc54934054b7d0d03aaf6d873e90def8e9ddb Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Wed, 8 Jan 2020 11:30:46 +0100 Subject: [PATCH] cue: Set proper CTRL value Fixes WinCE games hanging at startup --- core/imgread/cue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/imgread/cue.cpp b/core/imgread/cue.cpp index 3f8a88d14..c510d9fb1 100644 --- a/core/imgread/cue.cpp +++ b/core/imgread/cue.cpp @@ -138,6 +138,7 @@ Disc* cue_parse(const wchar* file) t.ADDR = 0; t.StartFAD = current_fad; t.EndFAD = 0; + t.CTRL = (track_type == "AUDIO" || track_type == "CDG") ? 0 : 4; string path = basepath + normalize_path_separator(track_filename); core_file* track_file = core_fopen(path.c_str()); if (track_file == NULL)