tschak909 / platoterm64

PLATOTerm for the Commodore 64
GNU General Public License v3.0
35 stars 11 forks source link

Use screen_block_draw to clear prefs area #41

Open rhalkyard opened 4 years ago

rhalkyard commented 4 years ago

Based on @greg-king5's comment on PR #40, I reworked prefs_clear to just use screen_block_draw, which does all the scaling for us, and got rid of all the redundant scaling logic that I added (and the special-case ifdef for the Apple 2).

As a side effect, since screen_block_draw asserts flow control, it was necessary to add a dummy flow-control function, that the flow on/off function pointers can point at until the drivers are loaded.