added NDMA hardware interface
This commit is contained in:
parent
b2baafaf8b
commit
c3a4b4bfca
7 changed files with 143 additions and 4 deletions
26
src/core/hw/ndma.h
Normal file
26
src/core/hw/ndma.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace NDMA {
|
||||
|
||||
template <typename T>
|
||||
inline void Read(T &var, const u32 addr);
|
||||
|
||||
template <typename T>
|
||||
inline void Write(u32 addr, const T data);
|
||||
|
||||
/// Update hardware
|
||||
void Update();
|
||||
|
||||
/// Initialize hardware
|
||||
void Init();
|
||||
|
||||
/// Shutdown hardware
|
||||
void Shutdown();
|
||||
|
||||
} // namespace
|
Loading…
Add table
Add a link
Reference in a new issue