mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 01:58:02 -05:00
moved HLE::MRC to its own module, added support for catching data synchronization barrier command
This commit is contained in:
20
src/core/hle/mrc.h
Normal file
20
src/core/hle/mrc.h
Normal file
@ -0,0 +1,20 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace HLE {
|
||||
|
||||
/// MRC operations (ARM register from coprocessor), decoded as instr[20:27]
|
||||
enum ARM11_MRC_OPERATION {
|
||||
DATA_SYNCHRONIZATION_BARRIER = 0xE0,
|
||||
CALL_GET_THREAD_COMMAND_BUFFER = 0xE1,
|
||||
};
|
||||
|
||||
/// Call an MRC operation in HLE
|
||||
u32 CallMRC(ARM11_MRC_OPERATION operation);
|
||||
|
||||
} // namespace
|
Reference in New Issue
Block a user