aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/command/resample/resample.cpp
diff options
context:
space:
mode:
authorsimply0001 <nicolas.tobago@icloud.com>2026-07-30 06:25:43 +0200
committercrueter <crueter@eden-emu.dev>2026-07-30 06:25:43 +0200
commit54046ac60ef5d8876b550be2546b89d48751de7e (patch)
tree6b2cc9abdcc06a016a8fea8260e3e60e82acfbb3 /src/audio_core/renderer/command/resample/resample.cpp
parent39763e7321fa17486f1b466a1777f8aa4a91949f (diff)
[video_core/macro] check HLE hashes before compiling (#4236)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Known HLE macros are identified by a hash, but MacroEngine compiled them first and and afterwards it threw the compiled program away when the hash matched. This fix makes it so it checks the hash first and caches the HLE implementation directly, so it only compiles when the hash is unknown or if HLE is disabled. Cached macros were also constantly checking the hash again and walking through each `std::get_if` until their variant matched. So I dispatched them through `std::visit` instead, and keep one resolved code span for hashing, compiling, and dumping so mid-method uploads use the right range. Continues the macro hot path work from [#4067](https://git.eden-emu.dev/eden-emu/eden/pulls/4067) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4236 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/audio_core/renderer/command/resample/resample.cpp')
0 files changed, 0 insertions, 0 deletions