Closed ghost closed 5 years ago
the general purpose of update_geometry() is to update during width / height changes (eg. first/last scanline changes, overscan, resolution changes midgame etc). calling retro_get_system_av_info() in this case will apply the default width/height instead to geometry. you can just probably just fill up the remaining vars if this was the purpose, but update the base_width, base_height should be updated to whatever the emulation requests.
but update the base_width, base_height should be updated to whatever the emulation requests.
Ugh. Yes. Stupid mistake. Will fix.
I (sometimes) get incorrect values for max_width, max_height, fps. Like shaders start at 4096. Or slow fps. retro_get_system_av_info just nicely re-inits everything.
avoid random uninit values