hw.h 419 B

1234567891011121314151617181920212223242526
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "common/common_types.h"
  6. namespace HW {
  7. template <typename T>
  8. void Read(T &var, const u32 addr);
  9. template <typename T>
  10. void Write(u32 addr, const T data);
  11. /// Update hardware
  12. void Update();
  13. /// Initialize hardware
  14. void Init();
  15. /// Shutdown hardware
  16. void Shutdown();
  17. } // namespace