raylib/src
Ahmad Fatoum 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
..
external jar_xm: Workaround for unaligned pointer accesses 2018-02-24 23:59:56 +01:00
audio.c Corrected masteVolume setting 2018-02-11 01:28:30 +01:00
audio.h Force OpenAL backend on some platforms 2017-12-20 12:34:18 +01:00
camera.h Some comment tweaks 2017-05-08 21:16:46 +02:00
CMakeLists.txt CMake: Add options to use -fsanitize={address,undefined} 2018-02-24 15:37:38 +01:00
core.c Revert "raymath.h: Use C99 inline semantics" 2018-02-24 15:40:08 +01:00
easings.h Working on file header comments... 2017-03-19 12:52:58 +01:00
gestures.h Updated copyright year 2017-12-20 12:37:08 +01:00
Makefile jar_xm: Workaround for unaligned pointer accesses 2018-02-24 23:59:56 +01:00
models.c Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
physac.h #include header for time() on Windows 2018-01-25 23:12:03 +01:00
raylib.h Revert "raymath.h: Use C99 inline semantics" 2018-02-24 15:40:08 +01:00
raylib.ico Added resource config file 2017-10-22 11:07:17 +02:00
raylib.rc Added resource config file 2017-10-22 11:07:17 +02:00
raymath.h Revert "raymath.h: Use C99 inline semantics" 2018-02-24 15:40:08 +01:00
resources Added resource config file 2017-10-22 11:07:17 +02:00
rglfw.c Some formatting tweaks 2017-12-24 16:12:52 +01:00
rlgl.c Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
rlgl.h Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
shader_distortion.h Review default shaders usage on loading 2017-11-12 10:33:44 +01:00
shapes.c Added function DrawRectangleLinesEx() 2018-02-02 11:01:38 +01:00
text.c Support UTF8 basic characters on ImageTextEx() 2018-02-18 18:07:57 +01:00
textures.c Added comments to review function ImageTextEx() 2018-02-18 19:29:13 +01:00
utils.c Renamed function to SetTraceLog() 2017-12-24 16:49:54 +01:00
utils.h Updated copyright year 2017-12-20 12:37:08 +01:00