mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29:55 -06:00
Move all core types into namespaces (#1886)
* Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build
This commit is contained in:

committed by
GitHub

parent
651b0f680c
commit
346dd4006e
@ -5,6 +5,7 @@
|
||||
namespace Gdb
|
||||
{
|
||||
|
||||
using namespace melonDS;
|
||||
enum class Register : int
|
||||
{
|
||||
r0,
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "GdbProto.h"
|
||||
|
||||
using namespace melonDS;
|
||||
using Platform::Log;
|
||||
using Platform::LogLevel;
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "GdbProto.h"
|
||||
|
||||
|
||||
using namespace melonDS;
|
||||
using Platform::Log;
|
||||
using Platform::LogLevel;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
namespace Gdb {
|
||||
|
||||
using namespace melonDS;
|
||||
constexpr int GDBPROTO_BUFFER_CAPACITY = 1024+128;
|
||||
|
||||
extern u8 Cmdbuf[GDBPROTO_BUFFER_CAPACITY];
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "../Platform.h"
|
||||
#include "GdbProto.h"
|
||||
|
||||
using namespace melonDS;
|
||||
using Platform::Log;
|
||||
using Platform::LogLevel;
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
namespace Gdb
|
||||
{
|
||||
|
||||
using namespace melonDS;
|
||||
enum class TgtStatus
|
||||
{
|
||||
NoEvent,
|
||||
|
@ -9,6 +9,8 @@ extern "C"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace melonDS
|
||||
{
|
||||
inline static uint8_t hex2nyb(uint8_t v)
|
||||
{
|
||||
if (v >= '0' && v <= '9') return v - '0';
|
||||
@ -71,5 +73,6 @@ inline static uint32_t unhex32(const uint8_t* src)
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user