profi200 / open_agb_firm

open_agb_firm is a bare metal app for running GBA homebrew/games using the 3DS builtin GBA hardware.
GNU General Public License v3.0
929 stars 46 forks source link

Can't adjust the backlight or take screen dumps #86

Open celloh123 opened 1 year ago

celloh123 commented 1 year ago

Pressing X+UP, X+DOWN, X+LEFT or X+RIGHT does nothing and pressing SELECT + Y also does nothing

profi200 commented 1 year ago

Use the latest build from the Actions tab above.

a92126 commented 1 year ago

I have a question when reading the source code. With scaler = 0, why not transfer the texture at 0x1820'0000 to the screen framebuffer, but process the texture from gpu command list and then transfer the framebuffer at 0x1818'0000? What will happen if using the first solution?

profi200 commented 1 year ago

I don't quite understand your wording. I can't skip any of the steps because the frame coming from the hardware is in a different orientation than what the physical LCDs on 3DS use. So rotation is necessary. The GPU is also unfortunately tile based so all textures processed by the GPU are swizzled which makes the display transfer at the end necessary to unswizzle.

Nxt3 commented 1 year ago

@profi200 The build artifact expired; is there any way we could get another build there?

Thanks!

profi200 commented 1 year ago

Done.

Nxt3 commented 1 year ago

Thank you so much!!