mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
JANITORIAL: SCUMM: Fix some typos and extra semicolons
This commit is contained in:
parent
37e3146f49
commit
7a7a1552b2
@ -572,7 +572,7 @@ const Common::U32String InfoDialog::queryResString(int stringno) {
|
|||||||
|
|
||||||
const ResString &InfoDialog::getStaticResString(Common::Language lang, int stringno) {
|
const ResString &InfoDialog::getStaticResString(Common::Language lang, int stringno) {
|
||||||
// The string parts are only needed for v1/2. So we need to provide only the
|
// The string parts are only needed for v1/2. So we need to provide only the
|
||||||
// language varieties that exist for these. I have added the langugage I found
|
// language varieties that exist for these. I have added the languages I found
|
||||||
// in scumm-md5.h. I guess we could actually ditch the first 3 lines...
|
// in scumm-md5.h. I guess we could actually ditch the first 3 lines...
|
||||||
static const ResString strMap1[][6] = {
|
static const ResString strMap1[][6] = {
|
||||||
{ // English
|
{ // English
|
||||||
@ -752,7 +752,7 @@ const ResString &InfoDialog::getStaticResString(Common::Language lang, int strin
|
|||||||
bool useHardcodedV3QuitPrompt = stringno == 5 && _vm->_game.version == 3 && _vm->_game.id != GID_LOOM;
|
bool useHardcodedV3QuitPrompt = stringno == 5 && _vm->_game.version == 3 && _vm->_game.id != GID_LOOM;
|
||||||
bool useFixedDottMenuStrings = stringno >= 21 && stringno <= 26 && _vm->_game.id == GID_TENTACLE;
|
bool useFixedDottMenuStrings = stringno >= 21 && stringno <= 26 && _vm->_game.id == GID_TENTACLE;
|
||||||
|
|
||||||
// I have added the langugages I found in scumm-md5.h for v1/2 games...
|
// I have added the languages I found in scumm-md5.h for v1/2 games...
|
||||||
int langIndex = 0;
|
int langIndex = 0;
|
||||||
switch (lang) {
|
switch (lang) {
|
||||||
case Common::FR_FRA:
|
case Common::FR_FRA:
|
||||||
|
@ -1628,7 +1628,7 @@ void SmushPlayer::processDispatches(int16 feedSize) {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error("SmushPlayer::processDispatches(): unrecognized flag %d", _smushTracks[i].flags & TRK_TYPE_MASK);
|
error("SmushPlayer::processDispatches(): unrecognized flag %d", _smushTracks[i].flags & TRK_TYPE_MASK);
|
||||||
};
|
}
|
||||||
|
|
||||||
mixVolume = baseVolume * _smushTrackVols[0] / 127;
|
mixVolume = baseVolume * _smushTrackVols[0] / 127;
|
||||||
if ((flags & TRK_TYPE_MASK) == IS_BKG_MUSIC && isChanActive(CHN_SPEECH))
|
if ((flags & TRK_TYPE_MASK) == IS_BKG_MUSIC && isChanActive(CHN_SPEECH))
|
||||||
@ -1813,7 +1813,7 @@ void SmushPlayer::processDispatches(int16 feedSize) {
|
|||||||
|
|
||||||
_smushTracks[i].audioRemaining = _smushDispatch[i].audioRemaining;
|
_smushTracks[i].audioRemaining = _smushDispatch[i].audioRemaining;
|
||||||
_smushDispatch[i].state = _smushTracks[i].state;
|
_smushDispatch[i].state = _smushTracks[i].state;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (speechIsPlaying) {
|
if (speechIsPlaying) {
|
||||||
if (_gainReductionMultiplier > _gainReductionLowerBound) {
|
if (_gainReductionMultiplier > _gainReductionLowerBound) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user