diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-18 01:47:03 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-18 14:18:34 +0100 |
commit | ecd3afdc8e38ba98b5744f168efce27f2ab2fccc (patch) | |
tree | ce0b93331a851b1db327399af2fe4d4102a3a5a7 /src/core/hle/service/am/am.h | |
parent | Merge pull request #2257 from MerryMage/boost-1.66 (diff) | |
download | yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar.gz yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar.bz2 yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar.lz yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar.xz yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.tar.zst yuzu-ecd3afdc8e38ba98b5744f168efce27f2ab2fccc.zip |
Diffstat (limited to 'src/core/hle/service/am/am.h')
-rw-r--r-- | src/core/hle/service/am/am.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h index b6113cfdd..bca06c25d 100644 --- a/src/core/hle/service/am/am.h +++ b/src/core/hle/service/am/am.h @@ -82,7 +82,11 @@ private: void GetMainAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx); void GetLibraryAppletExpectedMasterVolume(Kernel::HLERequestContext& ctx); - u32 volume{100}; + static constexpr float min_allowed_volume = 0.0f; + static constexpr float max_allowed_volume = 1.0f; + + float main_applet_volume{0.25f}; + float library_applet_volume{max_allowed_volume}; }; class IDisplayController final : public ServiceFramework<IDisplayController> { |