~ubuntu-branches/ubuntu/raring/scummvm/raring

« back to all changes in this revision

Viewing changes to engines/sci/engine/vm.cpp

  • Committer: Package Import Robot
  • Author(s): Moritz Muehlenhoff
  • Date: 2012-01-14 11:39:15 UTC
  • mfrom: (21.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120114113915-hy9kyzbyncrqen3y
Tags: 1.4.1-1
* New upstream release
* Install translations.dat into scummvm-data    

Show diffs side-by-side

added added

removed removed

Lines of Context:
462
462
 
463
463
        memset(opparams, 0, 4*sizeof(int16));
464
464
 
465
 
        for (int i = 0; g_opcode_formats[opcode][i]; ++i) {
 
465
        for (int i = 0; g_sci->_opcode_formats[opcode][i]; ++i) {
466
466
                //debugN("Opcode: 0x%x, Opnumber: 0x%x, temp: %d\n", opcode, opcode, temp);
467
467
                assert(i < 3);
468
 
                switch (g_opcode_formats[opcode][i]) {
 
468
                switch (g_sci->_opcode_formats[opcode][i]) {
469
469
 
470
470
                case Script_Byte:
471
471
                        opparams[i] = src[offset++];