Skip to content

Commit

Permalink
core, fix copy-paste bug (vcounter in im2)
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Jul 31, 2024
1 parent 75db61b commit 424c5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico/pico_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ static __inline void VideoWriteVRAM(u32 a, u16 d)
static __inline u8 PicoVideoGetV(int scanline, int maywrap)
{
if (maywrap && scanline >= Pico.t.vcnt_wrap) scanline -= Pico.t.vcnt_adj;
if ((Pico.video.reg[12]&6) == 6) scanline = (scanline<<1) | 1;
if ((Pico.video.reg[12]&6) == 6) scanline = (scanline<<1)|(scanline>>8);
return scanline;
}

Expand Down

0 comments on commit 424c5f2

Please sign in to comment.