libretro / 81-libretro

A port of the EightyOne ZX81 Emulator to libretro
GNU General Public License v3.0
20 stars 30 forks source link

refactor get Border size #43

Closed salvacam closed 7 months ago

salvacam commented 7 months ago

I have refactored the code that positions the keyboard. Now it does not consult the bordersize configuration option every time the keyboard has to be shown. The variable is only read when the options are updated, when the keyboard is displayed it reads from the variable state.cfg.BorderSize

salvacam commented 7 months ago

I am closing this PR because this change only affects a new console (data frog SF2000), it is better than when the core for this console is working correctly to request the PR with all the changes