mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 16:38:01 -05:00
Fix typos in src/core (#12625)
* Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent
This commit is contained in:
@ -28,7 +28,7 @@ SystemSettings DefaultSystemSettings() {
|
||||
.cmu_mode = CmuMode::None,
|
||||
.tv_underscan = {},
|
||||
.tv_gama = 1.0f,
|
||||
.constrast_ratio = 0.5f,
|
||||
.contrast_ratio = 0.5f,
|
||||
};
|
||||
|
||||
settings.initial_launch_settings_packed = {
|
||||
|
@ -208,7 +208,7 @@ struct TvSettings {
|
||||
CmuMode cmu_mode;
|
||||
u32 tv_underscan;
|
||||
f32 tv_gama;
|
||||
f32 constrast_ratio;
|
||||
f32 contrast_ratio;
|
||||
};
|
||||
static_assert(sizeof(TvSettings) == 0x20, "TvSettings is an invalid size");
|
||||
|
||||
@ -341,7 +341,7 @@ struct SystemSettings {
|
||||
std::array<u8, 0x3C> reserved_09934;
|
||||
|
||||
// nn::settings::system::ErrorReportSharePermission
|
||||
ErrorReportSharePermission error_report_share_permssion;
|
||||
ErrorReportSharePermission error_report_share_permission;
|
||||
|
||||
std::array<u8, 0x3C> reserved_09974;
|
||||
|
||||
|
@ -721,10 +721,10 @@ void ISystemSettingsServer::SetTvSettings(HLERequestContext& ctx) {
|
||||
SetSaveNeeded();
|
||||
|
||||
LOG_INFO(Service_SET,
|
||||
"called, flags={}, cmu_mode={}, constrast_ratio={}, hdmi_content_type={}, "
|
||||
"called, flags={}, cmu_mode={}, contrast_ratio={}, hdmi_content_type={}, "
|
||||
"rgb_range={}, tv_gama={}, tv_resolution={}, tv_underscan={}",
|
||||
m_system_settings.tv_settings.flags.raw, m_system_settings.tv_settings.cmu_mode,
|
||||
m_system_settings.tv_settings.constrast_ratio,
|
||||
m_system_settings.tv_settings.contrast_ratio,
|
||||
m_system_settings.tv_settings.hdmi_content_type,
|
||||
m_system_settings.tv_settings.rgb_range, m_system_settings.tv_settings.tv_gama,
|
||||
m_system_settings.tv_settings.tv_resolution,
|
||||
@ -870,10 +870,10 @@ void ISystemSettingsServer::GetInitialLaunchSettings(HLERequestContext& ctx) {
|
||||
|
||||
void ISystemSettingsServer::SetInitialLaunchSettings(HLERequestContext& ctx) {
|
||||
IPC::RequestParser rp{ctx};
|
||||
auto inital_launch_settings = rp.PopRaw<InitialLaunchSettings>();
|
||||
auto initial_launch_settings = rp.PopRaw<InitialLaunchSettings>();
|
||||
|
||||
m_system_settings.initial_launch_settings_packed.flags = inital_launch_settings.flags;
|
||||
m_system_settings.initial_launch_settings_packed.timestamp = inital_launch_settings.timestamp;
|
||||
m_system_settings.initial_launch_settings_packed.flags = initial_launch_settings.flags;
|
||||
m_system_settings.initial_launch_settings_packed.timestamp = initial_launch_settings.timestamp;
|
||||
SetSaveNeeded();
|
||||
|
||||
LOG_INFO(Service_SET, "called, flags={}, timestamp={}",
|
||||
|
Reference in New Issue
Block a user