Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesCJ60 committed Aug 14, 2024
1 parent 18570de commit 7afe86a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static void runIntelTDPChangeMMIOKX(int pl1TDP, int pl2TDP)
hexPL1 = ConvertTDPToHexMMIO(pl1TDP);
hexPL2 = ConvertTDPToHexMMIO(pl2TDP);

if (hexPL1 != "Error" && hexPL2 != "Error" && MCHBAR != "")
if (hexPL1 != "Error" && hexPL2 != "Error")
{
commandArgumentsPL1 = "/wrmem16 " + MCHBAR + "a0 0x" + hexPL1;

Expand All @@ -168,7 +168,7 @@ static void runIntelTDPChangeMMIOKX(int pl1TDP, int pl2TDP)
Task.Delay(100);
}
}
catch (Exception ex) { }
catch (Exception ex) { MessageBox.Show(ex.ToString()); }
}


Expand All @@ -185,7 +185,7 @@ static void runIntelTDPChangeMSR(int pl1TDP, int pl2TDP)
hexPL1 = convertTDPToHexMSR(pl1TDP);
hexPL2 = convertTDPToHexMSR(pl2TDP);

if (hexPL1 != "Error" && hexPL2 != "Error" && MCHBAR != null)
if (hexPL1 != "Error" && hexPL2 != "Error")
{
lock (objLock)
{
Expand Down
2 changes: 1 addition & 1 deletion Universal x86 Tuning Utility/Scripts/RyzenAdj_To_UXTU.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static async void Translate(string _ryzenAdjString, bool isAutoReapply =
string[] ryzenAdjCommands = _ryzenAdjString.Split(' ');
ryzenAdjCommands = ryzenAdjCommands.Distinct().ToArray();

MessageBox.Show(_ryzenAdjString);
//MessageBox.Show(_ryzenAdjString);
//Run through array
foreach (string ryzenAdjCommand in ryzenAdjCommands)
{
Expand Down

0 comments on commit 7afe86a

Please sign in to comment.