ams: bump version to 0.14.0, add emummc info configitem

This commit is contained in:
Michael Scire 2020-07-08 17:36:52 -07:00
parent f168542931
commit 9bd6916646
4 changed files with 9 additions and 1 deletions

View file

@ -262,6 +262,11 @@ namespace ams::secmon::smc {
/* Get whether this unit should allow writing to the calibration partition. */
args.r[1] = (GetEmummcConfiguration().IsEmummcActive() || GetSecmonConfiguration().AllowWritingToCalibrationBinarySysmmc());
break;
case ConfigItem::ExosphereEmummcType:
/* Get what kind of emummc this unit has active. */
/* NOTE: This may return values other than 1 in the future. */
args.r[1] = (GetEmummcConfiguration().IsEmummcActive() ? 1 : 0);
break;
default:
return SmcResult::InvalidArgument;
}