On Thu, May 17, 2018 at 10:26:00AM -0700, Richard Henderson wrote: > On 05/16/2018 11:51 AM, Edgar E. Iglesias wrote: > > - env->pvr.regs[11] = PVR11_USE_MMU | (16 << 17); > > + env->pvr.regs[11] = cpu->cfg.use_mmu ? PVR11_USE_MMU : 0 | > > + 16 << 17; > > I believe this needs parenthesis around the ?:.
Goot catch, I've fixed that for v4. Cheers, Edgar