summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 00:01:40 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:52 +0200
commit6fc4012396e98a1a6ac455791b314d2280a12a51 (patch)
treee033b398a8cf99f3bd5f9810970872ee40a35a82 /src/video_core
parentNVDRV: Remake ASGPU (diff)
downloadyuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.gz
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.bz2
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.lz
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.xz
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.tar.zst
yuzu-6fc4012396e98a1a6ac455791b314d2280a12a51.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/puller.cpp2
-rw-r--r--src/video_core/texture_cache/util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/puller.cpp b/src/video_core/engines/puller.cpp
index 37f2ced18..3866c8746 100644
--- a/src/video_core/engines/puller.cpp
+++ b/src/video_core/engines/puller.cpp
@@ -118,7 +118,7 @@ void Puller::ProcessSemaphoreTriggerMethod() {
}
void Puller::ProcessSemaphoreRelease() {
- memory_manager.Write<u32>(regs.semaphore_address.SemaphoreAddress(), regs.semaphore_release);
+ rasterizer->SignalSemaphore(regs.semaphore_address.SemaphoreAddress(), regs.semaphore_release);
}
void Puller::ProcessSemaphoreAcquire() {
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index 1820823b2..bea1c27d0 100644
--- a/src/video_core/texture_cache/util.cpp
+++ b/src/video_core/texture_cache/util.cpp
@@ -755,7 +755,7 @@ bool IsValidEntry(const Tegra::MemoryManager& gpu_memory, const TICEntry& config
if (address == 0) {
return false;
}
- if (address > (1ULL << 48)) {
+ if (address >= (1ULL << 40)) {
return false;
}
if (gpu_memory.GpuToCpuAddress(address).has_value()) {