summaryrefslogblamecommitdiffstats
path: root/src/core/hw/hw.h
blob: 5b0cc8c8725a90515e8284babcd0998bacfb88e9 (plain) (tree)
1
2
3
4
5




                                          










                                          


                   





                       
              
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.

#pragma once

#include "common_types.h"

namespace HW {

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