all repos — mgba @ b55c873e3401b255cba436e6e85eea59f3d5293c

mGBA Game Boy Advance Emulator

GBA BIOS: Define M_PI if not defined
Jeffrey Pfau jeffrey@endrift.com
Mon, 23 Mar 2015 02:16:17 -0700
commit

b55c873e3401b255cba436e6e85eea59f3d5293c

parent

f519976c7f3e3bc04236ffcb9e74a6901245caa2

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/gba/bios.csrc/gba/bios.c

@@ -10,6 +10,10 @@ #include "gba/io.h"

#include "gba/memory.h" #include "isa-inlines.h" +#ifndef M_PI +#define M_PI 3.141592654f +#endif + const uint32_t GBA_BIOS_CHECKSUM = 0xBAAE187F; const uint32_t GBA_DS_BIOS_CHECKSUM = 0xBAAE1880;