Skip to content

Commit

Permalink
GS: Don't include xbyak into everything
Browse files Browse the repository at this point in the history
Xbyak header is massive
  • Loading branch information
TellowKrinkle authored and tadanokojin committed Jul 3, 2021
1 parent 2849f0b commit 63645de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pcsx2/GS/GSUtil.h
Expand Up @@ -17,6 +17,8 @@

#include "GS.h"

#include <xbyak/xbyak_util.h>

class GSUtil
{
public:
Expand Down
3 changes: 1 addition & 2 deletions pcsx2/GS/GS_types.h
Expand Up @@ -25,10 +25,9 @@ typedef unsigned long long uint64;
typedef signed long long int64;
typedef signed long long sint64;

// Makes sure that if anyone includes xbyak, it doesn't do anything bad
#define MIE_INTEGER_TYPE_DEFINED
#define XBYAK_ENABLE_OMITTED_OPERAND
#include <xbyak/xbyak.h>
#include <xbyak/xbyak_util.h>

#include <cfloat>

Expand Down
2 changes: 2 additions & 0 deletions pcsx2/GS/Renderers/Common/GSFunctionMap.h
Expand Up @@ -20,6 +20,8 @@

#include "GS/Renderers/SW/GSScanlineEnvironment.h"

#include <xbyak/xbyak_util.h>

template <class KEY, class VALUE>
class GSFunctionMap
{
Expand Down

0 comments on commit 63645de

Please sign in to comment.