Deobfuscate a value without affecting ASM
Doing 'fx / 32 / 0x200' produces different assembly.
This commit is contained in:
parent
bc5a9b2d9f
commit
602315fa39
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ void PutFront(int fx, int fy)
|
||||||
switch (gBack.type)
|
switch (gBack.type)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
x_1 = fx / 0x4000;
|
x_1 = fx / (32 * 0x200);
|
||||||
x_2 = x_1 + (((WINDOW_WIDTH + (32 - 1)) / 32) + 1);
|
x_2 = x_1 + (((WINDOW_WIDTH + (32 - 1)) / 32) + 1);
|
||||||
y_1 = 0;
|
y_1 = 0;
|
||||||
y_2 = y_1 + 32;
|
y_2 = y_1 + 32;
|
||||||
|
|
Loading…
Add table
Reference in a new issue