mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 00:34:20 +01:00
Fix 3D semaphore counter type 0 handling
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
This commit is contained in:
parent
0202bf5531
commit
31d418ad54
@ -699,7 +699,7 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
|
|||||||
case type::SemaphoreInfo::Op::Counter: {
|
case type::SemaphoreInfo::Op::Counter: {
|
||||||
switch (info.counterType) {
|
switch (info.counterType) {
|
||||||
case type::SemaphoreInfo::CounterType::Zero:
|
case type::SemaphoreInfo::CounterType::Zero:
|
||||||
WriteSemaphoreResult(0);
|
WriteSemaphoreResult(registers.semaphore->payload);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user