C64: fix flag of T64 virtual image.

This commit is contained in:
sorgelig
2021-08-28 16:00:50 +08:00
parent 650ef58691
commit b091a609d9

View File

@@ -1512,7 +1512,12 @@ int user_io_file_mount(const char *name, unsigned char index, char pre)
{
writable = 0;
ret = c64_openT64(name, sd_image + index);
if (ret) ret = c64_openGCR(name, sd_image + index, index);
if (ret)
{
ret = c64_openGCR(name, sd_image + index, index);
sd_type[index] = 1;
if (!ret) FileClose(&sd_image[index]);
}
}
else
{