From 5430fa551de89385208e90cb0d329db7a2a4b101 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Sat, 20 Jan 2024 19:11:13 +0530 Subject: [PATCH] Fix clangformat --- src/mmap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mmap.cpp b/src/mmap.cpp index 6b7efe0..ca4d852 100644 --- a/src/mmap.cpp +++ b/src/mmap.cpp @@ -319,7 +319,8 @@ Byte MemoryMap::readMemory(Word address) case MBC0: return externalRam[address - 0xA000]; case MBC1: - if (enableRAM) { + if (enableRAM) + { if (romRAMModeSelect && ((ramBankNumber * 0x2000) < ramSize)) return externalRam[address - 0xA000 + (ramBankNumber * 0x2000)]; else