mirror of
https://github.com/gopher64/gopher64.git
synced 2026-10-31 19:47:19 +01:00
further depth buffer tracking tweaks (#583)
This commit is contained in:
1 parent
431c7c2a8d
commit
e3023a902f
1 file changed
+6
-2
@@ -781,8 +781,12 @@ uint64_t rdp_process_commands()
|
||||
}
|
||||
break;
|
||||
case RDP::Op::SetOtherModes:
|
||||
rdp_device.frame_buffer_info.depth_buffer_enabled = (w2 >> 4) & 3;
|
||||
break;
|
||||
{
|
||||
uint8_t cycle_type = (w1 >> 20) & 3;
|
||||
uint8_t depth_read_write = (w2 >> 4) & 3;
|
||||
rdp_device.frame_buffer_info.depth_buffer_enabled = ((cycle_type & 2) == 0) && (depth_read_write != 0);
|
||||
}
|
||||
break;
|
||||
case RDP::Op::SyncFull:
|
||||
sync_signal = processor->signal_timeline();
|
||||
|
||||
|
||||
Reference in new issue
Block a user