cue: Set proper CTRL value

Fixes WinCE games hanging at startup
This commit is contained in:
Flyinghead 2020-01-08 11:30:46 +01:00
parent d8cef3f6a9
commit 678fc54934
1 changed files with 1 additions and 0 deletions

View File

@ -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)