shared_page.h 665 B

1234567891011121314151617181920212223242526
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. /**
  6. * The shared page stores various runtime configuration settings. This memory page is
  7. * read-only for user processes (there is a bit in the header that grants the process
  8. * write access, according to 3dbrew; this is not emulated)
  9. */
  10. #include "common/common_types.h"
  11. ////////////////////////////////////////////////////////////////////////////////////////////////////
  12. namespace SharedPage {
  13. template <typename T>
  14. void Read(T &var, const u32 addr);
  15. void Set3DSlider(float amount);
  16. void Init();
  17. } // namespace