mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-12 05:05:05 +01:00
f7c6302009
- moved instruction decoding to coprocessor HLE module
24 lines
561 B
C++
24 lines
561 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
|
|
namespace HLE {
|
|
|
|
/// Coprocessor operations
|
|
enum CoprocessorOperation {
|
|
DATA_SYNCHRONIZATION_BARRIER = 0xE0,
|
|
CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
|
|
};
|
|
|
|
/// Call an MCR (move to coprocessor from ARM register) instruction in HLE
|
|
s32 CallMCR(u32 instruction, u32 value);
|
|
|
|
/// Call an MRC (move to ARM register from coprocessor) instruction in HLE
|
|
s32 CallMRC(u32 instruction);
|
|
|
|
} // namespace
|