mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
clang-format lolz
This commit is contained in:
parent
01ce538cd6
commit
d3f2aedb1e
@ -6,12 +6,12 @@
|
|||||||
#include <boost/container/flat_map.hpp>
|
#include <boost/container/flat_map.hpp>
|
||||||
#include <xbyak/xbyak.h>
|
#include <xbyak/xbyak.h>
|
||||||
#include <xbyak/xbyak_util.h>
|
#include <xbyak/xbyak_util.h>
|
||||||
#include "core/signals.h"
|
|
||||||
#include "common/config.h"
|
#include "common/config.h"
|
||||||
#include "common/io_file.h"
|
#include "common/io_file.h"
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/path_util.h"
|
#include "common/path_util.h"
|
||||||
#include "common/signal_context.h"
|
#include "common/signal_context.h"
|
||||||
|
#include "core/signals.h"
|
||||||
#include "shader_recompiler/info.h"
|
#include "shader_recompiler/info.h"
|
||||||
#include "shader_recompiler/ir/breadth_first_search.h"
|
#include "shader_recompiler/ir/breadth_first_search.h"
|
||||||
#include "shader_recompiler/ir/opcodes.h"
|
#include "shader_recompiler/ir/opcodes.h"
|
||||||
@ -69,8 +69,8 @@ static bool SrtWalkerSignalHandler(void* context, void* fault_address) {
|
|||||||
// Patch instruction to zero register
|
// Patch instruction to zero register
|
||||||
ZydisDecodedInstruction instruction;
|
ZydisDecodedInstruction instruction;
|
||||||
ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT];
|
ZydisDecodedOperand operands[ZYDIS_MAX_OPERAND_COUNT];
|
||||||
ZyanStatus status = Common::Decoder::Instance()->decodeInstruction(
|
ZyanStatus status = Common::Decoder::Instance()->decodeInstruction(instruction, operands,
|
||||||
instruction, operands, const_cast<void*>(code), 15);
|
const_cast<void*>(code), 15);
|
||||||
|
|
||||||
ASSERT(ZYAN_SUCCESS(status) && instruction.mnemonic == ZYDIS_MNEMONIC_MOV &&
|
ASSERT(ZYAN_SUCCESS(status) && instruction.mnemonic == ZYDIS_MNEMONIC_MOV &&
|
||||||
operands[0].type == ZYDIS_OPERAND_TYPE_REGISTER &&
|
operands[0].type == ZYDIS_OPERAND_TYPE_REGISTER &&
|
||||||
|
Loading…
Reference in New Issue
Block a user