summaryrefslogblamecommitdiffstats
path: root/src/core/hw/hw.h
blob: 991c0a07d0fc356406ad26d76bdb84bc5ca44cee (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                        
                                            


                                          
 
                                



                     
                                  

                     
                                   
 


                   





                       
              
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// 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