all repos — mgba @ 0d088f6e99dc571d3133e2bf9492e553c7a06d68

mGBA Game Boy Advance Emulator

GB: Move DMG_LR35902_FREQUENCY for GBA build
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Feb 2016 13:46:49 -0800
commit

0d088f6e99dc571d3133e2bf9492e553c7a06d68

parent

0601c6f21c213af8b89a57ec6a51986458427de5

2 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gb/audio.csrc/gb/audio.c

@@ -11,6 +11,7 @@ #include "gb/io.h"

#define FRAME_CYCLES (DMG_LR35902_FREQUENCY >> 9) +const uint32_t DMG_LR35902_FREQUENCY = 0x400000; static const int CLOCKS_PER_BLIP_FRAME = 0x1000; static const unsigned BLIP_BUFFER_SIZE = 0x4000;
M src/gb/gb.csrc/gb/gb.c

@@ -14,7 +14,6 @@ #include "util/math.h"

#include "util/patch.h" #include "util/vfs.h" -const uint32_t DMG_LR35902_FREQUENCY = 0x400000; const uint32_t CGB_LR35902_FREQUENCY = 0x800000; const uint32_t SGB_LR35902_FREQUENCY = 0x418B1E;