summaryrefslogtreecommitdiff
path: root/src/core/hw/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hw/hw.h')
-rw-r--r--src/core/hw/hw.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/hw/hw.h b/src/core/hw/hw.h
new file mode 100644
index 000000000..5b0cc8c87
--- /dev/null
+++ b/src/core/hw/hw.h
@@ -0,0 +1,26 @@
1// Copyright 2014 Citra Emulator Project
2// Licensed under GPLv2
3// Refer to the license.txt file included.
4
5#pragma once
6
7#include "common_types.h"
8
9namespace HW {
10
11template <typename T>
12inline void Read(T &var, const u32 addr);
13
14template <typename T>
15inline void Write(u32 addr, const T data);
16
17/// Update hardware
18void Update();
19
20/// Initialize hardware
21void Init();
22
23/// Shutdown hardware
24void Shutdown();
25
26} // namespace