diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-04-02 10:22:25 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2026-04-02 11:02:17 -0500 |
| commit | 3263a0ebf1225bb90987c210e49a93cb79c145de (patch) | |
| tree | d41afe573b377819a7e21b94478a9fe65c6b0a08 /Source/Core | |
| parent | c05cb75d6c889489543663101fa1285159900f1c (diff) | |
HW/GBACore: Clean up includes and whitespace.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/GBACore.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/Core/HW/GBACore.h | 10 |
2 files changed, 7 insertions, 6 deletions
diff --git a/Source/Core/Core/HW/GBACore.cpp b/Source/Core/Core/HW/GBACore.cpp index 1c270281aa..d9f8f8c81a 100644 --- a/Source/Core/Core/HW/GBACore.cpp +++ b/Source/Core/Core/HW/GBACore.cpp @@ -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> diff --git a/Source/Core/Core/HW/GBACore.h b/Source/Core/Core/HW/GBACore.h index 109416e1de..3427f8eb0f 100644 --- a/Source/Core/Core/HW/GBACore.h +++ b/Source/Core/Core/HW/GBACore.h @@ -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 |
