summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/spl
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-02 22:23:19 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-02 22:23:19 +0100
commitcb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch)
tree5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/hle/service/spl
parenthle/result: Amend ResultVal documentation (diff)
downloadyuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.gz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.bz2
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.lz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.xz
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.tar.zst
yuzu-cb09ea0f0174162a85f47fdb8446b397c3c57e20.zip
Diffstat (limited to 'src/core/hle/service/spl')
-rw-r--r--src/core/hle/service/spl/spl_module.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/hle/service/spl/spl_module.cpp b/src/core/hle/service/spl/spl_module.cpp
index ed4c06260..10f7d1461 100644
--- a/src/core/hle/service/spl/spl_module.cpp
+++ b/src/core/hle/service/spl/spl_module.cpp
@@ -120,40 +120,40 @@ ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const {
return ResultSecureMonitorNotImplemented;
case ConfigItem::ExosphereApiVersion:
// Get information about the current exosphere version.
- return MakeResult((u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MAJOR} << 56) |
- (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MINOR} << 48) |
- (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MICRO} << 40) |
- (static_cast<u64>(HLE::ApiVersion::GetTargetFirmware())));
+ return (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MAJOR} << 56) |
+ (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MINOR} << 48) |
+ (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MICRO} << 40) |
+ (static_cast<u64>(HLE::ApiVersion::GetTargetFirmware()));
case ConfigItem::ExosphereNeedsReboot:
// We are executing, so we aren't in the process of rebooting.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereNeedsShutdown:
// We are executing, so we aren't in the process of shutting down.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereGitCommitHash:
// Get information about the current exosphere git commit hash.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereHasRcmBugPatch:
// Get information about whether this unit has the RCM bug patched.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereBlankProdInfo:
// Get whether this unit should simulate a "blanked" PRODINFO.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereAllowCalWrites:
// Get whether this unit should allow writing to the calibration partition.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereEmummcType:
// Get what kind of emummc this unit has active.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExospherePayloadAddress:
// Gets the physical address of the reboot payload buffer, if one exists.
return ResultSecureMonitorNotInitialized;
case ConfigItem::ExosphereLogConfiguration:
// Get the log configuration.
- return MakeResult(u64{0});
+ return u64{0};
case ConfigItem::ExosphereForceEnableUsb30:
// Get whether usb 3.0 should be force-enabled.
- return MakeResult(u64{0});
+ return u64{0};
default:
return ResultSecureMonitorInvalidArgument;
}