Project

General

Profile

« Previous | Next » 

Revision 2ab02808

Added by skyjake over 12 years ago

Fixed|GCC: Segfault when loading WAV data

Something in the WAV loader is confusing GCC: when compiled with -O2,
WAV_MemoryLoad() reads corrupt data. It is likely that the optimizer
gets the manipulation of the 'data' pointer wrong.

This commit disables GCC optimization for the WAV_MemoryLoad() function,
fixing the issue.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences