mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
I don't have the German FF version with the wrong cutscene file names, but I
believe we need to adjust baseName as well, so that we can use an equally wrong (i.e. right) name for opening the audio track. svn-id: r23028
This commit is contained in:
parent
4549a61060
commit
079e72eafc
@ -92,8 +92,12 @@ bool MoviePlayer::load(const char *filename) {
|
|||||||
char shortName[20];
|
char shortName[20];
|
||||||
memset(shortName, 0, sizeof(shortName));
|
memset(shortName, 0, sizeof(shortName));
|
||||||
memcpy(shortName, filename, 6);
|
memcpy(shortName, filename, 6);
|
||||||
sprintf(shortName, "%s~1.dxa", shortName);
|
|
||||||
|
|
||||||
|
sprintf(shortName, "%s~1.dxa", shortName);
|
||||||
|
|
||||||
|
memset(baseName, 0, sizeof(baseName));
|
||||||
|
memcpy(baseName, shortName, 8);
|
||||||
|
|
||||||
if (_fd.open(shortName) == false) {
|
if (_fd.open(shortName) == false) {
|
||||||
error("Failed to load video file %s or %s", videoName, shortName);
|
error("Failed to load video file %s or %s", videoName, shortName);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user