mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
further depth buffer tracking tweaks (#583)
This commit is contained in:
@@ -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