mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-27 14:57:56 +00:00
SCI: Make assert stricter.
(Thanks to fuzzie.) svn-id: r52376
This commit is contained in:
parent
3e4f6b4a24
commit
b2ebb62e11
@ -817,7 +817,7 @@ int readPMachineInstruction(const byte *src, byte &extOpcode, int16 opparams[4])
|
||||
|
||||
for (int i = 0; g_opcode_formats[opcode][i]; ++i) {
|
||||
//printf("Opcode: 0x%x, Opnumber: 0x%x, temp: %d\n", opcode, opcode, temp);
|
||||
assert(i < 4);
|
||||
assert(i < 3);
|
||||
switch (g_opcode_formats[opcode][i]) {
|
||||
|
||||
case Script_Byte:
|
||||
|
Loading…
x
Reference in New Issue
Block a user