mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(DZI): report missing tile name in exception message.
This commit is contained in:
parent
b5d3a09683
commit
99f5324a2c
@ -135,7 +135,7 @@ namespace GameRes.Formats.Malie
|
||||
{
|
||||
var image_entry = VFS.GetFiles (tile.FileName + ".*").FirstOrDefault();
|
||||
if (null == image_entry)
|
||||
throw new FileNotFoundException ("Tile not found", tile.FileName);
|
||||
throw new FileNotFoundException (string.Format ("Tile '{0}' not found", tile.FileName));
|
||||
using (var input = VFS.OpenBinaryStream (image_entry))
|
||||
{
|
||||
var image = Read (input);
|
||||
|
Loading…
Reference in New Issue
Block a user