Rearrange some #includes

This commit is contained in:
Jesse Talavera-Greenberg
2023-12-06 09:41:29 -05:00
committed by Nadia Holmquist Pedersen
parent 7cef13031f
commit 72d4eba477
2 changed files with 17 additions and 17 deletions

View File

@ -25,9 +25,9 @@
#include "types.h" #include "types.h"
#include "MemConstants.h" #include "MemConstants.h"
#include "Args.h" #include "Args.h"
#include "ARMJIT_Memory.h"
#ifdef JIT_ENABLED #ifdef JIT_ENABLED
#include "ARMJIT_Memory.h"
#include "JitBlock.h" #include "JitBlock.h"
#if defined(__APPLE__) && defined(__aarch64__) #if defined(__APPLE__) && defined(__aarch64__)

View File

@ -20,11 +20,11 @@
#define ARMJIT_MEMORY #define ARMJIT_MEMORY
#include "types.h" #include "types.h"
#include "TinyVector.h"
#include "ARM.h"
#include "MemConstants.h" #include "MemConstants.h"
#ifdef JIT_ENABLED
# include "TinyVector.h"
# include "ARM.h"
# if defined(__SWITCH__) # if defined(__SWITCH__)
# include <switch.h> # include <switch.h>
# elif defined(_WIN32) # elif defined(_WIN32)
@ -36,17 +36,17 @@
# include <unistd.h> # include <unistd.h>
# include <signal.h> # include <signal.h>
# endif # endif
#else
#ifndef JIT_ENABLED
# include <array> # include <array>
#include "NDS.h"
#endif #endif
namespace melonDS namespace melonDS
{ {
#ifdef JIT_ENABLED
namespace Platform { struct DynamicLibrary; } namespace Platform { struct DynamicLibrary; }
class Compiler; class Compiler;
class ARMJIT; class ARMJIT;
#endif
constexpr u32 RoundUp(u32 size) noexcept constexpr u32 RoundUp(u32 size) noexcept
{ {