mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Applied patch #1597800 to better support the Spanish end credits.
svn-id: r24727
This commit is contained in:
parent
dfe8d777c1
commit
51a964d056
@ -928,13 +928,19 @@ void Screen::rollCredits() {
|
||||
continue;
|
||||
}
|
||||
|
||||
// The German credits contains character code 9. We don't want
|
||||
// the credits to show the 'dud' symbol, so we replace them
|
||||
// with spaces.
|
||||
// Replace invalid character codes to avoid the credits to show
|
||||
// the 'dud' symbol.
|
||||
|
||||
for (char *ptr = line; *ptr; ptr++) {
|
||||
if (*ptr < 32)
|
||||
for (byte *ptr = (byte *)line; *ptr; ptr++) {
|
||||
// The German credits contains character code 9. We
|
||||
// replace them with spaces.
|
||||
if (*ptr == 9)
|
||||
*ptr = 32;
|
||||
|
||||
// The Spanish credits contains character code 170. We
|
||||
// replace them with dots.
|
||||
if (*ptr == 170)
|
||||
*ptr = '.';
|
||||
}
|
||||
|
||||
char *center_mark = strchr(line, '^');
|
||||
|
Loading…
x
Reference in New Issue
Block a user