mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 11:46:54 +00:00
972c453986
Previous patches that removed shifts of constant negative values to eliminate UB were valid, but did not correct all places where this engine was potentially bit shifting negative values. There is no reason to not just use multiplication and division and let the compiler make the right choice for optimisation for an architecture, so that is what this patch does. |
||
---|---|---|
.. | ||
minigames | ||
bbvs.cpp | ||
bbvs.h | ||
configure.engine | ||
detection.cpp | ||
dialogs.cpp | ||
dialogs.h | ||
gamemodule.cpp | ||
gamemodule.h | ||
graphics.cpp | ||
graphics.h | ||
logic.cpp | ||
module.mk | ||
saveload.cpp | ||
scene.cpp | ||
sound.cpp | ||
sound.h | ||
spritemodule.cpp | ||
spritemodule.h | ||
videoplayer.cpp | ||
walk.cpp |