# HG changeset patch # User Tony Vroon # Date 1182422249 -3600 # Node ID 1cb26b6f7ba09e8980dbce0495d9a2fc21432797 # Parent ed2d7787779ed986788867b59e68fa28a6a95566 Sync with upstream: revision 1.8, Sun Jun 17 20:05:40 2007 UTC diff -r ed2d7787779e -r 1cb26b6f7ba0 src/adplug/core/dro.cxx --- a/src/adplug/core/dro.cxx Thu Jun 21 17:33:00 2007 +0900 +++ b/src/adplug/core/dro.cxx Thu Jun 21 11:37:29 2007 +0100 @@ -1,6 +1,6 @@ /* * Adplug - Replayer for many OPL2/OPL3 audio file formats. - * Copyright (C) 1999 - 2005 Simon Peter, , et al. + * Copyright (C) 1999 - 2007 Simon Peter, , et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -69,7 +69,7 @@ // load section mstotal = f->readInt (4); // Total milliseconds in file length = f->readInt (4); // Total data bytes in file - f->ignore (1); // Type of opl data this can contain - ignored + f->ignore (4); // Type of opl data this can contain - ignored data = new unsigned char[length]; for (i = 0; i < length; i++) data[i] = f->readInt (1);