Update to 1.31.0 -

* PCE-Fast:  Update channel 1 frequency cache upon LFO frequency register writes(the way the channel 1 frequency and LFO frequency are combined
is still inaccurate, however, causing frequency update timing granularity to be too high).
This commit is contained in:
LibretroAdmin 2022-08-28 16:46:09 +02:00
parent f2115bd53a
commit cc248db4d2
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ std::string retro_base_directory;
#define MEDNAFEN_CORE_NAME_MODULE "pce_fast" #define MEDNAFEN_CORE_NAME_MODULE "pce_fast"
#define MEDNAFEN_CORE_NAME "Beetle PCE Fast" #define MEDNAFEN_CORE_NAME "Beetle PCE Fast"
#define MEDNAFEN_CORE_VERSION "v1.29.0.0" #define MEDNAFEN_CORE_VERSION "v1.31.0.0"
#define MEDNAFEN_CORE_EXTENSIONS "pce|cue|ccd|chd|toc|m3u" #define MEDNAFEN_CORE_EXTENSIONS "pce|cue|ccd|chd|toc|m3u"
#define MEDNAFEN_CORE_TIMING_FPS 59.82 #define MEDNAFEN_CORE_TIMING_FPS 59.82
#define MEDNAFEN_CORE_GEOMETRY_BASE_W 256 #define MEDNAFEN_CORE_GEOMETRY_BASE_W 256

View File

@ -323,6 +323,7 @@ void PCEFast_PSG::Write(int32 timestamp, uint8 A, uint8 V)
case 0x08: /* LFO frequency */ case 0x08: /* LFO frequency */
lfofreq = V & 0xFF; lfofreq = V & 0xFF;
RecalcFreqCache(1);
break; break;
case 0x09: /* LFO trigger and control */ case 0x09: /* LFO trigger and control */