From: notaz Date: Sat, 3 Oct 2009 16:21:59 +0000 (+0000) Subject: 32x: built-in BIOS; reset handling; 68k memhandler split X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6c1b65bceed489cdc3108ff686cbb3ed7abf444;p=libpicofe.git 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 --- diff --git a/common/emu.c b/common/emu.c index 507437a..a8de902 100644 --- a/common/emu.c +++ b/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");