notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75db61b
)
core, fix copy-paste bug (vcounter in im2)
author
kub
<derkub@gmail.com>
Wed, 31 Jul 2024 21:24:30 +0000
(23:24 +0200)
committer
kub
<derkub@gmail.com>
Wed, 31 Jul 2024 21:24:30 +0000
(23:24 +0200)
pico/pico_int.h
patch
|
blob
|
blame
|
history
diff --git
a/pico/pico_int.h
b/pico/pico_int.h
index
4caa800
..
7875b8a
100644
(file)
--- a/
pico/pico_int.h
+++ b/
pico/pico_int.h
@@
-946,7
+946,7
@@
static __inline void VideoWriteVRAM(u32 a, u16 d)
static __inline u8 PicoVideoGetV(int scanline, int maywrap)
\r
{
\r
if (maywrap && scanline >= Pico.t.vcnt_wrap) scanline -= Pico.t.vcnt_adj;
\r
- if ((Pico.video.reg[12]&6) == 6) scanline = (scanline<<1)
| 1
;
\r
+ if ((Pico.video.reg[12]&6) == 6) scanline = (scanline<<1)
|(scanline>>8)
;
\r
return scanline;
\r
}
\r
\r