From c37c472996860faca614e09e7b29ed0d11115ec2 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Wed, 20 Oct 2021 13:08:38 +0000 Subject: [PATCH] Fix merge in b3153dcf breaking build. The merge conflict was resolved incorrectly, replace with source file from the libretro fork. Signed-off-by: Rafael Kitover --- src/gba/agbprint.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/gba/agbprint.cpp b/src/gba/agbprint.cpp index 4bf25ea5..6820931d 100644 --- a/src/gba/agbprint.cpp +++ b/src/gba/agbprint.cpp @@ -55,10 +55,6 @@ void agbPrintFlush() uint16_t put = debuggerReadHalfWord(0x9fe20fe); uint32_t address = (debuggerReadHalfWord(0x9fe20fa) << 16); - - char message[0x10000]; - size_t index = 0; - if (address != 0xfd0000 && address != 0x1fd0000) { #ifdef BKPT_SUPPORT dbgOutput("Did you forget to call AGBPrintInit?\n", 0); @@ -77,18 +73,10 @@ void agbPrintFlush() s[0] = c; s[1] = 0; if (systemVerbose & VERBOSE_AGBPRINT) - { -#ifdef BKPT_SUPPORT dbgOutput(s, 0); #endif if (c == '\n') break; } - - message[index] = '\0'; - if (systemVerbose & VERBOSE_AGBPRINT) - { - log("AGBPrint: %s\n", message); - } debuggerWriteHalfWord(0x9fe20fc, get); }