mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core, groundwork for chd support
still needs some scrutiny, and build integration is missing
This commit is contained in:
parent
4da84f9454
commit
15ca715228
18 changed files with 411 additions and 100 deletions
|
@ -99,7 +99,7 @@ endif
|
|||
# CD
|
||||
SRCS_COMMON += $(R)pico/cd/mcd.c $(R)pico/cd/memory.c $(R)pico/cd/sek.c \
|
||||
$(R)pico/cd/cdc.c $(R)pico/cd/cdd.c $(R)pico/cd/cd_image.c \
|
||||
$(R)pico/cd/cue.c $(R)pico/cd/gfx.c $(R)pico/cd/gfx_dma.c \
|
||||
$(R)pico/cd/cd_parse.c $(R)pico/cd/gfx.c $(R)pico/cd/gfx_dma.c \
|
||||
$(R)pico/cd/misc.c $(R)pico/cd/pcm.c
|
||||
# 32X
|
||||
ifneq "$(no_32x)" "1"
|
||||
|
|
|
@ -539,11 +539,11 @@ out:
|
|||
|
||||
int emu_swap_cd(const char *fname)
|
||||
{
|
||||
enum cd_img_type cd_type;
|
||||
enum cd_track_type cd_type;
|
||||
int ret = -1;
|
||||
|
||||
cd_type = PicoCdCheck(fname, NULL);
|
||||
if (cd_type != CIT_NOT_CD)
|
||||
if (cd_type != CT_UNKNOWN)
|
||||
ret = cdd_load(fname, cd_type);
|
||||
if (ret != 0) {
|
||||
menu_update_msg("Load failed, invalid CD image?");
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
static const char *rom_exts[] = {
|
||||
"zip",
|
||||
"bin", "smd", "gen", "md",
|
||||
"iso", "cso", "cue",
|
||||
"iso", "cso", "cue", "chd",
|
||||
"32x",
|
||||
"sms",
|
||||
NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue