Skip to content

Commit

Permalink
Expose some fields of DSi_BPTWL needed to support direct boot (#2103)
Browse files Browse the repository at this point in the history
expose boot flag
  • Loading branch information
JesseTG authored Jul 21, 2024
1 parent 821f5f5 commit 837a582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DSi_I2C.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class DSi_BPTWL : public DSi_I2CDevice
void DoSavestate(Savestate* file) override;

u8 GetBootFlag() const;
void SetBootFlag(u8 boot) noexcept { Registers[0x70] = boot; }

bool GetBatteryCharging() const;
void SetBatteryCharging(bool charging);
Expand Down

0 comments on commit 837a582

Please sign in to comment.