16 Commits

Author SHA1 Message Date
Alex Duchesne
bd22070c93 Enable the psram-cache-issue fix for all components
Cherry-pick:  06433c152c067f6c94c8ae7fd16d91edb087b812

Previously it was only enabled in DOOM and the launcher because they write to PSRAM a lot, triggering the bug often.

Other emulators tend to use it only to store their ROM in PSRAM, so the write bug doesn't usually occur. Which is why the fix was disabled until now.

But it definitely causes instability regardless. In this commit it is now enabled for all emulators, but not for the esp-idf side or libretro-go.

This should be a reasonable compromise. More testing is needed to see if it makes any emulator unusably slow...

So far I'm seeing 10-15% higher CPU usage which is... not great. Thankfully most emulators were at 50-60% usage, so there's headroom...
2025-11-07 15:21:02 -05:00
Alex Duchesne
370ac66a63 Add the fix-psram-cache-issue module only for esp32 chip 2025-07-25 23:35:28 -04:00
Alex Duchesne
c8175fa331 Launcher: Removed never finished music tab
I don't want to build a full music player and playing individual files isn't very useful
2024-06-05 17:44:24 -04:00
Alex Duchesne
08c19bc0e0 Use CMake variables instead of environment
That way idf.py will trigger a rebuild when flags change.
2024-01-29 17:09:39 -05:00
Alex Duchesne
a8076956d1 Added compiler flags to build on esp-idf 5.0
Added -Wno-error=format in a few CMakeLists.txt.

The compiler complains that uint32_t is used for %X. It wants unsigned int, which is the same thing on the esp32...

Anyway there are way too many such instances so for now turn those errors into warnings.
2023-03-08 17:17:02 -05:00
Alex Duchesne
5374bf678c Launcher: Workaround for issue where SD Card stops working 2022-12-02 18:07:32 -05:00
Alex Duchesne
03ae0c9164 Fixed mistake CMakeLists.txt in launcher 2022-11-03 16:34:48 -04:00
Alex Duchesne
b13198b173 Working on a launcher component that could be embedded in any app. 2022-11-03 15:15:57 -04:00
Alex Duchesne
cf3626e719 Launcher: Moved images inside the main component
They are part of the component, after all.
2022-10-25 13:25:49 -04:00
Alex Duchesne
6a07051137 Updated some build scripts to fix linkage issues with rg_printf
Some apps still end up important rg_printf and newlib's nano version, but this isn't really an issue.

Eventually I'd like to find a clean way to always intercept printf calls...
2022-07-03 20:48:15 -04:00
Alex Duchesne
9845fe0cdc Launcher: Fixed occasional crash when switching tabs
It was caused by setting gui.selected before we actually did change tab, causing a null ptr
2022-02-15 17:33:29 -05:00
Alex Duchesne
7b7f49e16b rg_printf: Added rg_fprintf/rg_vfprintf
Note: The avoidance of including stdio.h is deliberate, that's why it defines fputc using extern and FILE * as void *
2022-02-07 18:37:11 -05:00
Alex Duchesne
58915b82f2 Improved panic robustness and better rg_printf integration
Bypass rg_system_log in some key situations (boot, panic).

It poluted the logbuf with redundant information and it adds extra steps that could go wrong during a panic.
2022-02-05 16:03:25 -05:00
Alex Duchesne
44bfca2bf5 Fixed conflicts with the new environment variables for rg_tool 2021-09-24 17:04:43 -04:00
Alex Duchesne
3b2d7970dd Initial support for recently played and custom bookmark lists 2021-06-16 16:43:19 -04:00
Alex Duchesne
21762bf683 Launcher app is now called "launcher". I is annoying to have the project+launcher+shared library all be named retro-go 2021-02-13 15:33:39 -05:00