SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 2b3ec9d991a25519c52f4d9f4baf41ba278fc71d parent 375fb4388c1d8038c291fdaf5e385c0d1ff86518 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 16 Nov 2024 02:23:11 +0200 Missing nounroll Diffstat:
| M | Core/apu.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Core/apu.c b/Core/apu.c @@ -27,10 +27,10 @@ static void __attribute__((constructor)) band_limited_init(void) } } - for (unsigned phase = 0; phase < GB_BAND_LIMITED_PHASES; phase++) { + nounroll for (unsigned phase = 0; phase < GB_BAND_LIMITED_PHASES; phase++) { int32_t error = GB_BAND_LIMITED_ONE; int32_t prev = 0; - for (unsigned i = 0; i < GB_BAND_LIMITED_WIDTH; i++) { + nounroll for (unsigned i = 0; i < GB_BAND_LIMITED_WIDTH; i++) { int32_t cur = master[(GB_BAND_LIMITED_PHASES - 1 - phase) + i * GB_BAND_LIMITED_PHASES] * GB_BAND_LIMITED_ONE; int32_t delta = cur - prev; error = error - delta;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.