summaryrefslogblamecommitdiffstats
path: root/src/core/hw/ndma.h
blob: d8fa3d40b36ed46ad045697f5f8228300a72bf17 (plain) (tree)

























                                          
// 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