mirror of
https://github.com/libretro/snes9x2010.git
synced 2024-12-11 18:26:11 +00:00
See if this gets us through the day
This commit is contained in:
parent
1e5c1e3058
commit
a96d21f47f
@ -1058,7 +1058,8 @@ static void S9XSetC4Square(void)
|
||||
{
|
||||
int64 b = (int64) READ_3WORD(Memory.C4RAM + 0x1f80);
|
||||
int64 c = b << 40;
|
||||
int64 a = SAR(c, 40); /* TODO/FIXME - Compiler stack overflow with MSVC 2005 happens here */
|
||||
int64 a = SAR(c, 30);
|
||||
a = SAR(c, 10);
|
||||
a *= a;
|
||||
WRITE_3WORD(Memory.C4RAM + 0x1f83, a);
|
||||
WRITE_3WORD(Memory.C4RAM + 0x1f86, (a >> 24));
|
||||
|
Loading…
Reference in New Issue
Block a user