From 060aef1a39440bcbf35a63fde03ac869b17902f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Wed, 2 Aug 2023 00:30:23 +0100
Subject: [PATCH] fix: removed hardcoded cheat codes

---
 frontends/sdl/src/main.rs | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/frontends/sdl/src/main.rs b/frontends/sdl/src/main.rs
index 8782c6c4..4c5ffefb 100644
--- a/frontends/sdl/src/main.rs
+++ b/frontends/sdl/src/main.rs
@@ -239,11 +239,6 @@ impl Emulator {
         }
         self.rom_path = String::from(rom_path);
         self.ram_path = ram_path;
-
-        // @TODO: hardcoded adding of game genie codes
-        self.system.add_cheat_code("00A-17B-C49").unwrap();
-        self.system.add_cheat_code("008-60A-E6E").unwrap();
-        self.system.add_cheat_code("99D-49C-E62").unwrap();
     }
 
     pub fn reset(&mut self) {
-- 
GitLab