diff options
author | Strangerke | 2013-02-18 01:37:21 +0100 |
---|---|---|
committer | Strangerke | 2013-02-18 01:37:21 +0100 |
commit | 7428af9a4c612b59cee7f55d867a00464b3dae64 (patch) | |
tree | bc72860f5075ff5c5bb755cea9b2b1584db51a5a /engines/hopkins/hopkins.h | |
parent | ccf07b8956aa6865f4b8c0ff52cbb89d50e0421f (diff) | |
download | scummvm-rg350-7428af9a4c612b59cee7f55d867a00464b3dae64.tar.gz scummvm-rg350-7428af9a4c612b59cee7f55d867a00464b3dae64.tar.bz2 scummvm-rg350-7428af9a4c612b59cee7f55d867a00464b3dae64.zip |
HOPKINS: Replace casted READ_LE_UINT16 by the equivalent macro to improve readability
Diffstat (limited to 'engines/hopkins/hopkins.h')
-rw-r--r-- | engines/hopkins/hopkins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h index fe14b23a9a..0fd683375f 100644 --- a/engines/hopkins/hopkins.h +++ b/engines/hopkins/hopkins.h @@ -82,6 +82,8 @@ enum { */ #define MKTAG24(a0,a1,a2) ((uint32)((a2) | (a1) << 8 | ((a0) << 16))) +#define READ_LE_INT16(x) (int16) READ_LE_UINT16(x) + struct HopkinsGameDescription; class HopkinsEngine : public Engine { |