# HG changeset patch # User Michael Pavone # Date 1644184269 28800 # Node ID c716af3f89807174fff6c128e57323abae34de4b # Parent 3e0801280bef2b63ef93a253d92fb07868240b36 Enable Sega CD emulation for carts if a CD image is "locked-on" even if the cart does not specify that it uses the CD peripheral in the header diff -r 3e0801280bef -r c716af3f8980 genesis.c --- a/genesis.c Sat Feb 05 23:30:06 2022 -0800 +++ b/genesis.c Sun Feb 06 13:51:09 2022 -0800 @@ -2131,7 +2131,7 @@ } memmap_chunk* map = info.map; uint32_t map_chunks = info.map_chunks; - if (info.wants_cd) { + if (info.wants_cd || (current_media()->chain && current_media()->chain->type == MEDIA_CDROM)) { segacd_context *cd = alloc_configure_segacd((system_media *)current_media(), 0, force_region, &info); gen->expansion = cd; gen->version_reg &= ~NO_DISK;