|
From: <sag...@us...> - 2010-03-07 14:15:34
|
Revision: 517
http://modplug.svn.sourceforge.net/modplug/?rev=517&view=rev
Author: saga-games
Date: 2010-03-07 14:15:23 +0000 (Sun, 07 Mar 2010)
Log Message:
-----------
[Fix] GDM Loader: It would have actually helped to convert the format origin table correctly... Origin formats other than MOD are now loading correctly again.
Modified Paths:
--------------
trunk/OpenMPT/soundlib/Load_gdm.cpp
Modified: trunk/OpenMPT/soundlib/Load_gdm.cpp
===================================================================
--- trunk/OpenMPT/soundlib/Load_gdm.cpp 2010-03-07 13:37:12 UTC (rev 516)
+++ trunk/OpenMPT/soundlib/Load_gdm.cpp 2010-03-07 14:15:23 UTC (rev 517)
@@ -68,10 +68,10 @@
#pragma pack()
-#define GDMHeader_Origin_Count 8
+#define GDMHeader_Origin_Count 9
static MODTYPE GDMHeader_Origin[GDMHeader_Origin_Count] =
{
- MOD_TYPE_NONE, MOD_TYPE_MOD, MOD_TYPE_S3M, MOD_TYPE_669, MOD_TYPE_FAR, MOD_TYPE_ULT, MOD_TYPE_STM, MOD_TYPE_MED
+ MOD_TYPE_NONE, MOD_TYPE_MOD, MOD_TYPE_MTM, MOD_TYPE_S3M, MOD_TYPE_669, MOD_TYPE_FAR, MOD_TYPE_ULT, MOD_TYPE_STM, MOD_TYPE_MED
};
bool CSoundFile::ReadGDM(const LPCBYTE lpStream, const DWORD dwMemLength)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|