diff options
| author | bunnei <bunneidev@gmail.com> | 2018-09-02 10:49:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-02 10:49:18 -0400 |
| commit | 325f3e0693ab503b308d28958415de0072b46555 (patch) | |
| tree | 32c024dfc61048316c64796a02a9b927c8edea7a /src/video_core | |
| parent | 89be49d2f343aa458aa68d8c440bffa44eecf7a1 (diff) | |
| parent | f32e28c7b86ebc0b597ad1a270046c66b097eeb3 (diff) | |
Merge pull request #1213 from DarkLordZach/octopath-fs
filesystem/maxwell_3d: Various changes to boot Project Octopath Traveller
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 68ff1e86b..e63ad4d46 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -5,6 +5,7 @@ #include <cinttypes> #include "common/assert.h" #include "core/core.h" +#include "core/core_timing.h" #include "core/memory.h" #include "video_core/debug_utils/debug_utils.h" #include "video_core/engines/maxwell_3d.h" @@ -194,8 +195,8 @@ void Maxwell3D::ProcessQueryGet() { // wait queues. LongQueryResult query_result{}; query_result.value = result; - // TODO(Subv): Generate a real GPU timestamp and write it here instead of 0 - query_result.timestamp = 0; + // TODO(Subv): Generate a real GPU timestamp and write it here instead of CoreTiming + query_result.timestamp = CoreTiming::GetTicks(); Memory::WriteBlock(*address, &query_result, sizeof(query_result)); } break; |
