Mercurial > repos > blastem
comparison blastem.c @ 719:019d27995e32
Upgrade to SDL 2.0 and drop support for the non-OpenGL render path
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 20 May 2015 19:05:11 -0700 |
parents | eaba6789f316 |
children | 20be7d01e312 |
comparison
equal
deleted
inserted
replaced
718:eaba6789f316 | 719:019d27995e32 |
---|---|
1261 uint32_t fps = 60; | 1261 uint32_t fps = 60; |
1262 if (version_reg & 0x40) { | 1262 if (version_reg & 0x40) { |
1263 fps = 50; | 1263 fps = 50; |
1264 } | 1264 } |
1265 if (!headless) { | 1265 if (!headless) { |
1266 render_init(width, height, title, fps, fullscreen, use_gl); | 1266 render_init(width, height, title, fps, fullscreen); |
1267 } | 1267 } |
1268 vdp_context v_context; | 1268 vdp_context v_context; |
1269 genesis_context gen; | 1269 genesis_context gen; |
1270 memset(&gen, 0, sizeof(gen)); | 1270 memset(&gen, 0, sizeof(gen)); |
1271 gen.master_clock = gen.normal_clock = fps == 60 ? MCLKS_NTSC : MCLKS_PAL; | 1271 gen.master_clock = gen.normal_clock = fps == 60 ? MCLKS_NTSC : MCLKS_PAL; |