GBA Memory: Remove unused variable

This commit is contained in:
Vicki Pfau 2021-04-03 00:32:48 -07:00
parent 02dc7a0e66
commit 9a192d9ab1
1 changed files with 0 additions and 1 deletions

View File

@ -930,7 +930,6 @@ void GBAStore16(struct ARMCore* cpu, uint32_t address, int16_t value, int* cycle
if ((address & 0x00FFFFFF) >= AGB_PRINT_BASE) {
uint32_t agbPrintAddr = address & 0x00FFFFFF;
if (agbPrintAddr == AGB_PRINT_PROTECT) {
bool wasProtected = memory->agbPrintProtect != 0x20;
memory->agbPrintProtect = value;
if (!memory->agbPrintBuffer) {