|
@@ -1,29 +1,30 @@
|
|
|
+/* -*- mode: c; tab-width: 4; c-basic-offset: 4; c-file-style: "linux" -*- */
|
|
|
//
|
|
|
-// PAL DOS compress format (YJ_1) library
|
|
|
+// Copyright (c) 2009-2011, Wei Mingzhi <whistler_wmz@users.sf.net>.
|
|
|
+// Copyright (c) 2011-2017, SDLPAL development team.
|
|
|
+// All rights reserved.
|
|
|
//
|
|
|
-// Author: Lou Yihua <louyihua@21cn.com>
|
|
|
+// This file is part of SDLPAL.
|
|
|
//
|
|
|
-// Copyright 2006 - 2007 Lou Yihua
|
|
|
+// SDLPAL is free software: you can redistribute it and/or modify
|
|
|
+// it under the terms of the GNU General Public License as published by
|
|
|
+// the Free Software Foundation, either version 3 of the License, or
|
|
|
+// (at your option) any later version.
|
|
|
//
|
|
|
-// This file is part of PAL library.
|
|
|
-//
|
|
|
-// This library is free software; you can redistribute it and/or
|
|
|
-// modify it under the terms of the GNU Lesser General Public
|
|
|
-// License as published by the Free Software Foundation; either
|
|
|
-// version 2.1 of the License, or (at your option) any later version.
|
|
|
-//
|
|
|
-// This library is distributed in the hope that it will be useful,
|
|
|
+// This program is distributed in the hope that it will be useful,
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
-// Lesser General Public License for more details.
|
|
|
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
+// GNU General Public License for more details.
|
|
|
//
|
|
|
-// You should have received a copy of the GNU Lesser General Public
|
|
|
-// License along with this library; if not, write to the Free Software
|
|
|
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
+// You should have received a copy of the GNU General Public License
|
|
|
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
+//
|
|
|
+// Portions based on PalLibrary by Lou Yihua <louyihua@21cn.com>.
|
|
|
+// Copyright (c) 2006-2007, Lou Yihua.
|
|
|
//
|
|
|
-
|
|
|
// Ported to C from C++ and modified for compatibility with Big-Endian
|
|
|
// by Wei Mingzhi <whistler@openoffice.org>.
|
|
|
+//
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
@@ -432,4 +433,4 @@ INT
|
|
|
return Length;
|
|
|
}
|
|
|
|
|
|
-INT (*Decompress)(LPCVOID, LPVOID, INT);
|
|
|
+INT (*Decompress)(LPCVOID, LPVOID, INT);
|