X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=m68kmmu.h;h=3a9c6e5e1ae7ab6859cf585f65b9e13cbd63e2ab;hb=HEAD;hp=364c183c09b7f7ebf8d245d4da0068fd21dfba0a;hpb=b550b0d6325d5d863d75b25f6b6e09251806606a;p=pistorm diff --git a/m68kmmu.h b/m68kmmu.h index 364c183..3a9c6e5 100644 --- a/m68kmmu.h +++ b/m68kmmu.h @@ -356,6 +356,9 @@ uint16 pmmu_match_tt(m68ki_cpu_core *state, uint32 addr_in, int fc, uint32 tt, u void update_descriptor(m68ki_cpu_core *state, uint32 tptr, int type, uint32 entry, int16 rw) { + // FIXME: Silence unused variable warning + if (state) {} + if (type == M68K_MMU_DF_DT_PAGE && !rw && !(entry & M68K_MMU_DF_MODIFIED) && !(entry & M68K_MMU_DF_WP))