mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Allow disabling the brightness slider on compilation
make DISABLE_SLIDER=1
This commit is contained in:
parent
69423b22ed
commit
fe9e42ddb4
@ -24,7 +24,9 @@ u32 InputWait(u32 timeout_sec) {
|
||||
return sd_state ? SD_INSERT : SD_EJECT;
|
||||
u8 special_key;
|
||||
if ((timer_msec(timer_mcu) >= 64) && (I2C_readRegBuf(I2C_DEV_MCU, 0x10, &special_key, 1))) {
|
||||
#ifndef DISABLE_SLIDER
|
||||
CheckBrightness();
|
||||
#endif
|
||||
if (special_key == 0x01)
|
||||
return pad_state | BUTTON_POWER;
|
||||
else if (special_key == 0x04)
|
||||
|
@ -1106,7 +1106,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, PaneData** pan
|
||||
ShowPrompt(false, "Mounting image: failed");
|
||||
InitImgFS(NULL);
|
||||
} else { // open in next pane?
|
||||
if (ShowPrompt(true, "%s\nMounted as drive %s\Enter path now?", pathstr, drv_path)) {
|
||||
if (ShowPrompt(true, "%s\nMounted as drive %s\nEnter path now?", pathstr, drv_path)) {
|
||||
if (N_PANES) {
|
||||
memcpy((*pane)->path, current_path, 256); // store current pane state
|
||||
(*pane)->cursor = *cursor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user