Fixup OpenGL version reporting; add debug print for 3DS firm installing message

fixes 8ae947fed7
This commit is contained in:
CasualPokePlayer 2023-07-23 20:09:17 -07:00
parent 41ee99999a
commit 18b81a2011
2 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ namespace BizHawk.Bizware.Graphics
var versionParts = versionString!.Split('.');
var major = int.Parse(versionParts[0]);
var minor = int.Parse(versionParts[1][0].ToString());
return major * 100 + minor;
return major * 100 + minor * 10;
}
}
finally

View File

@ -117,6 +117,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo._3DS
File.WriteAllBytes(firmCia, firm);
var message = new byte[1024];
_core.Citra_InstallCIA(_context, firmCia, true, message, message.Length);
// InstallCIA returns false as these CIAs should not be executable
Util.DebugWriteLine(Encoding.UTF8.GetString(message).TrimEnd());
}
finally
{