Skip to content

Sleep on lid close - #176

Closed
EvansJahja wants to merge 7 commits into
profi200:libn3ds_gfx_lgycapfrom
EvansJahja:gfx_sleep
Closed

EvansJahja wants to merge 7 commits into
profi200:libn3ds_gfx_lgycapfrom
EvansJahja:gfx_sleep

Conversation

@EvansJahja

Copy link
Copy Markdown

Supersedes #175

Requires this PR

Sleeps on lid close.

@profi200

Copy link
Copy Markdown
Owner

The main problems i described in the other pull request.

Additionally for this one if a border is used it needs to be loaded again, because VRAM will lose data in sleep mode.

@EvansJahja

Copy link
Copy Markdown
Author

I have tested the latest version 907d3b762c8dc906b550c62c5b960fc955a0b75f with new 3ds and new 2ds, both seems to be working fine. I haven't re-init the border yet.

Also, since VRAM lose data in sleep mode, debugging console unfortunately got removed as well. I'm not sure how trivial it is to maintain the console data across sleep...

Will update again, but for now, it's in a testable state

@Starmann

Starmann commented Jul 2, 2024

Copy link
Copy Markdown

I compiled this myself and it works pretty well.

@profi200
profi200 deleted the branch profi200:libn3ds_gfx_lgycap July 25, 2024 15:22
@profi200 profi200 closed this Jul 25, 2024
@dleicht dleicht mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants