Change brightness limit
Based on GodMode9's brightness limit, 107. The previous limit was way too dark, especially in sunlight. Even though brightness control hasn't been added yet, I still think it's better to give users the option.
This commit is contained in:
parent
faa9b4517a
commit
01ef57523b
|
@ -13,7 +13,7 @@ To compile open_agb_firm, the following needs to be installed:
|
|||
* [Corelink DMA-330 assembler](https://github.com/profi200/dma330as)
|
||||
* [CTR firm builder](https://github.com/derrekr/ctr_firm_builder)
|
||||
|
||||
Additionally, 7-Zip (or on Linux, p7zip) needs to be installed to make release builds. Also make sure the dma330as and CTR firm builder binaries are in the $PATH environment variable and accessible to the Makefile. Build open_agb_firm as a debug build via `make` or as a release build via `make release`.
|
||||
Additionally, 7-Zip (or on Linux, p7zip) needs to be installed to make release builds. Also, make sure that the dma330as and CTR firm builder binaries are in the $PATH environment variable and accessible to the Makefile. Build open_agb_firm as a debug build via `make` or as a release build via `make release`.
|
||||
|
||||
## How to use
|
||||
The process to set up and launch open_agb_firm is similar that of [GodMode9](https://github.com/d0k3/GodMode9).
|
||||
|
@ -35,7 +35,7 @@ Hold the power button to turn off the 3DS.
|
|||
Settings are stored in `/3ds/open_agb_firm/config.ini`.
|
||||
|
||||
### General
|
||||
`u8 backlight` - Backlight brightness (default: `40`, max: `64`)
|
||||
`u8 backlight` - Backlight brightness (default: `40`, max: `107`)
|
||||
|
||||
`bool biosIntro` - Show GBA BIOS intro at game startup (default: `true`)
|
||||
|
||||
|
|
|
@ -380,7 +380,7 @@ void GFX_powerOffBacklights(GfxBlight mask)
|
|||
|
||||
void GFX_setBrightness(u8 top, u8 bot)
|
||||
{
|
||||
if(top > 64 || bot > 64) return;
|
||||
if(top > 107 || bot > 107) return;
|
||||
|
||||
g_gfxState.lcdLights[0] = top;
|
||||
g_gfxState.lcdLights[1] = bot;
|
||||
|
|
Loading…
Reference in New Issue