diff options
| author | 2021-06-20 00:04:34 +0200 | |
|---|---|---|
| committer | 2021-09-18 23:22:30 +0200 | |
| commit | f078b15565c8cab08587b8f8629d878615705cfb (patch) | |
| tree | d6e18351980bbf1aac850831203caa127c796eba /src/core | |
| parent | config: Move TAS options to it's own menu (diff) | |
| download | yuzu-f078b15565c8cab08587b8f8629d878615705cfb.tar.gz yuzu-f078b15565c8cab08587b8f8629d878615705cfb.tar.xz yuzu-f078b15565c8cab08587b8f8629d878615705cfb.zip | |
input_common/tas: Fallback to simple update
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/apm/apm_interface.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/service/apm/apm_interface.cpp b/src/core/hle/service/apm/apm_interface.cpp index 520ccfa88..e58bad083 100644 --- a/src/core/hle/service/apm/apm_interface.cpp +++ b/src/core/hle/service/apm/apm_interface.cpp | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include "common/logging/log.h" | 5 | #include "common/logging/log.h" |
| 6 | #include "common/settings.h" | ||
| 7 | #include "core/hle/ipc_helpers.h" | 6 | #include "core/hle/ipc_helpers.h" |
| 8 | #include "core/hle/service/apm/apm.h" | 7 | #include "core/hle/service/apm/apm.h" |
| 9 | #include "core/hle/service/apm/apm_controller.h" | 8 | #include "core/hle/service/apm/apm_controller.h" |
| @@ -121,7 +120,6 @@ void APM_Sys::SetCpuBoostMode(Kernel::HLERequestContext& ctx) { | |||
| 121 | 120 | ||
| 122 | LOG_DEBUG(Service_APM, "called, mode={:08X}", mode); | 121 | LOG_DEBUG(Service_APM, "called, mode={:08X}", mode); |
| 123 | 122 | ||
| 124 | Settings::values.is_cpu_boosted = (mode == CpuBoostMode::Full); | ||
| 125 | controller.SetFromCpuBoostMode(mode); | 123 | controller.SetFromCpuBoostMode(mode); |
| 126 | 124 | ||
| 127 | IPC::ResponseBuilder rb{ctx, 2}; | 125 | IPC::ResponseBuilder rb{ctx, 2}; |
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index f4eac0bca..8e8fc40ca 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | #include "core/hle/service/vi/vi_s.h" | 32 | #include "core/hle/service/vi/vi_s.h" |
| 33 | #include "core/hle/service/vi/vi_u.h" | 33 | #include "core/hle/service/vi/vi_u.h" |
| 34 | 34 | ||
| 35 | #include "input_common/tas/tas_input.h" | ||
| 36 | |||
| 37 | namespace Service::VI { | 35 | namespace Service::VI { |
| 38 | 36 | ||
| 39 | constexpr ResultCode ERR_OPERATION_FAILED{ErrorModule::VI, 1}; | 37 | constexpr ResultCode ERR_OPERATION_FAILED{ErrorModule::VI, 1}; |
| @@ -597,7 +595,6 @@ private: | |||
| 597 | 595 | ||
| 598 | IGBPQueueBufferResponseParcel response{1280, 720}; | 596 | IGBPQueueBufferResponseParcel response{1280, 720}; |
| 599 | ctx.WriteBuffer(response.Serialize()); | 597 | ctx.WriteBuffer(response.Serialize()); |
| 600 | Settings::values.input_subsystem->GetTas()->UpdateThread(); | ||
| 601 | break; | 598 | break; |
| 602 | } | 599 | } |
| 603 | case TransactionId::Query: { | 600 | case TransactionId::Query: { |