comparison genesis.c @ 1889:377f110e4cea

Report more accurate frame and sample rates to frontend in libretro target
author Michael Pavone <pavone@retrodev.com>
date Sat, 21 Sep 2019 20:26:12 -0700
parents 96971b673f51
children 5433252329fb
comparison
equal deleted inserted replaced
1888:bd60e74fd173 1889:377f110e4cea
32 //TODO: Figure out the exact value for this 32 //TODO: Figure out the exact value for this
33 #define LINES_NTSC 262 33 #define LINES_NTSC 262
34 #define LINES_PAL 313 34 #define LINES_PAL 313
35 35
36 #ifdef IS_LIB 36 #ifdef IS_LIB
37 #define MAX_SOUND_CYCLES 1000 37 #define MAX_SOUND_CYCLES (MCLKS_PER_YM*NUM_OPERATORS*6)
38 #else 38 #else
39 #define MAX_SOUND_CYCLES 100000 39 #define MAX_SOUND_CYCLES 100000
40 #endif 40 #endif
41 41
42 #ifdef NEW_CORE 42 #ifdef NEW_CORE