scummvm/engines/bbvs
Colin Snover 972c453986 BBVS: Remove all bit shifts of potentially negative integers
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.
2017-11-10 09:57:03 -06:00
..
minigames BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00
bbvs.cpp BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00
bbvs.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
configure.engine BBVS: Enable engine by default 2015-11-15 18:10:38 +01:00
detection.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
dialogs.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
dialogs.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
gamemodule.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
gamemodule.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
graphics.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
graphics.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
logic.cpp BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00
module.mk BBVS: Move some code out of bbvs.cpp 2014-02-22 20:34:52 +02:00
saveload.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
scene.cpp BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00
sound.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
sound.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
spritemodule.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
spritemodule.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
videoplayer.cpp ENGINES: Remove default1x scaler flag 2017-10-07 12:30:29 -05:00
walk.cpp BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00