From 25673f65b2c0092bd241136660b9eaa0bcc66430 Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 20 Mar 2016 14:41:14 +0400 Subject: [PATCH] (MpxOpener): assign "image" type to "*.bin" entries. --- ArcFormats/Ikura/ArcDRS.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ArcFormats/Ikura/ArcDRS.cs b/ArcFormats/Ikura/ArcDRS.cs index 11fa16d3..26830356 100644 --- a/ArcFormats/Ikura/ArcDRS.cs +++ b/ArcFormats/Ikura/ArcDRS.cs @@ -2,7 +2,7 @@ //! \date Thu Aug 21 06:11:09 2014 //! \brief Digital Romance System archive implementation. // -// Copyright (C) 2014 by morkt +// Copyright (C) 2014-2016 by morkt // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to @@ -160,6 +160,8 @@ namespace GameRes.Formats.Ikura entry = new Entry { Name = name, Type = "script" }; has_scripts = true; } + else if (name.EndsWith (".bin")) + entry = new ImageEntry { Name = name }; else entry = FormatCatalog.Instance.Create (name); entry.Offset = file.View.ReadUInt32 (dir_offset+12);