diff options
author | Colin Snover | 2017-01-07 15:44:06 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-08 13:21:10 -0600 |
commit | b2796e65aa306f572978b5ade8343ce1357b4c04 (patch) | |
tree | 4913eb8cf5d6b5d8129e5e59a7019ade6c0d1b9f /common/EventMapper.cpp | |
parent | 2558b20cdda438bb0816791b1193776ff55aefde (diff) | |
download | scummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.tar.gz scummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.tar.bz2 scummvm-rg350-b2796e65aa306f572978b5ade8343ce1357b4c04.zip |
COMMON: Restrict use of data access helpers
The data access helpers as written are effectively little-endian
when reading from spans with value_types larger than the size of
the requested data (e.g. more than 1 byte for getting a char,
more than 2 bytes for getting a uint16, etc.). For now, restrict
use of these methods at compile time until someone actually needs
to read memory that way.
Diffstat (limited to 'common/EventMapper.cpp')
0 files changed, 0 insertions, 0 deletions