#2476 closed defect (fixed)
SCUMM: Game detection broken
Reported by: | lordhoto | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: |
Description
If I try to add a new game (for the scumm engine) in the current cvs I always get: "Assertion failed: len >= 5, file scumm/scumm.cpp, line 3187" it looks like that function is called with the parameter "zak" for filename, that is why that assertion should fail, I dunno enough about the scumm detection if it would be safe to just delete that assertion or decrease the value, so I report this bug. (Doesn't happen with branch-0-8-0)
Ticket imported from: #1416993. Ticket imported from: bugs/2476.
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
I can't reproduce this. Please provide *detailed* instructions. Which game are you trying to add. At which point do you get that crash?
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 19 years ago
It happend for all games, but I saw that cyx fixed it (Fri Jan 27 23:10:24 2006 UTC (17 hours ago) by cyx: A filename without an extension can be passed to generateSubstResFileName() ; changed assert() condition accordingly.)
Ok than this is fixed anyway.
comment:5 by , 6 years ago
Component: | --Unset-- → Engine: SCUMM |
---|
Max, it looks like it is a regression caused by your recent improvements. Though, I didn't look into the code carefully.