mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
fatal: update for latest bindings
This commit is contained in:
parent
16a25309d2
commit
6b3bf10e46
2 changed files with 6 additions and 6 deletions
|
@ -60,8 +60,8 @@ namespace ams::fatal::srv {
|
|||
std::memset(this, 0, sizeof(*this));
|
||||
|
||||
/* Get information from set. */
|
||||
setsysGetSerialNumber(this->serial_number);
|
||||
setsysGetFirmwareVersion(&this->firmware_version);
|
||||
settings::system::GetSerialNumber(std::addressof(this->serial_number));
|
||||
settings::system::GetFirmwareVersion(std::addressof(this->firmware_version));
|
||||
setsysGetQuestFlag(&this->quest_flag);
|
||||
this->UpdateLanguageCode();
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@ namespace ams::fatal::srv {
|
|||
|
||||
class FatalConfig {
|
||||
private:
|
||||
char serial_number[0x18];
|
||||
SetSysFirmwareVersion firmware_version;
|
||||
settings::system::SerialNumber serial_number;
|
||||
settings::system::FirmwareVersion firmware_version;
|
||||
u64 language_code;
|
||||
u64 quest_reboot_interval_second;
|
||||
bool transition_to_fatal;
|
||||
|
@ -35,11 +35,11 @@ namespace ams::fatal::srv {
|
|||
public:
|
||||
FatalConfig();
|
||||
|
||||
const char *GetSerialNumber() const {
|
||||
const settings::system::SerialNumber &GetSerialNumber() const {
|
||||
return this->serial_number;
|
||||
}
|
||||
|
||||
const SetSysFirmwareVersion &GetFirmwareVersion() const {
|
||||
const settings::system::FirmwareVersion &GetFirmwareVersion() const {
|
||||
return this->firmware_version;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue