Fix Tamper Machine crash and timings (#2159)

* Add missing return

* Change TamperMachine sleep to 83ms

* Change constant name to PascalCase
This commit is contained in:
Caian Benedicto 2021-04-02 10:42:25 -03:00 committed by GitHub
parent 524fe3bea4
commit 9ae60207c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -630,6 +630,8 @@ namespace Ryujinx.HLE.HOS
if (tamperInfo == null || tamperInfo.BuildIds == null || tamperInfo.CodeAddresses == null)
{
Logger.Error?.Print(LogClass.ModLoader, "Unable to install cheat because the associated process is invalid");
return;
}
Logger.Info?.Print(LogClass.ModLoader, $"Build ids found for title {titleId:X16}:\n {String.Join("\n ", tamperInfo.BuildIds)}");