Fixed check for Blizzard cpuboard memtype, fixed readonly for rom_f0_ppc

This commit is contained in:
Frode Solheim 2015-09-28 17:46:38 +02:00
parent 9f431c3668
commit b30915dd1f
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ void fixup_cpu (struct uae_prefs *p)
error_log(_T("Cycle-exact mode requires at least Disabled but emulated sound setting."));
}
if (p->cpuboard_type && cpuboard_jitdirectompatible(p) && !p->comptrustbyte) {
if (p->cachesize && p->cpuboard_type && !cpuboard_jitdirectompatible(p) && !p->comptrustbyte) {
error_log(_T("JIT direct is not compatible with emulated Blizzard accelerator boards."));
p->comptrustbyte = 1;
p->comptrustlong = 1;

View File

@ -638,7 +638,7 @@ void *uae_shmat (addrbank *ab, int shmid, void *shmaddr, int shmflg)
// this is flash and also contains IO
shmaddr=natmem_offset + 0xf00000;
got = true;
readonly = true;
readonly = false;
} else if (!_tcscmp(shmids[shmid].name, _T("rtarea"))) {
shmaddr = natmem_offset + rtarea_base;
got = true;