mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-14 07:40:04 -05:00
HW/GBACore: Clean up includes and whitespace.
This commit is contained in:
parent
c05cb75d6c
commit
3263a0ebf1
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user