From 7fb29cf524298d9496d151b125a8e7febc7ed5b1 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Fri, 26 Nov 2004 01:29:42 +0000 Subject: [PATCH] Oops, forgot this. --- zsnes/src/jma/jma.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsnes/src/jma/jma.cpp b/zsnes/src/jma/jma.cpp index 369b76aa..5ee2764b 100644 --- a/zsnes/src/jma/jma.cpp +++ b/zsnes/src/jma/jma.cpp @@ -113,12 +113,12 @@ namespace JMA stream.read((char *)uint_buffer, UINT_SIZE); file_info.crc32 = charp_to_uint(uint_buffer); - //Special UINT representation of file's date - stream.read((char *)uint_buffer, UINT_SIZE); + //Special USHORT representation of file's date + stream.read((char *)uint_buffer, USHORT_SIZE); file_info.date = charp_to_ushort(uint_buffer); - //Special UINT representation of file's time - stream.read((char *)uint_buffer, UINT_SIZE); + //Special USHORT representation of file's time + stream.read((char *)uint_buffer, USHORT_SIZE); file_info.time = charp_to_ushort(uint_buffer); file_info.buffer = 0; //Pointing to null till we decompress files