mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 14:39:18 +01:00
Enable IApplicationDisplayService::ConvertScalingMode
implementation
The implementation for this service function wasn't added to the service function table. Additionally, the type for the output `ScalingMode` was implicitly `int` as it was unspecified in the `enum class` which has now been corrected to `u64` as it should be.
This commit is contained in:
parent
45d0558d00
commit
d39112e9b9
@ -18,7 +18,7 @@ namespace skyline::service::visrv {
|
||||
/**
|
||||
* @brief Specifies the method to scale up the layer content to its bounds
|
||||
*/
|
||||
enum class ScalingMode {
|
||||
enum class ScalingMode : u64 {
|
||||
Freeze = 0,
|
||||
ScaleToLayer = 1,
|
||||
ScaleAndCrop = 2,
|
||||
@ -112,6 +112,7 @@ namespace skyline::service::visrv {
|
||||
SFUNC_BASE(0x7EE, IApplicationDisplayService, IDisplayService, CreateStrayLayer),
|
||||
SFUNC_BASE(0x7EF, IApplicationDisplayService, IDisplayService, DestroyStrayLayer),
|
||||
SFUNC(0x835, IApplicationDisplayService, SetLayerScalingMode),
|
||||
SFUNC(0x836, IApplicationDisplayService, ConvertScalingMode),
|
||||
SFUNC(0x1452, IApplicationDisplayService, GetDisplayVsyncEvent)
|
||||
)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user