mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-26 23:47:45 +02:00

Rebased @jcm93's refreshinterval branch: https://github.com/jcm93/Ryujinx/tree/refreshinterval The option is placed under System/Hacks. Disabled, it's the default Ryujinx behavior. Enabled, the behavior is shown in the attached screenshots. If a framerate is too high or low, you can adjust the value where you normally toggle VSync on and off. It will also cycle through the default on/off toggles. Also, in order to reduce clutter, I made an adjustment to remove the target FPS and only show the percentage. --------- Co-authored-by: jcm <6864788+jcm93@users.noreply.github.com>
18 lines
505 B
C#
18 lines
505 B
C#
using System;
|
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public interface IWindow
|
|
{
|
|
void Present(ITexture texture, ImageCrop crop, Action swapBuffersCallback);
|
|
|
|
void SetSize(int width, int height);
|
|
|
|
void ChangeVSyncMode(VSyncMode vSyncMode);
|
|
|
|
void SetAntiAliasing(AntiAliasing antialiasing);
|
|
void SetScalingFilter(ScalingFilter type);
|
|
void SetScalingFilterLevel(float level);
|
|
void SetColorSpacePassthrough(bool colorSpacePassThroughEnabled);
|
|
}
|
|
}
|