mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 14:27:14 +00:00
cleanup
svn-id: r7920
This commit is contained in:
parent
95b7e01548
commit
54835862fb
@ -574,7 +574,12 @@ void CharsetRendererClassic::printChar(int chr) {
|
||||
|
||||
drawBits(vs, dst, mask, drawTop, width, height);
|
||||
|
||||
_vm->blit(back, dst, width, height);
|
||||
int h = height;
|
||||
do {
|
||||
memcpy(back, dst, width);
|
||||
back += _vm->_screenWidth;
|
||||
dst += _vm->_screenWidth;
|
||||
} while (--h);
|
||||
} else {
|
||||
drawBits(vs, dst, mask, drawTop, width, height);
|
||||
}
|
||||
|
@ -1251,9 +1251,8 @@ int Sound::playBundleSound(char *sound) {
|
||||
free(orig_ptr);
|
||||
|
||||
if (_scumm->_actorToPrintStrFor != 0xFF && _scumm->_actorToPrintStrFor != 0) {
|
||||
Actor *a = _scumm->derefActorSafe(_scumm->_actorToPrintStrFor, "playBundleSound");
|
||||
if (a)
|
||||
rate = (rate * a->talkFrequency) / 256;
|
||||
Actor *a = _scumm->derefActor(_scumm->_actorToPrintStrFor, "playBundleSound");
|
||||
rate = (rate * a->talkFrequency) / 256;
|
||||
}
|
||||
|
||||
if (bits == 8) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user