d0k3 / GodMode9

GodMode9 Explorer - A full access file browser for the Nintendo 3DS console :godmode:
GNU General Public License v3.0
2.12k stars 191 forks source link

[BUG] Clock is not updated during long running file operations #735

Open eku opened 2 years ago

eku commented 2 years ago

So you want to report a bug? Hold on, there are ways you could make things easier for us:

Info about your system Include this info to make our work easier:

Help yourself Especially for any kind of boot issue ("GodMode9 doesn't boot"), but also in many other cases these steps make a lot of sense and we will ask you to do them anyways:

Have you actually read this? [x] I have read the information above

Wolfvak commented 2 years ago

There's not even a concept of a "thread" in GM9, everything is executed linearly in a single thread without interrupts.

Perhaps this could be added to the ARM11 side as a VBlank counter from startup, it should be reasonably accurate within a second.

d0k3 commented 2 years ago

To be blunt: This is a known issue, and I don't know of a sane way of fixing it. We got not thread updating the top bar, as long as GM9 is busy, it is not updated. There's also no way of adding top bar updating to the progress bar, not without a lot code changes. All in all this would require more effort to fix than would be legitimate for a minor issue such as this one. Keeping it open for documentation, but for now, won't be fixed.