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:
notaz 2009-10-03 16:21:59 +00:00
parent 2795a567a8
commit d6c1b65bce

View file

@ -1299,6 +1299,19 @@ void emu_init(void)
char path[512]; char path[512];
int pos; 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 */ /* make dirs for saves */
pos = plat_get_root_dir(path, sizeof(path) - 4); pos = plat_get_root_dir(path, sizeof(path) - 4);
mkdir_path(path, pos, "mds"); mkdir_path(path, pos, "mds");