nyx: extend bpmpclock

Add 2 more slower modes.
This commit is contained in:
CTCaer
2025-11-11 13:54:33 +02:00
parent 813346f796
commit 119fcdf9e8
2 changed files with 10 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ hekate has a boot storage in the binary that helps it configure it outside of BP
| umsemmcrw=0 | 1: eMMC/emuMMC UMS will be mounted as writable by default. | | umsemmcrw=0 | 1: eMMC/emuMMC UMS will be mounted as writable by default. |
| jcdisable=0 | 1: Disables Joycon driver completely. | | jcdisable=0 | 1: Disables Joycon driver completely. |
| jcforceright=0 | 1: Forces right joycon to be used as main mouse control. | | jcforceright=0 | 1: Forces right joycon to be used as main mouse control. |
| bpmpclock=1 | 0: Auto, 1: Fastest, 2: Faster, 3: Fast. Use 2 or 3 if Nyx hangs or some functions like UMS/Backup Verification fail. | | bpmpclock=1 | 0: Auto, 1: 589 MHz, 2: 576 MHz, 3: 563 MHz, 4: 544 MHz, 5: 408 MHz. Use 2 to 5 if Nyx hangs or some functions like UMS/Backup Verification fail. |
``` ```

View File

@@ -496,14 +496,20 @@ void nyx_init_load_res()
{ {
case 0: case 0:
case 1: case 1:
bpmp_clk_rate_set(BPMP_CLK_DEFAULT_BOOST); bpmp_clk_rate_set(BPMP_CLK_BIN0_BOOST);
break; break;
case 2: case 2:
bpmp_clk_rate_set(BPMP_CLK_LOWER_BOOST); bpmp_clk_rate_set(BPMP_CLK_BIN1_BOOST);
break; break;
case 3: case 3:
bpmp_clk_rate_set(BPMP_CLK_BIN2_BOOST);
break;
case 4:
bpmp_clk_rate_set(BPMP_CLK_BIN3_BOOST);
break;
case 5:
default: default:
bpmp_clk_rate_set(BPMP_CLK_LOWEST_BOOST); bpmp_clk_rate_set(BPMP_CLK_NORMAL);
break; break;
} }