remove rdp_full_sync (#203)

* remove rdp_full_sync

* swap

* swap
This commit is contained in:
Logan McNaughton
2025-01-30 14:42:04 +01:00
committed by GitHub
parent 026e4c0e74
commit f84444a12e
6 changed files with 6 additions and 15 deletions
+1 -7
View File
@@ -62,7 +62,6 @@ static int cmd_cur;
static int cmd_ptr;
static bool emu_running;
static GFX_INFO gfx_info;
static uint64_t sync_signal;
static const unsigned cmd_len_lut[64] = {
1,
@@ -432,7 +431,7 @@ uint64_t rdp_process_commands()
if (RDP::Op(command) == RDP::Op::SyncFull)
{
sync_signal = processor->signal_timeline();
processor->wait_for_timeline(processor->signal_timeline());
uint32_t width = viCalculateHorizonalWidth(*gfx_info.VI_H_START_REG, *gfx_info.VI_X_SCALE_REG, *gfx_info.VI_WIDTH_REG);
if (width == 0)
@@ -456,8 +455,3 @@ uint64_t rdp_process_commands()
return interrupt_timer;
}
void rdp_full_sync()
{
processor->wait_for_timeline(sync_signal);
}