[Scummvm-cvs-logs] SF.net SVN: scummvm:[39196] scummvm/trunk/engines/sci/sfx/seq/ instrument-map.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Mar 7 18:55:01 CET 2009
Revision: 39196
http://scummvm.svn.sourceforge.net/scummvm/?rev=39196&view=rev
Author: thebluegr
Date: 2009-03-07 17:55:00 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Replaced getInt15 in intstrument-map.cpp as well
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/seq/instrument-map.cpp
Modified: scummvm/trunk/engines/sci/sfx/seq/instrument-map.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/seq/instrument-map.cpp 2009-03-07 17:32:11 UTC (rev 39195)
+++ scummvm/trunk/engines/sci/sfx/seq/instrument-map.cpp 2009-03-07 17:55:00 UTC (rev 39196)
@@ -159,7 +159,7 @@
map = sfx_instrument_map_new(PATCH_INSTRUMENT_MAPS_NR);
/* Set up MIDI intialisation data */
- map->initialisation_block_size = getInt16(data + PATCH_INIT_DATA_SIZE_LE);
+ map->initialisation_block_size = (int16)READ_LE_UINT16(data + PATCH_INIT_DATA_SIZE_LE);
if (map->initialisation_block_size) {
if (size < PATCH_MIN_SIZE + map->initialisation_block_size) {
fprintf(stderr, "[instrument-map] Instrument map too small for initialisation block: %d of %d\n", (int) size, PATCH_MIN_SIZE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list