2014-04-08 23:15:46 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2014-04-05 03:02:59 +00:00
|
|
|
|
2014-04-09 00:15:08 +00:00
|
|
|
#include "common/common_types.h"
|
2014-04-05 03:02:59 +00:00
|
|
|
|
|
|
|
namespace HW {
|
|
|
|
|
|
|
|
template <typename T>
|
|
|
|
inline void Read(T &var, const u32 addr);
|
|
|
|
|
|
|
|
template <typename T>
|
|
|
|
inline void Write(u32 addr, const T data);
|
|
|
|
|
2014-04-05 05:24:14 +00:00
|
|
|
/// Update hardware
|
|
|
|
void Update();
|
|
|
|
|
2014-04-05 04:01:07 +00:00
|
|
|
/// Initialize hardware
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
/// Shutdown hardware
|
|
|
|
void Shutdown();
|
|
|
|
|
2014-04-05 03:02:59 +00:00
|
|
|
} // namespace
|