Closed EduOrtegaDEV closed 4 years ago
@EduardoOrtegaME
Thanks for the heads up. This was by design
free(FAVORITES);
FAVORITES = (char**)malloc((50) * sizeof(void*));
We can change this. What would you consider a tangible number?
or
Should we add a safeguard to limit to 50 favorites?
Oh didn't know that... if this is an intended behavior maybe once we reach this limit the add to favorite feature shouldn't do anything
If this is by design (performance limitations, etc.) then I think that when the limit is reached the user should be informed or as suggested, that no new favorites can be added. This would be more elegant than the system failing to boot.
Describe the bug Adding more than 50 games among various systems (GB, GBC, Lynx, etc.) as favorites make the system collapse, and you turn the Odroid on, the screen blinks and won't start.
To Reproduce Steps to reproduce the behavior:
Screenshots Se the problem here: https://drive.google.com/open?id=1kmSb3esOcrFU1r19Sz5f8Qrqv0MoPxFZ
And see the list of favorites here: https://drive.google.com/open?id=1O1t0ZEkmNgozieETxDyL-dOvj-BGeL2t
Odroid go (please complete the following information):
Additional context Once I opened the esp-32-txt file and deleted some of the games from the list, the system booted up correctly.