From 2ba33f26f772b261050cd98e035fcab47e0aaba9 Mon Sep 17 00:00:00 2001 From: Philippe Symons Date: Tue, 8 Oct 2024 12:50:48 +0200 Subject: [PATCH] Cleanup dead code --- src/gen2/Gen2GameReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen2/Gen2GameReader.cpp b/src/gen2/Gen2GameReader.cpp index 40098ed..b928f1a 100644 --- a/src/gen2/Gen2GameReader.cpp +++ b/src/gen2/Gen2GameReader.cpp @@ -310,7 +310,7 @@ const char *Gen2GameReader::getPokemonName(uint8_t index) const Gen2PokemonIconType Gen2GameReader::getPokemonIconType(uint8_t index) const { - uint32_t romOffset = (isGameCrystal()) ? 0x8EAC4 : 0x8E975; + uint32_t romOffset; uint8_t byteVal; switch(gameType_)