Fix ObjAffineSet over multiple inputs
Jeffrey Pfau jeffrey@endrift.com
Wed, 23 Jul 2014 00:54:11 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/gba-bios.c
→
src/gba/gba-bios.c
@@ -76,7 +76,7 @@ // [ 0 sy ] * [ sin(theta) cos(theta) ] = [ C D ]
sx = cpu->memory.load16(cpu, offset, 0) / 256.f; sy = cpu->memory.load16(cpu, offset + 2, 0) / 256.f; theta = (cpu->memory.loadU16(cpu, offset + 4, 0) >> 8) / 128.f * M_PI; - offset += 6; + offset += 8; // Rotation a = d = cosf(theta); b = c = sinf(theta);