MonsterCommit(tm) with typo-fixes, void-ness fixes, correct CaPs for directories, etc. No real code changes.

This commit is contained in:
waltje
2017-08-24 01:14:39 -04:00
parent 7cf0e24caa
commit 2ffedb680b
142 changed files with 1229 additions and 991 deletions

View File

@@ -1,10 +1,10 @@
/* Copyright holders: Sarah Walker
see COPYING for more details
*/
FILE *romfopen(wchar_t *fn, wchar_t *mode);
FILE *nvrfopen(wchar_t *fn, wchar_t *mode);
int rom_getfile(wchar_t *fn, wchar_t *s, int size);
int rom_present(wchar_t *fn);
extern FILE *romfopen(wchar_t *fn, wchar_t *mode);
extern FILE *nvrfopen(wchar_t *fn, wchar_t *mode);
extern int rom_getfile(wchar_t *fn, wchar_t *s, int size);
extern int rom_present(wchar_t *fn);
typedef struct rom_t
{
@@ -13,9 +13,9 @@ typedef struct rom_t
mem_mapping_t mapping;
} rom_t;
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);
extern int rom_init(rom_t *rom, wchar_t *fn, uint32_t address, int size, int mask, int file_offset, uint32_t flags);
extern 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);
uint8_t rom_read(uint32_t addr, void *p);
uint16_t rom_readw(uint32_t addr, void *p);
uint32_t rom_readl(uint32_t addr, void *p);
extern uint8_t rom_read(uint32_t addr, void *p);
extern uint16_t rom_readw(uint32_t addr, void *p);
extern uint32_t rom_readl(uint32_t addr, void *p);