Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-saturn-libretro
Commits
6af34948
Commit
6af34948
authored
Aug 12, 2016
by
Libretro-Admin
Browse files
Fix interlaced games
parent
0c634d50
Changes
1
Hide whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
6af34948
...
...
@@ -2754,6 +2754,23 @@ void retro_run(void)
Emulate
(
espec
);
#ifdef NEED_DEINTERLACER
if
(
spec
.
InterlaceOn
)
{
if
(
!
PrevInterlaced
)
deint
.
ClearState
();
deint
.
Process
(
spec
.
surface
,
spec
.
DisplayRect
,
spec
.
LineWidths
,
spec
.
InterlaceField
);
PrevInterlaced
=
true
;
spec
.
InterlaceOn
=
false
;
spec
.
InterlaceField
=
0
;
}
else
PrevInterlaced
=
false
;
#endif
unsigned
width
=
rects
[
0
];
unsigned
height
=
spec
.
DisplayRect
.
h
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment