libretro / px68k-libretro

Portable SHARP X68000 Emulator for Libretro
http://hissorii.blog45.fc2.com
GNU General Public License v2.0
45 stars 41 forks source link

Give priority to update_timing() during AV changes #79

Closed ghost closed 5 years ago

ghost commented 5 years ago

This gives priority to update_timing() over update_geometry() when both are triggered since update_timing() make use of RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO which re-initialize both geometry(width,height,aspect) and timing (fps/sound sample rate). This is turn avoids causing both environment calls to be called in a single frame.