Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloMK7 authored and TuxSH committed Feb 7, 2024
1 parent bef642c commit 353a048
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arm9/source/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions sysmodules/rosalina/source/menus/sysconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,11 @@ 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
}

cdcChkExit();
return res;
}
Expand Down Expand Up @@ -478,12 +478,12 @@ void SysConfigMenu_AdjustVolume(void)
tempVolumeOverride+=10;
else if (pressed & KEY_DLEFT)
tempVolumeOverride-=10;

if (tempVolumeOverride < 0)
tempVolumeOverride = 0;
if (tempVolumeOverride > 100)
tempVolumeOverride = 100;
}

} while(!menuShouldExit);
}
}

0 comments on commit 353a048

Please sign in to comment.