Skip to content

Commit

Permalink
pcxt: FDD support, based on AO486 (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
spark2k06 committed Oct 6, 2022
1 parent 3c0c664 commit d096158
Show file tree
Hide file tree
Showing 4 changed files with 299 additions and 44 deletions.
3 changes: 2 additions & 1 deletion menu.cpp
Expand Up @@ -2067,7 +2067,7 @@ void HandleUI(void)
}

ioctl_index = 0;
if ((p[idx] >= '0' && p[idx] <= '9') || is_x86()) ioctl_index = p[idx] - '0';
if ((p[idx] >= '0' && p[idx] <= '9') || is_x86() || is_pcxt()) ioctl_index = p[idx] - '0';
substrcpy(ext, p, 1);
while (strlen(ext) % 3) strcat(ext, " ");

Expand All @@ -2078,6 +2078,7 @@ void HandleUI(void)

memcpy(Selected_tmp, Selected_S[(int)ioctl_index], sizeof(Selected_tmp));
if (is_x86()) strcpy(Selected_tmp, x86_get_image_path(ioctl_index));
if (is_pcxt()) strcpy(Selected_tmp, pcxt_get_image_path(ioctl_index));
if (is_psx() && (ioctl_index == 2 || ioctl_index == 3)) fs_Options |= SCANO_SAVES;

if (is_pce() || is_megacd() || is_x86() || (is_psx() && !(fs_Options & SCANO_SAVES)))
Expand Down

0 comments on commit d096158

Please sign in to comment.