HW/GBACore: Clean up includes and whitespace.

This commit is contained in:
Jordan Woyak 2026-04-02 10:22:25 -05:00
parent c05cb75d6c
commit 3263a0ebf1
2 changed files with 7 additions and 6 deletions

View File

@ -5,9 +5,6 @@
#include "Core/HW/GBACore.h"
#define PYCPARSE // Remove static functions from the header
#include <mgba/core/interface.h>
#undef PYCPARSE
#include <mgba-util/vfs.h>
#include <mgba/core/log.h>
#include <mgba/core/timing.h>

View File

@ -12,10 +12,8 @@
#include <string_view>
#include <vector>
#define PYCPARSE // Remove static functions from the header
#include <mgba/core/interface.h>
#undef PYCPARSE
#include <mgba/core/core.h>
#include <mgba/core/interface.h>
#if !defined(_WIN32)
#define USE_PTHREADS // Required for Mutex/Condition in mCoreSync.
#endif
@ -29,6 +27,7 @@
class GBAHostInterface;
class Mixer;
class PointerWrap;
namespace Core
{
class System;
@ -36,11 +35,14 @@ class System;
namespace HW::GBA
{
class Core;
struct SIODriver : GBASIODriver
{
Core* core;
};
struct AVStream : mAVStream
{
Core* core;
@ -170,5 +172,7 @@ private:
::Core::System& m_system;
};
} // namespace HW::GBA
#endif // HAS_LIBMGBA