From 041947507f6a37e454e013641ef16936c1b7aba1 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 12 Nov 2002 20:02:56 +0000 Subject: [PATCH] Small patch from Jens. committer: mfx 1037131376 +0000 --- src/p_ps1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_ps1.cpp b/src/p_ps1.cpp index b7e547fa..1f946a1a 100644 --- a/src/p_ps1.cpp +++ b/src/p_ps1.cpp @@ -233,7 +233,7 @@ void PackPs1::pack(OutputFile *fo) memcpy(loader,getLoader(),lsize); unsigned pad, pad_code; - pad = ALIGN_UP((cfile_size ? cfile_size : ih.tx_len), 4); + pad = ALIGN_DOWN((cfile_size ? cfile_size : ih.tx_len), 4); pad_code = CHK_ALIGNED(ph.c_len, 4); const unsigned decomp_data_start = NOCACHE(ih.tx_ptr);