aboutsummaryrefslogtreecommitdiff
path: root/devtools/sci
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-04-30 22:26:51 +0200
committerTorbjörn Andersson2013-04-30 22:26:51 +0200
commit2284aba71979192d18bf147a18bee807a9f31ea2 (patch)
treeb6d6ee60bf37fc89fe21cda3844b2dd880d58088 /devtools/sci
parent6936f830ea397bb29ca6ef58e983e33c9467af2d (diff)
downloadscummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.tar.gz
scummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.tar.bz2
scummvm-rg350-2284aba71979192d18bf147a18bee807a9f31ea2.zip
SCUMM: Use correct array size when calling initializeLocals()
The initializeLocals() function assumes that it can copy 25 elements when being provided an array of values. But this array was frequently a lot smaller than that. I've introduced a constant for the number of locals (though VirtualMachineState has one more for some reason), and fixed the array sizes in a number of places. CID 1003951, 1003952, 1003953, 1003955, 1003956, 1003959, 1003960, 1003961, 1003963, 100394, 1003965
Diffstat (limited to 'devtools/sci')
0 files changed, 0 insertions, 0 deletions