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
vbam-libretro
Commits
f4b88ba6
Commit
f4b88ba6
authored
Jun 16, 2018
by
retro-wertz
Browse files
Libretro: Remove GBA LCD filter
Libretro use shaders for filters etc.
parent
76389d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libretro/UtilRetro.cpp
View file @
f4b88ba6
...
...
@@ -238,12 +238,16 @@ void utilUpdateSystemColorMaps(bool lcd)
for
(
int
i
=
0
;
i
<
0x10000
;
i
++
)
{
systemColorMap16
[
i
]
=
((
i
&
0x1f
)
<<
systemRedShift
)
|
(((
i
&
0x3e0
)
>>
5
)
<<
systemGreenShift
)
|
(((
i
&
0x7c00
)
>>
10
)
<<
systemBlueShift
);
}
if
(
lcd
)
gbafilter_pal
(
systemColorMap16
,
0x10000
);
}
break
;
case
24
:
case
32
:
{
for
(
int
i
=
0
;
i
<
0x10000
;
i
++
)
{
systemColorMap32
[
i
]
=
((
i
&
0x1f
)
<<
systemRedShift
)
|
(((
i
&
0x3e0
)
>>
5
)
<<
systemGreenShift
)
|
(((
i
&
0x7c00
)
>>
10
)
<<
systemBlueShift
);
}
if
(
lcd
)
gbafilter_pal32
(
systemColorMap32
,
0x10000
);
}
break
;
}
}
...
...
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