summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-05 18:26:01 +0200
committerGitHub <noreply@github.com>2021-05-05 18:26:01 +0200
commit860d73637edede1d308133e8dd4c1082e0bf52b1 (patch)
tree7b5510181c012f07b1c6a5574ddec3728d632121
parentMerge pull request #6281 from lioncash/shadow-field (diff)
parentservice: Remove unused class variables (diff)
downloadyuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar.gz
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar.bz2
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar.lz
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar.xz
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.tar.zst
yuzu-860d73637edede1d308133e8dd4c1082e0bf52b1.zip
-rw-r--r--src/core/hle/service/am/applets/web_browser.h9
-rw-r--r--src/core/hle/service/lbl/lbl.cpp1
-rw-r--r--src/core/hle/service/pctl/module.cpp1
3 files changed, 4 insertions, 7 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.h b/src/core/hle/service/am/applets/web_browser.h
index 21fd910c2..1e1812f36 100644
--- a/src/core/hle/service/am/applets/web_browser.h
+++ b/src/core/hle/service/am/applets/web_browser.h
@@ -69,13 +69,12 @@ private:
bool complete{false};
ResultCode status{RESULT_SUCCESS};
- WebAppletVersion web_applet_version;
- WebExitReason web_exit_reason;
- WebArgHeader web_arg_header;
+ WebAppletVersion web_applet_version{};
+ WebArgHeader web_arg_header{};
WebArgInputTLVMap web_arg_input_tlv_map;
- u64 title_id;
- FileSys::ContentRecordType nca_type;
+ u64 title_id{};
+ FileSys::ContentRecordType nca_type{};
std::string offline_cache_dir;
std::string offline_document;
FileSys::VirtualFile offline_romfs;
diff --git a/src/core/hle/service/lbl/lbl.cpp b/src/core/hle/service/lbl/lbl.cpp
index e11a0c45a..3a5a2f4f5 100644
--- a/src/core/hle/service/lbl/lbl.cpp
+++ b/src/core/hle/service/lbl/lbl.cpp
@@ -312,7 +312,6 @@ private:
bool vr_mode_enabled = false;
float current_brightness = 1.0f;
- float backlight_brightness = 1.0f;
float ambient_light_value = 0.0f;
float current_vr_brightness = 1.0f;
bool dimming = true;
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp
index 96f6e90d0..9bebe6088 100644
--- a/src/core/hle/service/pctl/module.cpp
+++ b/src/core/hle/service/pctl/module.cpp
@@ -361,7 +361,6 @@ private:
States states{};
ParentalControlSettings settings{};
std::array<char, 8> pin_code{};
- bool can_use_stereo_vision = true;
Capability capability{};
};