mirror of https://github.com/mgba-emu/mgba.git
Fix ObjAffineSet over multiple inputs
This commit is contained in:
parent
c7f7d0f752
commit
f1a58c7254
|
@ -76,7 +76,7 @@ static void _ObjAffineSet(struct GBA* gba) {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue