The emulator is now almost completely Unicode - this means all paths and file names used can now use non-Latin characters;
Fixed several NVR- and ROM-related bugs in the process of doing the above.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
/* Copyright holders: Sarah Walker
|
||||
see COPYING for more details
|
||||
*/
|
||||
FILE *romfopen(char *fn, char *mode);
|
||||
int rom_present(char *fn);
|
||||
FILE *romfopen(wchar_t *fn, wchar_t *mode);
|
||||
FILE *nvrfopen(wchar_t *fn, wchar_t *mode);
|
||||
int rom_present(wchar_t *fn);
|
||||
|
||||
typedef struct rom_t
|
||||
{
|
||||
@@ -11,5 +12,5 @@ typedef struct rom_t
|
||||
mem_mapping_t mapping;
|
||||
} rom_t;
|
||||
|
||||
int rom_init(rom_t *rom, char *fn, uint32_t address, int size, int mask, int file_offset, uint32_t flags);
|
||||
int rom_init_interleaved(rom_t *rom, char *fn_low, char *fn_high, uint32_t address, int size, int mask, int file_offset, uint32_t flags);
|
||||
int rom_init(rom_t *rom, wchar_t *fn, uint32_t address, int size, int mask, int file_offset, uint32_t flags);
|
||||
int rom_init_interleaved(rom_t *rom, wchar_t *fn_low, wchar_t *fn_high, uint32_t address, int size, int mask, int file_offset, uint32_t flags);
|
||||
|
||||
Reference in New Issue
Block a user