aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorD G Turner2018-08-09 22:11:01 +0100
committerD G Turner2018-08-09 22:11:01 +0100
commit85ebfd835dd8cedf007b8010e6d356df897b5ca8 (patch)
tree55fa5ff8f77a139766e678a9696ea975d41b26e1 /engines/sword1
parentd7a977b15201f2c849da4b8bbadca05122f8be6f (diff)
downloadscummvm-rg350-85ebfd835dd8cedf007b8010e6d356df897b5ca8.tar.gz
scummvm-rg350-85ebfd835dd8cedf007b8010e6d356df897b5ca8.tar.bz2
scummvm-rg350-85ebfd835dd8cedf007b8010e6d356df897b5ca8.zip
STARTREK: Possible Fix for OUYA Toolchain Build Error.
The size of the void StarTrekEngine::drawR3Shape(R3 *r3) function is very large, and this is using quite a lot of large variables on the stack, rather than by heap allocation. The exact cause is unclear, but this provokes an internal GCC error / bug in the Android OUYA toolchain. To try to avoid this, this commit changes several of the large local allocations from stack to heap i.e. using new and delete[] to try to avoid this.
Diffstat (limited to 'engines/sword1')
0 files changed, 0 insertions, 0 deletions