mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 12:00:44 +02:00
The current CodeBuffer regrowth code discards any existing contents. This is undesirable with code caching, since those contents can't be re-fetched from the disk cache and instead need to be recompiled at runtime. Additionally, FEXOfflineCompiler obviously should never discard compiled code. Using a large enough CodeBuffer right away reduces the likelihood that FEX runs into such scenarios.