summaryrefslogtreecommitdiffstats
path: root/firmware/export/fiiolinux_codec.h
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-30 06:40:46 +0000
committerJames Buren <braewoods+rb@braewoods.net>2020-10-30 15:55:36 +0000
commit2d85c7215169780168032617603e9e7b06d7ba25 (patch)
tree39bf94968b55bbac04a096b432be7bde3beb1527 /firmware/export/fiiolinux_codec.h
parentfa3184f95144076baba2032860d61ca5aab2e831 (diff)
downloadrockbox-2d85c7215169780168032617603e9e7b06d7ba25.tar.gz
rockbox-2d85c7215169780168032617603e9e7b06d7ba25.tar.bz2
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 'firmware/export/fiiolinux_codec.h')
0 files changed, 0 insertions, 0 deletions