From 837a58208711722e1762098c2a0244c2d8409864 Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Sun, 21 Jul 2024 11:23:19 -0400 Subject: [PATCH] Expose some fields of `DSi_BPTWL` needed to support direct boot (#2103) expose boot flag --- src/DSi_I2C.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DSi_I2C.h b/src/DSi_I2C.h index a05c7aed..3102ffeb 100644 --- a/src/DSi_I2C.h +++ b/src/DSi_I2C.h @@ -87,6 +87,7 @@ public: void DoSavestate(Savestate* file) override; u8 GetBootFlag() const; + void SetBootFlag(u8 boot) noexcept { Registers[0x70] = boot; } bool GetBatteryCharging() const; void SetBatteryCharging(bool charging);