mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Updated JitStreamer Implementation, Reimplemented Texture Chunks, Reworked Alerts and more
This commit is contained in:
parent
ceab2f0ac8
commit
54cb7eb953
30 changed files with 1074 additions and 486 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue