Mercurial > repos > blastem
diff blastem.c @ 2114:2449c88cea36
Enhance support for CUE files and add initial support for cdrdao TOC files
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 16 Feb 2022 21:22:12 -0800 |
parents | 372625dd9590 |
children | 9826d50061a0 |
line wrap: on
line diff
--- a/blastem.c Sun Feb 13 22:52:52 2022 -0800 +++ b/blastem.c Wed Feb 16 21:22:12 2022 -0800 @@ -30,7 +30,7 @@ #include "bindings.h" #include "menu.h" #include "zip.h" -#include "cue.h" +#include "cdimage.h" #include "event_log.h" #ifndef DISABLE_NUKLEAR #include "nuklear_ui/blastem_nuklear.h" @@ -250,6 +250,12 @@ *stype = SYSTEM_SEGACD; } } + } else if (!strcasecmp(dst->extension, "toc")) { + if (parse_toc(dst)) { + if (stype) { + *stype = SYSTEM_SEGACD; + } + } } return ret;