summaryrefslogtreecommitdiff
path: root/apps/plugins/mikmod/load_gt2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mikmod/load_gt2.c')
-rw-r--r--apps/plugins/mikmod/load_gt2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/load_gt2.c b/apps/plugins/mikmod/load_gt2.c
index 996de0e61e..9baef5c09b 100644
--- a/apps/plugins/mikmod/load_gt2.c
+++ b/apps/plugins/mikmod/load_gt2.c
@@ -217,7 +217,7 @@ GT_CHUNK *loadChunk(void)
217 _mm_read_M_ULONGS(&new_chunk->gt2.chunk_size, 1, modreader); 217 _mm_read_M_ULONGS(&new_chunk->gt2.chunk_size, 1, modreader);
218 new_chunk->gt2.module_name[32] = 0; 218 new_chunk->gt2.module_name[32] = 0;
219 _mm_read_UBYTES(&new_chunk->gt2.module_name, 32, modreader); 219 _mm_read_UBYTES(&new_chunk->gt2.module_name, 32, modreader);
220 new_chunk->gt2.module_name[160] = 0; 220 new_chunk->gt2.comments_author[160] = 0;
221 _mm_read_UBYTES(&new_chunk->gt2.comments_author, 160, modreader); 221 _mm_read_UBYTES(&new_chunk->gt2.comments_author, 160, modreader);
222 _mm_read_UBYTES(&new_chunk->gt2.date_day, 1, modreader); 222 _mm_read_UBYTES(&new_chunk->gt2.date_day, 1, modreader);
223 _mm_read_UBYTES(&new_chunk->gt2.date_month, 1, modreader); 223 _mm_read_UBYTES(&new_chunk->gt2.date_month, 1, modreader);
@@ -332,6 +332,7 @@ int GT2_Test(void)
332int GT2_Load(int curious) 332int GT2_Load(int curious)
333{ 333{
334 GT_CHUNK *tmp; 334 GT_CHUNK *tmp;
335 (void)curious;
335 336
336 _mm_fseek(modreader, 0, SEEK_SET); 337 _mm_fseek(modreader, 0, SEEK_SET);
337 while ( (tmp = loadChunk() )) 338 while ( (tmp = loadChunk() ))