Skip to content

Commit

Permalink
Fix garbage on right hand of screen in teletext mode with GPU capture
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Nov 20, 2021
1 parent e82aa83 commit ff5cfe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/capture_line_mode7_4bpp.S
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ process_chars_7_advanced:
// r12 = pointer into frame buffer (moves within line)
// r14 = misc
str r6, charline

add r1, r1, #1 //fix a rounding issue in GPU capture mode
SKIP_PSYNC
sub r1, r1, #1
mov r1, r1, lsr #1

process_chars_loop_7_advanced:
Expand Down

0 comments on commit ff5cfe6

Please sign in to comment.