From 1eb50d953d4df289d1d42496a38671afe5e2543c Mon Sep 17 00:00:00 2001 From: 0xmac Date: Thu, 12 Dec 2024 14:23:33 +0100 Subject: [PATCH] Cleanup --- src/memory.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/memory.c b/src/memory.c index 73543c9..6b55ebb 100644 --- a/src/memory.c +++ b/src/memory.c @@ -21,9 +21,7 @@ uint8_t read6502(uint16_t address){ return keyboardResult; break; - default: - return NOP; - break; + default: return NOP; } } @@ -54,11 +52,10 @@ void write6502(uint16_t address, uint8_t value){ break; } break; - case 0xBC00: - systemRegister = value; - break; - - default: - break; + + case 0xBC00: + systemRegister = value; + break; + default: break; } }