Mercurial > repos > blastem
comparison genesis.c @ 1506:ded16f3d7eb4 mame_interp
Super hacky integration of the version of Musashi from MAME
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 27 Dec 2017 13:46:52 -0800 |
parents | 2e6320d261ff |
children | 2455662378ed |
comparison
equal
deleted
inserted
replaced
1471:2e6320d261ff | 1506:ded16f3d7eb4 |
---|---|
275 | 275 |
276 //TODO: move this inside the system context | 276 //TODO: move this inside the system context |
277 static uint32_t last_frame_num; | 277 static uint32_t last_frame_num; |
278 | 278 |
279 //My refresh emulation isn't currently good enough and causes more problems than it solves | 279 //My refresh emulation isn't currently good enough and causes more problems than it solves |
280 #define REFRESH_EMULATION | 280 //#define REFRESH_EMULATION |
281 #ifdef REFRESH_EMULATION | 281 #ifdef REFRESH_EMULATION |
282 #define REFRESH_INTERVAL 128 | 282 #define REFRESH_INTERVAL 128 |
283 #define REFRESH_DELAY 2 | 283 #define REFRESH_DELAY 2 |
284 uint32_t last_sync_cycle; | 284 uint32_t last_sync_cycle; |
285 uint32_t refresh_counter; | 285 uint32_t refresh_counter; |