From b87e31d3f4a108348aa7bc66881c45d5a880d61d Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 20 Aug 2021 00:17:05 -0500 Subject: [PATCH] fix(cartridge): remove unnecessary dbg statement --- src/cartridge.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cartridge.rs b/src/cartridge.rs index 0898f78..f2b7bd3 100644 --- a/src/cartridge.rs +++ b/src/cartridge.rs @@ -75,7 +75,7 @@ impl Cartridge { } fn detect_rom_info(memory: &[u8]) -> RomSize { - let id = dbg!(memory[ROM_SIZE_ADDRESS]); + let id = memory[ROM_SIZE_ADDRESS]; id.into() }