diff options
author | Vas Crabb <vas@vastheman.com> | 2020-11-17 03:51:20 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-11-17 03:51:20 +1100 |
commit | 5f750e037664002504b1d665ae398cee79fecda8 (patch) | |
tree | 576e7ebe0b5f19b2b61589ff81321c3059798c45 /src/devices | |
parent | a17b844979f3c2768eedc93cf8d3bb867af4db0a (diff) |
Fixed clang warning in Lua engine properly, converted a few fallthrough comments to attributes, sorted some warning options alphabetically
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/cpu/m68000/m68kmmu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/cpu/m68000/m68kmmu.h b/src/devices/cpu/m68000/m68kmmu.h index 39f53d6524c..2c23f73a623 100644 --- a/src/devices/cpu/m68000/m68kmmu.h +++ b/src/devices/cpu/m68000/m68kmmu.h @@ -373,10 +373,10 @@ void update_sr(const int type, const u32 tbl_entry, const int fc) { m_mmu_tmp_sr |= M68K_MMU_SR_MODIFIED; } - // fall through + [[fallthrough]]; case M68K_MMU_DF_DT_TABLE_4BYTE: - // fall through + [[fallthrough]]; case M68K_MMU_DF_DT_TABLE_8BYTE: @@ -1045,6 +1045,7 @@ void m68851_pmove_put(u32 ea, u16 modes) } break; + // FIXME: unreachable if (!(modes & 0x100)) { pmmu_atc_flush(); |