ref: 46ae80aa51eebd835fb3467c8b89659649d533f8
parent: d24e3f0e4233ad6e203811d960c30113e988497e
author: Snesrev <snesrev@protonmail.com>
date: Wed Aug 31 23:56:45 EDT 2022
Freezor oob array read. Fixes #33
--- a/sprite_main.c
+++ b/sprite_main.c
@@ -20843,7 +20843,7 @@
break;
}
case 2: { // moving
- static const int8 kFreezor_Xvel[2] = {8, -8};
+ static const int8 kFreezor_Xvel[4] = {8, -8, 0, 0};
static const int8 kFreezor_Yvel[4] = {0, 0, 18, -18};
static const uint8 kFreezor_Moving_Gfx[4] = {1, 2, 1, 3};
static const int8 kFreezor_Sparkle_X[8] = {-4, -2, 0, 2, 4, 6, 8, 10};