From a73506a27b7b7e9d15d25b6c593235d2cda3d1d5 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 17 Jul 2024 07:40:48 -0400 Subject: [PATCH] lol i reversed them --- bun.c | 8 ++++---- main | Bin 61004 -> 61004 bytes 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bun.c b/bun.c index 0a81139..7028730 100644 --- a/bun.c +++ b/bun.c @@ -106,7 +106,7 @@ void bun_offRightSide( custom.bltcon0 = bltcon0; custom.bltcon1 = bltcon1; - custom.bltapt = coolbunPlaneStarts[BUN_OFF_LEFT_SIDE][plane]; + custom.bltapt = coolbunPlaneStarts[BUN_OFF_RIGHT_SIDE][plane]; custom.bltdpt = currentScreen->planes[plane] + bunClear->memoryStartOffsetBytes; @@ -161,7 +161,7 @@ void bun_offLeftSide( custom.bltcon1 = bltcon1; // a has bun data - custom.bltapt = coolbunPlaneStarts[BUN_OFF_RIGHT_SIDE][plane]; + custom.bltapt = coolbunPlaneStarts[BUN_OFF_LEFT_SIDE][plane]; // d is the part on screen custom.bltdpt = currentScreen->planes[plane] + bunClear->memoryStartOffsetBytes; @@ -344,9 +344,9 @@ void precalculateBunRenderInfo(void) { int plane; for (plane = 0; plane < 2; ++plane) { - coolbunPlaneStarts[BUN_OFF_LEFT_SIDE][plane] = coolbun + plane * COOL_BUN_PLANE_SIZE; + coolbunPlaneStarts[BUN_OFF_RIGHT_SIDE][plane] = coolbun + plane * COOL_BUN_PLANE_SIZE; coolbunPlaneStarts[BUN_ANYWHERE][plane] = coolbun + plane * COOL_BUN_PLANE_SIZE; - coolbunPlaneStarts[BUN_OFF_RIGHT_SIDE][plane] = coolbun + 2 + + coolbunPlaneStarts[BUN_OFF_LEFT_SIDE][plane] = coolbun + 2 + COOL_BUN_LAST_ROW_BYTES + plane * COOL_BUN_PLANE_SIZE; } diff --git a/main b/main index 7f0ca0d2b79bcf4cb2c1f5143829f6619b8660e0..46b75975c97dffaeb387327b456818bcf6f3f508 100755 GIT binary patch delta 59 zcmX?ehxyDM<_%?>Ol&_kS8z^ZWMXI7%)>3hD#P|ewUdM4;z8#(>>SD+91M;>85kJq MzOzaGsD>x@HGO_*G%)>3hD#Om8+R4Fi@u2e?b`IqZ4hF}c3=9l) MAU;rqjex*C07)(r`2YX_