mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
32x: built-in BIOS; reset handling; 68k memhandler split
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@801 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2795a567a8
commit
d6c1b65bce
1 changed files with 13 additions and 0 deletions
13
common/emu.c
13
common/emu.c
|
@ -1299,6 +1299,19 @@ void emu_init(void)
|
|||
char path[512];
|
||||
int pos;
|
||||
|
||||
#if 0
|
||||
// FIXME: handle through menu, etc
|
||||
FILE *f;
|
||||
f = fopen("32X_M_BIOS.BIN", "rb");
|
||||
p32x_bios_m = malloc(2048);
|
||||
fread(p32x_bios_m, 1, 2048, f);
|
||||
fclose(f);
|
||||
f = fopen("32X_S_BIOS.BIN", "rb");
|
||||
p32x_bios_s = malloc(1024);
|
||||
fread(p32x_bios_s, 1, 1024, f);
|
||||
fclose(f);
|
||||
#endif
|
||||
|
||||
/* make dirs for saves */
|
||||
pos = plat_get_root_dir(path, sizeof(path) - 4);
|
||||
mkdir_path(path, pos, "mds");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue