mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
Fix file browser clownage comment
This commit is contained in:
parent
5d8acc2210
commit
80b8a0dddb
1 changed files with 5 additions and 3 deletions
|
@ -226,13 +226,15 @@ static bool
|
||||||
// break;
|
// break;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// FLIPPER DEVS MOMENT
|
// ROGUE MASTER MOMENT
|
||||||
// this used to load the file list in chunks, and then sort it...
|
// this used to load the file list in chunks, which makes sense
|
||||||
|
// but then RM made it sort the files, still in chunks...
|
||||||
// so while scrolling, it loads more files and sorts them...
|
// so while scrolling, it loads more files and sorts them...
|
||||||
// chances are, the new files are higher in the sorted list...
|
// chances are, the new files are higher in the sorted list...
|
||||||
// so the files keep shifting around while scrolling...
|
// so the files keep shifting around while scrolling...
|
||||||
// now this does something intelligent and loads all in one go.
|
// now this does something intelligent: loads and sorts all in one go.
|
||||||
// might take a few milliseconds longer, but atleast it works :kekw:
|
// might take a few milliseconds longer, but atleast it works :kekw:
|
||||||
|
// and yes skotopes, most definitely a "limitation of fatfs driver" :roflmao:
|
||||||
UNUSED(offset);
|
UNUSED(offset);
|
||||||
UNUSED(count);
|
UNUSED(count);
|
||||||
if(browser->list_load_cb) {
|
if(browser->list_load_cb) {
|
||||||
|
|
Loading…
Reference in a new issue