diff options
author | James Buren <braewoods+rb@braewoods.net> | 2020-10-30 06:40:46 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2020-10-30 15:55:36 +0000 |
commit | 2d85c7215169780168032617603e9e7b06d7ba25 (patch) | |
tree | 39bf94968b55bbac04a096b432be7bde3beb1527 /manual/configure_rockbox | |
parent | fa3184f95144076baba2032860d61ca5aab2e831 (diff) | |
download | rockbox-2d85c7215169780168032617603e9e7b06d7ba25.tar.gz rockbox-2d85c7215169780168032617603e9e7b06d7ba25.zip |
iriver_flash: fix issues with DoUserDialog
First the argument should be const since the original parameter is.
Second the pointer arithmetic for detecting whether rockbox is running
from ROM or not is incorrect. It ends up being at a location twice as
far as intended since the arithmetic does not account for the pointer
type's underlying size. It should also be dependent on the target's
FLASH_SIZE.
Third the LCD setup is moved to the entry point since it is the best
place to setup and restore the LCD changes.
Change-Id: If9ddaf2cd937f1edf61c82a8a27f48d01807068a
Diffstat (limited to 'manual/configure_rockbox')
0 files changed, 0 insertions, 0 deletions