GBA: Remove disused variable

This commit is contained in:
Vicki Pfau 2023-05-09 21:44:58 -07:00
parent 257122796c
commit 213a534f4b
1 changed files with 0 additions and 1 deletions

View File

@ -663,7 +663,6 @@ bool GBAIsROM(struct VFile* vf) {
#ifdef USE_ELF
struct ELF* elf = ELFOpen(vf);
if (elf) {
uint32_t entry = ELFEntry(elf);
bool isGBA = true;
isGBA = isGBA && ELFMachine(elf) == EM_ARM;
isGBA = isGBA && (GBAVerifyELFEntry(elf, GBA_BASE_ROM0) || GBAVerifyELFEntry(elf, GBA_BASE_EWRAM + 0xC0));