summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hidbus
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-18 02:26:04 +0100
committerLiam <byteslice@airmail.cc>2023-03-22 14:35:16 +0100
commitfb49ec19c1fb6030fcc960077e82c998290d0ab8 (patch)
treeaa5f53cbbfc2b255923bcf362ee0009938ed8187 /src/core/hle/service/hid/hidbus
parentMerge pull request #9955 from liamwhite/color-blend-equation (diff)
downloadyuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.gz
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.bz2
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.lz
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.xz
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.tar.zst
yuzu-fb49ec19c1fb6030fcc960077e82c998290d0ab8.zip
Diffstat (limited to 'src/core/hle/service/hid/hidbus')
-rw-r--r--src/core/hle/service/hid/hidbus/hidbus_base.cpp2
-rw-r--r--src/core/hle/service/hid/hidbus/hidbus_base.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/hidbus/hidbus_base.cpp b/src/core/hle/service/hid/hidbus/hidbus_base.cpp
index dfd23ec04..ee522c36e 100644
--- a/src/core/hle/service/hid/hidbus/hidbus_base.cpp
+++ b/src/core/hle/service/hid/hidbus/hidbus_base.cpp
@@ -59,7 +59,7 @@ void HidbusBase::DisablePollingMode() {
polling_mode_enabled = false;
}
-void HidbusBase::SetTransferMemoryAddress(VAddr t_mem) {
+void HidbusBase::SetTransferMemoryAddress(Common::ProcessAddress t_mem) {
transfer_memory = t_mem;
}
diff --git a/src/core/hle/service/hid/hidbus/hidbus_base.h b/src/core/hle/service/hid/hidbus/hidbus_base.h
index 26313264d..ec41684e1 100644
--- a/src/core/hle/service/hid/hidbus/hidbus_base.h
+++ b/src/core/hle/service/hid/hidbus/hidbus_base.h
@@ -5,7 +5,7 @@
#include <array>
#include <span>
-#include "common/common_types.h"
+#include "common/typed_address.h"
#include "core/hle/result.h"
namespace Core {
@@ -138,7 +138,7 @@ public:
void DisablePollingMode();
// Called on EnableJoyPollingReceiveMode
- void SetTransferMemoryAddress(VAddr t_mem);
+ void SetTransferMemoryAddress(Common::ProcessAddress t_mem);
Kernel::KReadableEvent& GetSendCommandAsycEvent() const;
@@ -174,7 +174,7 @@ protected:
JoyEnableSixAxisDataAccessor enable_sixaxis_data{};
ButtonOnlyPollingDataAccessor button_only_data{};
- VAddr transfer_memory{};
+ Common::ProcessAddress transfer_memory{};
Core::System& system;
Kernel::KEvent* send_command_async_event;