rewrite the emulator to use UTF-8 internally

This commit is contained in:
David Hrdlička
2021-03-14 20:35:01 +01:00
parent 56d62de4fe
commit dfbbe08a07
146 changed files with 1507 additions and 1457 deletions

View File

@@ -398,7 +398,7 @@ mfm_seek(int drive, int track)
void
mfm_load(int drive, wchar_t *fn)
mfm_load(int drive, char *fn)
{
mfm_t *dev;
double dbr;
@@ -410,7 +410,7 @@ mfm_load(int drive, wchar_t *fn)
dev = (mfm_t *)malloc(sizeof(mfm_t));
memset(dev, 0x00, sizeof(mfm_t));
dev->f = plat_fopen(fn, L"rb");
dev->f = plat_fopen(fn, "rb");
if (dev->f == NULL) {
free(dev);
memset(floppyfns[drive], 0, sizeof(floppyfns[drive]));