early-access version 2530

This commit is contained in:
pineappleEA
2022-03-07 21:29:02 +01:00
parent dc79efad53
commit 04ea55e523
4 changed files with 626 additions and 56 deletions

View File

@@ -246,11 +246,10 @@ void MaxwellDMA::FastCopyBlockLinearToPitch() {
void MaxwellDMA::ReleaseSemaphore() {
const auto type = regs.launch_dma.semaphore_type;
if (type == LaunchDMA::SemaphoreType::NONE) {
return;
}
const GPUVAddr address = regs.semaphore.address;
switch (type) {
case LaunchDMA::SemaphoreType::NONE:
break;
case LaunchDMA::SemaphoreType::RELEASE_ONE_WORD_SEMAPHORE:
memory_manager.Write<u32>(address, regs.semaphore.payload);
break;