diff options
| author | bunnei <bunneidev@gmail.com> | 2020-07-27 19:29:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 19:29:22 -0700 |
| commit | 05781ce8c4dd4d4150185effac56ef9a71ae2705 (patch) | |
| tree | 12d41a29b43577b95b158bc033aadc3957bde3d7 /src/core/hardware_interrupt_manager.cpp | |
| parent | 312c3788df6274d5bc39d7d0606fd0d90e65d698 (diff) | |
| parent | a7af349daee85237384dba07533c9a407cf15592 (diff) | |
Merge pull request #4437 from lioncash/ptr
core_timing: Make use of uintptr_t to represent user_data
Diffstat (limited to 'src/core/hardware_interrupt_manager.cpp')
| -rw-r--r-- | src/core/hardware_interrupt_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hardware_interrupt_manager.cpp b/src/core/hardware_interrupt_manager.cpp index efc1030c1..645f26e91 100644 --- a/src/core/hardware_interrupt_manager.cpp +++ b/src/core/hardware_interrupt_manager.cpp @@ -11,8 +11,8 @@ namespace Core::Hardware { InterruptManager::InterruptManager(Core::System& system_in) : system(system_in) { - gpu_interrupt_event = - Core::Timing::CreateEvent("GPUInterrupt", [this](u64 message, std::chrono::nanoseconds) { + gpu_interrupt_event = Core::Timing::CreateEvent( + "GPUInterrupt", [this](std::uintptr_t message, std::chrono::nanoseconds) { auto nvdrv = system.ServiceManager().GetService<Service::Nvidia::NVDRV>("nvdrv"); const u32 syncpt = static_cast<u32>(message >> 32); const u32 value = static_cast<u32>(message); |
