r-win said:Hm...it makes sense, of course. We have to call a save because we update the playcount. We could, of course, move the playcount to another file, but I guess that will not solve this problem.jodur said:r-win said:If you have a gecko, you might be able to get some debug messages, and maybe pinpoint the delay.
Anyway, I guess it's not something you are doing wrong.
Delay problem found without gecko!
After studying the code, the common thing that was done before launching (game or channel) is storing the configuration (m_cfg.save()).
The delay in loading games and channels was only when you load wiiflow from the USB drive. When using the SD for the wiiflow to there was no delay!
For test i removed the m_cfg.save() in Launch and Launchchannel and tried it again from USB.
Loading of games and channels is now fast! Saving to usb is perhaps to slow or it contains a bug for when storing on USB
Could you or miigotu have a look at it?
File IO is known to be slow, but I think we still need this save. It's strange that it's taking such a long delay though. May I ask how many games you have?
As of now I have 181 games, I might found the problem but I need to test it out.
In my cover dir all my covers are non hq, but WIIflow's cache has all hq covers cached.
So I try to download the hq covers and put them in my normal cover dir, maybe WiiFlow starts
to download them again to cache if it finds a non hq one in the cover dir