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...
11 lines
383 B
CMake
11 lines
383 B
CMake
set(COMPONENT_SRCDIRS ".")
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
register_component()
|
|
rg_setup_compile_options(-O2 -Wno-error=format -Wno-error=char-subscripts)
|
|
|
|
# add_custom_command(OUTPUT images.c
|
|
# COMMAND python ${COMPONENT_DIR}/gen_images.py
|
|
# VERBATIM)
|
|
# add_custom_target(images DEPENDS images.c)
|
|
# add_dependencies(${COMPONENT_LIB} images)
|