mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
Only check if the files on "CD 0" are present. The others are requested with
"insert CD" messages. (Of course, that isn't supported, or even well tested, but the idea is sound.) This makes it possible to run the BS2 demo again. Incidentally, this is how I *meant* for it to work when I added that check - I even wrote so in the comment above that section of the code - so how on earth did I manage to screw it up like that? svn-id: r22594
This commit is contained in:
parent
2f51f40c11
commit
f83f1a77b6
@ -183,7 +183,7 @@ bool ResourceManager::init() {
|
||||
// during game-play (oh, that wascally wabbit!) in which case
|
||||
// the resource manager will print a fatal error.
|
||||
|
||||
if (!Common::File::exists((char *)cdInf[i].clusterName)) {
|
||||
if (cdInf[i].cd == 0 && !Common::File::exists((char *)cdInf[i].clusterName)) {
|
||||
_vm->GUIErrorMessage("Broken Sword 2: Cannot find " + Common::String((char *)cdInf[i].clusterName));
|
||||
delete [] cdInf;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user