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

@@ -1191,7 +1191,7 @@ td0_abort(int drive)
void
td0_load(int drive, wchar_t *fn)
td0_load(int drive, char *fn)
{
td0_t *dev;
uint32_t i;
@@ -1204,7 +1204,7 @@ td0_load(int drive, wchar_t *fn)
memset(dev, 0x00, sizeof(td0_t));
td0[drive] = dev;
dev->f = plat_fopen(fn, L"rb");
dev->f = plat_fopen(fn, "rb");
if (dev->f == NULL) {
memset(floppyfns[drive], 0, sizeof(floppyfns[drive]));
return;