VideoCore: Extra Fixes.

This commit is contained in:
Fernando Sahmkow 2021-11-16 00:01:40 +01:00
parent feb49c822d
commit 6fc4012396
3 changed files with 5 additions and 3 deletions

View file

@ -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() {

View file

@ -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()) {