diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-19 21:10:01 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-19 21:10:01 +0100 |
commit | d68795c665fe73da55f0427d1ff05281d46c3de9 (patch) | |
tree | 4e6af5284a6d2484c289fd8f5d57464118522b2b /src/core/hle/service/am/applets/software_keyboard.cpp | |
parent | applet: Add AppletDataBroker to manage HLE to AM service interaction (diff) | |
download | yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar.gz yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar.bz2 yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar.lz yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar.xz yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.tar.zst yuzu-d68795c665fe73da55f0427d1ff05281d46c3de9.zip |
Diffstat (limited to 'src/core/hle/service/am/applets/software_keyboard.cpp')
-rw-r--r-- | src/core/hle/service/am/applets/software_keyboard.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/software_keyboard.cpp b/src/core/hle/service/am/applets/software_keyboard.cpp index ca9ef7e7d..aec6bf2a7 100644 --- a/src/core/hle/service/am/applets/software_keyboard.cpp +++ b/src/core/hle/service/am/applets/software_keyboard.cpp @@ -74,7 +74,7 @@ bool SoftwareKeyboard::TransactionComplete() const { } ResultCode SoftwareKeyboard::GetStatus() const { - return status; + return RESULT_SUCCESS; } void SoftwareKeyboard::ExecuteInteractive() { @@ -118,7 +118,6 @@ void SoftwareKeyboard::WriteText(std::optional<std::u16string> text) { if (text.has_value()) { std::vector<u8> output_sub(SWKBD_OUTPUT_BUFFER_SIZE); - status = RESULT_SUCCESS; if (config.utf_8) { const u64 size = text->size() + 8; @@ -154,7 +153,6 @@ void SoftwareKeyboard::WriteText(std::optional<std::u16string> text) { broker->SignalStateChanged(); } else { - status = ResultCode(-1); output_main[0] = 1; complete = true; broker->PushNormalDataFromApplet(IStorage{output_main}); |