all repos — mgba @ 463ce997397850e6ea5ca27fb5c806e2edca4e89

mGBA Game Boy Advance Emulator

All: Include cleanup
Jeffrey Pfau jeffrey@endrift.com
Mon, 26 Dec 2016 23:27:32 -0800
commit

463ce997397850e6ea5ca27fb5c806e2edca4e89

parent

03ca7515b3e79a1d2c34ca93e7d5d1c487820a7a

M src/gba/cheats.csrc/gba/cheats.c

@@ -5,6 +5,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this

* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "cheats.h" +#include "core/core.h" #include "gba/cheats/gameshark.h" #include "gba/cheats/parv3.h" #include "gba/gba.h"
M src/gba/gba.hsrc/gba/gba.h

@@ -152,8 +152,11 @@ void GBAHalt(struct GBA* gba);

void GBAStop(struct GBA* gba); void GBADebug(struct GBA* gba, uint16_t value); +#ifdef USE_DEBUGGERS +struct mDebugger; void GBAAttachDebugger(struct GBA* gba, struct mDebugger* debugger); void GBADetachDebugger(struct GBA* gba); +#endif void GBASetBreakpoint(struct GBA* gba, struct mCPUComponent* component, uint32_t address, enum ExecutionMode mode, uint32_t* opcode);
M src/gba/video.hsrc/gba/video.h

@@ -10,7 +10,6 @@ #include "util/common.h"

CXX_GUARD_START -#include "core/core.h" #include "core/timing.h" #include "gba/memory.h"
M src/platform/qt/AudioDevice.cppsrc/platform/qt/AudioDevice.cpp

@@ -7,6 +7,7 @@ #include "AudioDevice.h"

#include "LogController.h" +#include "core/core.h" #include "core/thread.h" #include "gba/audio.h"
M src/platform/qt/AudioProcessorQt.cppsrc/platform/qt/AudioProcessorQt.cpp

@@ -10,6 +10,7 @@ #include "LogController.h"

#include <QAudioOutput> +#include "core/core.h" #include "core/thread.h" using namespace QGBA;
M src/platform/sdl/sdl-audio.csrc/platform/sdl/sdl-audio.c

@@ -5,6 +5,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this

* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "sdl-audio.h" +#include "core/core.h" #include "core/thread.h" #include "gba/gba.h"