Skip to content

Commit

Permalink
Revert high latency detection regression
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Dec 13, 2021
1 parent 7e25eb9 commit ef08fbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/macros.S
Expand Up @@ -461,7 +461,8 @@ do_skip_psync_no_old\@:
.macro SKIP_PSYNC_NO_OLD_CPLD_HIGH_LATENCY
SKIP_PSYNC_COMMON_NO_OLD_CPLD
add r8, r7, r1
orr r8, r8, #HIGH_LATENCY_FLAG //request high latency capture (slightly faster but only really suitable for 9/12bpp modes)
tst r3, #BIT_RPI234
orrne r8, r8, #HIGH_LATENCY_FLAG //request high latency capture (slightly faster but only really suitable for 9/12bpp modes)
str r8, [r4, #(GPU_COMMAND_offset - GPU_DATA_0_offset)] //command register
skip_psync_no_old_loop\@:
WAIT_FOR_PSYNC_EDGE_FAST // wait for next edge of psync
Expand Down Expand Up @@ -553,7 +554,8 @@ skip_psync_loop\@:
add r7, r7, r8
bl _get_gpu_data_base_r4
add r8, r7, r1
orr r8, r8, #HIGH_LATENCY_FLAG //request high latency capture (slightly faster but only really suitable for 9/12bpp modes)
tst r3, #BIT_RPI234
orrne r8, r8, #HIGH_LATENCY_FLAG //request high latency capture (slightly faster but only really suitable for 9/12bpp modes)
ldr r9, =param_sync_edge
ldr r9, [r9]
tst r3, #BIT_NO_SKIP_HSYNC
Expand Down

0 comments on commit ef08fbe

Please sign in to comment.