mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
compiler doesn't care either.
This commit is contained in:
parent
f48313563c
commit
4a5f66fbe3
1 changed files with 2 additions and 1 deletions
|
@ -480,7 +480,8 @@ nextInstruction2:
|
||||||
src = (int *)&image[ r0&dataMask ];
|
src = (int *)&image[ r0&dataMask ];
|
||||||
dest = (int *)&image[ r1&dataMask ];
|
dest = (int *)&image[ r1&dataMask ];
|
||||||
if ( ( (long)src | (long)dest | count ) & 3 ) {
|
if ( ( (long)src | (long)dest | count ) & 3 ) {
|
||||||
Com_Error( ERR_DROP, "OP_BLOCK_COPY not dword aligned" );
|
// happens in westernq3
|
||||||
|
Com_Printf( S_COLOR_YELLOW "Warning: OP_BLOCK_COPY not dword aligned\n");
|
||||||
}
|
}
|
||||||
count >>= 2;
|
count >>= 2;
|
||||||
for ( i = count-1 ; i>= 0 ; i-- ) {
|
for ( i = count-1 ; i>= 0 ; i-- ) {
|
||||||
|
|
Loading…
Reference in a new issue