Commit Graph

13 Commits

Author SHA1 Message Date
9c52a4932d Corrected issue with types 2020-01-19 12:49:33 +01:00
d797bb3e1c Support custom memory allocators 2020-01-19 11:42:16 +01:00
caa1f45643 Forcibly ensure .xm playback starts in the right place; fixes #1043. (#1045) 2019-12-21 13:02:54 +01:00
e660621389 Fix jar_xm_reset 2019-05-29 17:15:11 +02:00
dec604bd71 Move jar_xm_reset to jar_xm.h 2019-05-23 16:40:15 +02:00
Ray
0148432588 fabsf() not working with TCC
Replaced by fabs() that seem to work ok
2018-05-28 00:48:45 +02:00
e659336c11 Fix value stored to 'num_channels' is never read 2018-04-02 13:30:19 +02:00
3f48ffb1b6 Fix two memory leaks in jar_xm.h
Found by LeakSanitizer in #494.
2018-02-26 00:14:19 +01:00
1430d01906 jar_xm: Workaround for unaligned pointer accesses
jar_xm.h does some shady pointer casts leading to unaligned accesses
and breaking strict aliasing. x86 has special circuitry for doing
unaligned accesses, but on other architectures, it may trap and require
kernel fix-up or crash outright. With this patch, one obstacle in
porting raylib to the GameBoy Advance has been removed. Go for it ;-)

To avoid having to rewrite that `mempool' code, insert padding before
structs and instruct the compiler (GCC, most importantly), to be gentle
when optimizing.

This fixes #490 (Unless we got ourselves 256-bit pointers, if so,
hello future!)
2018-02-24 23:59:56 +01:00
53fbeeea71 Corected some issues with jar_xm
Problems when compiling with VS2015
Probably DEBUG(...) macro is not the best naming...
2017-07-08 14:19:27 +02:00
02c456432d Complete review of audio system
Still some work left...
2016-08-01 12:49:17 +02:00
a008d49230 Corrected some issues to compile with MSC 2016-07-29 13:17:50 +02:00
Ray
29d505c98e Reorganize external libraries - BREAKING CHANGE -
Moved all external libraries used by raylib to external folder inside
raylib src. Makefile has already been update and also the different
includes in raylib modules.
2016-06-06 14:34:43 +02:00