mirror of https://github.com/mgba-emu/mgba.git
GBA: Remove disused variable
This commit is contained in:
parent
257122796c
commit
213a534f4b
|
@ -663,7 +663,6 @@ bool GBAIsROM(struct VFile* vf) {
|
||||||
#ifdef USE_ELF
|
#ifdef USE_ELF
|
||||||
struct ELF* elf = ELFOpen(vf);
|
struct ELF* elf = ELFOpen(vf);
|
||||||
if (elf) {
|
if (elf) {
|
||||||
uint32_t entry = ELFEntry(elf);
|
|
||||||
bool isGBA = true;
|
bool isGBA = true;
|
||||||
isGBA = isGBA && ELFMachine(elf) == EM_ARM;
|
isGBA = isGBA && ELFMachine(elf) == EM_ARM;
|
||||||
isGBA = isGBA && (GBAVerifyELFEntry(elf, GBA_BASE_ROM0) || GBAVerifyELFEntry(elf, GBA_BASE_EWRAM + 0xC0));
|
isGBA = isGBA && (GBAVerifyELFEntry(elf, GBA_BASE_ROM0) || GBAVerifyELFEntry(elf, GBA_BASE_EWRAM + 0xC0));
|
||||||
|
|
Loading…
Reference in New Issue