X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.c;h=a8de90234c2853b6b9c2863c2d269b9f1fdcfa66;hb=d6c1b65bceed489cdc3108ff686cbb3ed7abf444;hp=507437af4fe0b6eb7b0ce6b6e0411bf75f401270;hpb=2795a567a837f9bc853516069df1aa765702c94e;p=libpicofe.git 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");