suyu/src/core/hw/hw.h

27 lines
440 B
C
Raw Normal View History

2014-04-08 19:15:46 -04:00
// Copyright 2014 Citra Emulator Project
2014-12-17 00:38:14 -05:00
// Licensed under GPLv2 or any later version
2014-04-08 19:15:46 -04:00
// Refer to the license.txt file included.
#pragma once
#include "common/common_types.h"
namespace HW {
template <typename T>
void Read(T &var, const u32 addr);
template <typename T>
void Write(u32 addr, const T data);
/// Update hardware
void Update();
/// Initialize hardware
void Init();
/// Shutdown hardware
void Shutdown();
} // namespace