FS#12800 - USB screen chokes if UI viewport is smaller than the UI viewport

Attached to Project: Rockbox
Opened by Hayden Pearce (St.) - Sunday, 13 January 2013, 07:10 GMT
Task Type Bugs
Category User Interface
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


As the title suggests, fun things like: can happen in this instance.

Initially reported here:

This task depends upon

Comment by Jonathan Gordon (jdgordon) - Sunday, 13 January 2013, 07:36 GMT
My suggestions:

Remove the entire inbuilt drawing code from the usb screen, it shows nothing really useful that couldnt be done by adding 1 or 2 usb mode tags and modifying the inbuilt sbs to display correctly. Then we can remove the inbuilt usb bitmap and reclaim some binary size.

Looks like there is no %cs value for usb screen yet, so adding one and doing %?if(%cs, =, <usb screen>)<%Vd(usb screen)> in the hardcoded sbs would be simple to add.