Updated JitStreamer Implementation, Reimplemented Texture Chunks, Reworked Alerts and more

This commit is contained in:
Stossy11 2025-03-20 21:33:28 +11:00
parent ceab2f0ac8
commit 54cb7eb953
30 changed files with 1074 additions and 486 deletions

View file

@ -251,15 +251,16 @@ namespace Ryujinx.Headless.SDL2
[UnmanagedCallersOnly(EntryPoint = "get_current_fps")]
public static unsafe int GetFPS()
{
if (_window != null) {
Switch Device = _window.Device;
if (_window == null || _window.Device == null)
{
return 0;
}
int intValue = (int)Device.Statistics.GetGameFrameRate();
Switch Device = _window.Device;
return intValue;
}
return 0;
int intValue = (int)Device.Statistics.GetGameFrameRate();
return intValue;
}
[UnmanagedCallersOnly(EntryPoint = "initialize")]