]> git.sesse.net Git - pistorm/blobdiff - m68kmmu.h
Add some more Mac68k handling stuff
[pistorm] / m68kmmu.h
index 364c183c09b7f7ebf8d245d4da0068fd21dfba0a..3a9c6e5e1ae7ab6859cf585f65b9e13cbd63e2ab 100644 (file)
--- 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))