added NDMA hardware interface

This commit is contained in:
bunnei 2014-04-17 23:43:55 -04:00
parent b2baafaf8b
commit c3a4b4bfca
7 changed files with 143 additions and 4 deletions

26
src/core/hw/ndma.h Normal file
View 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