mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-30 01:29:48 -06:00
Vi: Implement ConvertScalingMode (#581)
* Vi: Implement ConvertScalingMode For now, it seems Nintendo just map 1:1 between the two enums. * Resolve style nits * Vi: Correct mapping order
This commit is contained in:
24
Ryujinx.HLE/HOS/Services/Vi/ScalingMode.cs
Normal file
24
Ryujinx.HLE/HOS/Services/Vi/ScalingMode.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Services.Vi
|
||||
{
|
||||
enum SrcScalingMode
|
||||
{
|
||||
Freeze = 0,
|
||||
ScaleToWindow = 1,
|
||||
ScaleAndCrop = 2,
|
||||
None = 3,
|
||||
PreserveAspectRatio = 4
|
||||
}
|
||||
|
||||
enum DstScalingMode
|
||||
{
|
||||
None = 0,
|
||||
Freeze = 1,
|
||||
ScaleToWindow = 2,
|
||||
ScaleAndCrop = 3,
|
||||
PreserveAspectRatio = 4
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user