mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
c3c309f33d
the helper macro for padding to common_funcs.h
24 lines
733 B
C++
24 lines
733 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
// Configuration memory stores various hardware/kernel configuration settings. This memory page is
|
|
// read-only for ARM11 processes. I'm guessing this would normally be written to by the firmware/
|
|
// bootrom. Because we're not emulating this, and essentially just "stubbing" the functionality, I'm
|
|
// putting this as a subset of HLE for now.
|
|
|
|
#include "common/common_types.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
namespace ConfigMem {
|
|
|
|
template <typename T>
|
|
void Read(T &var, const u32 addr);
|
|
|
|
void Init();
|
|
|
|
} // namespace
|