Bump version number
This commit is contained in:
parent
bef642c04f
commit
36df6d6a98
@ -36,7 +36,7 @@
|
||||
|
||||
#define CONFIG_FILE "config.ini"
|
||||
#define CONFIG_VERSIONMAJOR 3
|
||||
#define CONFIG_VERSIONMINOR 10
|
||||
#define CONFIG_VERSIONMINOR 11
|
||||
|
||||
#define BOOTCFG_NAND BOOTCONFIG(0, 1)
|
||||
#define BOOTCFG_EMUINDEX BOOTCONFIG(1, 3)
|
||||
|
@ -386,7 +386,7 @@ void SysConfigMenu_ToggleCardIfPower(void)
|
||||
|
||||
static Result SysConfigMenu_ApplyVolumeOverride(void)
|
||||
{
|
||||
// Thanks profi200!
|
||||
// Credit: profi200
|
||||
u8 tmp;
|
||||
Result res = cdcChkInit();
|
||||
|
||||
@ -400,7 +400,7 @@ static Result SysConfigMenu_ApplyVolumeOverride(void)
|
||||
if (currVolumeSliderOverride >= 0) {
|
||||
s8 calculated = -128 + (((float)currVolumeSliderOverride/100.f) * 108);
|
||||
if (calculated > -20)
|
||||
return -1; // Just in case
|
||||
res = -1; // Just in case
|
||||
s8 volumes[2] = {calculated, calculated}; // Volume in 0.5 dB steps. -128 (muted) to 48. Do not go above -20 (100%).
|
||||
if (R_SUCCEEDED(res)) res = CDCCHK_WriteRegisters2(0, 65, volumes, 2); // CDC_REG_DAC_L_VOLUME_CTRL, CDC_REG_DAC_R_VOLUME_CTRL
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user