mirror of https://github.com/OpenTTD/OpenTTD
(svn r2014) Don't manually inline a piece of code
parent
cf43c7a0e6
commit
f91f8d9559
|
@ -230,13 +230,7 @@ static void SlCopyBytes(void *ptr, size_t length)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
while(length) {
|
while(length) {
|
||||||
// INLINED SlReadByte
|
|
||||||
#if !defined(_DEBUG)
|
|
||||||
if (_sl.bufp == _sl.bufe) SlReadFill();
|
|
||||||
*p++ = *_sl.bufp++;
|
|
||||||
#else
|
|
||||||
*p++ = SlReadByte();
|
*p++ = SlReadByte();
|
||||||
#endif
|
|
||||||
length--;
|
length--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue