pcsx2/common/emitter/legacy_internal.h
GovanifY 132431b7c8 headers: relicense to GPL-3.0+
also update to 2024 while i'm at it
2024-07-30 17:17:13 -04:00

28 lines
799 B
C

// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
#pragma once
#include "common/emitter/internal.h"
//------------------------------------------------------------------
// Legacy Helper Macros and Functions (depreciated)
//------------------------------------------------------------------
#define emitterT __fi
using x86Emitter::xWrite8;
using x86Emitter::xWrite16;
using x86Emitter::xWrite32;
using x86Emitter::xWrite64;
#include "common/emitter/legacy_types.h"
#include "common/emitter/legacy_instructions.h"
#define MEMADDR(addr, oplen) (addr)
extern void ModRM(uint mod, uint reg, uint rm);
extern void SibSB(uint ss, uint index, uint base);
extern void SET8R(int cc, int to);
extern u8* J8Rel(int cc, int to);
extern u32* J32Rel(int cc, u32 to);