Mercurial > audlegacy
diff Plugins/Input/adplug/core/database.cpp @ 637:2b06eb5e472d trunk
[svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
author | chainsaw |
---|---|
date | Sat, 18 Feb 2006 08:23:30 -0800 |
parents | 7f0e78f42032 |
children | f12d7e208b43 |
line wrap: on
line diff
--- a/Plugins/Input/adplug/core/database.cpp Thu Feb 16 07:40:35 2006 -0800 +++ b/Plugins/Input/adplug/core/database.cpp Sat Feb 18 08:23:30 2006 -0800 @@ -1,6 +1,6 @@ /* * AdPlug - Replayer for many OPL2/OPL3 audio file formats. - * Copyright (c) 1999 - 2003 Simon Peter <dn.tlp@gmx.net>, et al. + * Copyright (c) 1999 - 2006 Simon Peter <dn.tlp@gmx.net>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ * * database.cpp - AdPlug database class * Copyright (c) 2002 Riven the Mage <riven@ok.ru> - * Copyright (c) 2002, 2003 Simon Peter <dn.tlp@gmx.net> + * Copyright (c) 2002, 2003, 2006 Simon Peter <dn.tlp@gmx.net> */ #include <binio.h> @@ -95,6 +95,9 @@ { unsigned long i; + // Save database as little endian with IEEE floats + f.setFlag(binio::BigEndian, false); f.setFlag(binio::FloatIEEE); + f.writeString(DB_FILEID_V10); f.writeInt(linear_logic_length, 4);