mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
C89_BUILD buildfix
This commit is contained in:
parent
f6afc84885
commit
8a1cab9b74
@ -240,19 +240,17 @@ void crt_video_restore(void)
|
||||
|
||||
int crt_compute_dynamic_width(int width)
|
||||
{
|
||||
p_clock = 15000000;
|
||||
|
||||
int min_height = 261;
|
||||
unsigned i;
|
||||
int dynamic_width = 0;
|
||||
unsigned min_height = 261;
|
||||
|
||||
#if defined(HAVE_VIDEOCORE)
|
||||
p_clock = 32000000;
|
||||
#else
|
||||
p_clock = 15000000;
|
||||
#endif
|
||||
|
||||
|
||||
for (int i =0; i < 10; i++)
|
||||
|
||||
|
||||
|
||||
for (i = 0; i < 10; i++)
|
||||
{
|
||||
dynamic_width = (width*1.5)*i;
|
||||
if ((dynamic_width * min_height * ra_core_hz) > p_clock)
|
||||
|
Loading…
x
Reference in New Issue
Block a user