Skip to content

Commit

Permalink
Fix narrowing conversion error
Browse files Browse the repository at this point in the history
  • Loading branch information
matbo87 committed Oct 12, 2024
1 parent 05c6663 commit d0c9e47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/3dsthemes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Theme3ds Themes[]={
1.0f}, //dialogSelectedItemBackAlpha

{"RetroArch", //Name
-1, //menuTopBarColor
(uint32)-1, //menuTopBarColor
0x66ff66, //selectedTabTextColor
0xffffff, //tabTextColor
-1, //selectedTabIndicatorColor
(uint32)-1, //selectedTabIndicatorColor
0x1d1d1d, //menuBottomBarColor
0xffffff, // menuBottomBarTextColor
0x1d1d1d, //menuBackColor
-1, //selectedItemBackColor
(uint32)-1, //selectedItemBackColor
0x66ff66, //selectedItemTextColor
0x66ff66, //selectedItemDescriptionTextColor
0xffffff, //normalItemTextColor
Expand Down
2 changes: 1 addition & 1 deletion source/Snes9x/soundux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static uint32 OldDecayRate[8] =

static uint32 OldSustainRate[32] =
{
~0, 38000, 28000, 24000, 19000, 14000, 12000, 9400,
(uint32)~0, 38000, 28000, 24000, 19000, 14000, 12000, 9400,
7100, 5900, 4700, 3500, 2900, 2400, 1800, 1500,
1200, 880, 740, 590, 440, 370, 290, 220,
180, 150, 110, 92, 74, 55, 37, 18
Expand Down

0 comments on commit d0c9e47

Please sign in to comment.