Skip to content

Commit

Permalink
Fixed check for Blizzard cpuboard memtype, fixed readonly for rom_f0_ppc
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodeSolheim committed Sep 28, 2015
1 parent 39c7c33 commit c6397a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,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;
Expand Down
2 changes: 1 addition & 1 deletion src/od-win32/mman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,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;
Expand Down

0 comments on commit c6397a7

Please sign in to comment.