GOB3: Data file fails to open, lockup
|Reported by:||SF/onnojongbloed||Owned by:||agent-q|
Original thread on the forums:
Version: 0.10.0a, build: DS #D
ScummVM locks up after the initial Coktel movie/sting.
IMD.ITK fails to be loaded, causes error() to be called which halts the application.
Method of Reproduction:
Hardware was a Nintendo DS classic with an M3 Adapter (v30 firmware, latest) and a 1gb kingston flashcard. The game is the CD version. DLDI driver came from <a href="http://dldi.drunkencoders.com/index.php?title=M3_Adapter_%28SD_Card%29">here</a> and is the one by AgentQ.
DataIO::file_open() fails, because open on the file handle fails, all the way down to FAT_fopen failing in ::std_fopen. Is this a bug in the DLDI driver? Path passed to FAT_fopen was "GOB3//IMD.ITK".
o2_openItk doesn't seem to mind when DataIO::openDataFile(const char *src, bool itk) fails. REplacing the error() call in that function by a return at least allowed me to resume the game into a playable state.
Other ITK files seem to load just fine for some reason.
Ticket imported from: #1787239. Ticket imported from: bugs/3393.