From: Frode Solheim Date: Mon, 28 Sep 2015 15:46:38 +0000 (+0200) Subject: Fixed check for Blizzard cpuboard memtype, fixed readonly for rom_f0_ppc X-Git-Tag: 3200~43^2 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=b30915dd1fd0094356edb273af07f92b111e30c6;p=francis%2Fwinuae.git Fixed check for Blizzard cpuboard memtype, fixed readonly for rom_f0_ppc --- diff --git a/main.cpp b/main.cpp index 002077c2..c68e4d3f 100644 --- a/main.cpp +++ b/main.cpp @@ -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; diff --git a/od-win32/mman.cpp b/od-win32/mman.cpp index c9113af4..a6c4a30c 100644 --- a/od-win32/mman.cpp +++ b/od-win32/mman.cpp @@ -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;