summaryrefslogtreecommitdiffstats
path: root/src/core/hle/shared_page.h
blob: 8f93545ec604828dc0a457cf16a81fa74b4aa4f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

/**
 * The shared page stores various runtime configuration settings. This memory page is
 * read-only for user processes (there is a bit in the header that grants the process
 * write access, according to 3dbrew; this is not emulated)
 */

#include "common/common_types.h"

////////////////////////////////////////////////////////////////////////////////////////////////////

namespace SharedPage {

template <typename T>
void Read(T &var, const u32 addr);

void Set3DSlider(float amount);

void Init();

} // namespace