Bump version number

This commit is contained in:
PabloMK7 2023-11-19 11:46:26 +01:00 committed by TuxSH
parent bef642c04f
commit 36df6d6a98
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
#define CONFIG_FILE "config.ini" #define CONFIG_FILE "config.ini"
#define CONFIG_VERSIONMAJOR 3 #define CONFIG_VERSIONMAJOR 3
#define CONFIG_VERSIONMINOR 10 #define CONFIG_VERSIONMINOR 11
#define BOOTCFG_NAND BOOTCONFIG(0, 1) #define BOOTCFG_NAND BOOTCONFIG(0, 1)
#define BOOTCFG_EMUINDEX BOOTCONFIG(1, 3) #define BOOTCFG_EMUINDEX BOOTCONFIG(1, 3)

View File

@ -386,7 +386,7 @@ void SysConfigMenu_ToggleCardIfPower(void)
static Result SysConfigMenu_ApplyVolumeOverride(void) static Result SysConfigMenu_ApplyVolumeOverride(void)
{ {
// Thanks profi200! // Credit: profi200
u8 tmp; u8 tmp;
Result res = cdcChkInit(); Result res = cdcChkInit();
@ -400,7 +400,7 @@ static Result SysConfigMenu_ApplyVolumeOverride(void)
if (currVolumeSliderOverride >= 0) { if (currVolumeSliderOverride >= 0) {
s8 calculated = -128 + (((float)currVolumeSliderOverride/100.f) * 108); s8 calculated = -128 + (((float)currVolumeSliderOverride/100.f) * 108);
if (calculated > -20) 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%). 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 if (R_SUCCEEDED(res)) res = CDCCHK_WriteRegisters2(0, 65, volumes, 2); // CDC_REG_DAC_L_VOLUME_CTRL, CDC_REG_DAC_R_VOLUME_CTRL
} }