mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-23 08:59:39 +00:00
Enable MSVC optimisation again (with work-around for internal compiler error in burn_gun.cpp)
This commit is contained in:
parent
ad6a9f3295
commit
2c3f2cacfe
@ -257,7 +257,7 @@ else
|
||||
endif
|
||||
|
||||
else
|
||||
CFLAGS = /nologo /w /Oi /Ot /Oy /Ob2 /GF /Gs /Gy /GL /Zc:forScope /MT /EHsc
|
||||
CFLAGS = /nologo /w /O2 /Ox /Oi /Ot /Oy /Ob2 /GF /Gs /Gy /GL /Zc:forScope /MT /EHsc
|
||||
LDFLAGS += /LTCG:STATUS
|
||||
endif
|
||||
|
||||
|
@ -127,8 +127,8 @@ void BurnGunInit(INT32 nNumPlayers, bool bDrawTargets)
|
||||
}
|
||||
|
||||
for (INT32 i = 0; i < MAX_GUNS; i++) {
|
||||
BurnGunX[i] = ((nBurnGunMaxX / 2) - 7) << 8;
|
||||
BurnGunY[i] = ((nBurnGunMaxY / 2) - 8) << 8;
|
||||
BurnGunX[i] = ((nBurnGunMaxX >> 1) - 7) << 8;
|
||||
BurnGunY[i] = ((nBurnGunMaxY >> 1) - 8) << 8;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user