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

@@ -1229,12 +1229,12 @@ void voodoo_card_close(voodoo_t *voodoo)
int c;
/* #ifndef RELEASE_BUILD
f = rom_fopen(L"texram.dmp", L"wb");
f = rom_fopen("texram.dmp", "wb");
fwrite(voodoo->tex_mem[0], voodoo->texture_size*1024*1024, 1, f);
fclose(f);
if (voodoo->dual_tmus)
{
f = rom_fopen(L"texram2.dmp", L"wb");
f = rom_fopen("texram2.dmp", "wb");
fwrite(voodoo->tex_mem[1], voodoo->texture_size*1024*1024, 1, f);
fclose(f);
}