mirror of https://github.com/mgba-emu/mgba.git
3DS: Use blip_add_delta_fast for a small speed improvement
This commit is contained in:
parent
63f14876c5
commit
3b24e94018
1
CHANGES
1
CHANGES
|
@ -20,6 +20,7 @@ Misc:
|
|||
- SDL: Remove default gamepad mappings
|
||||
- Qt: Update 360 input profile on OS X to reflect newer drivers
|
||||
- Qt: Remove use of NaN
|
||||
- 3DS: Use blip_add_delta_fast for a small speed improvement
|
||||
|
||||
0.4.0: (2016-02-02)
|
||||
Features:
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#include "gb/gb.h"
|
||||
#include "gb/io.h"
|
||||
|
||||
#ifdef _3DS
|
||||
#define blip_add_delta blip_add_delta_fast
|
||||
#endif
|
||||
|
||||
#define FRAME_CYCLES (DMG_LR35902_FREQUENCY >> 9)
|
||||
|
||||
const uint32_t DMG_LR35902_FREQUENCY = 0x400000;
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
#include "gba/serialize.h"
|
||||
#include "gba/video.h"
|
||||
|
||||
#ifdef _3DS
|
||||
#define blip_add_delta blip_add_delta_fast
|
||||
#endif
|
||||
|
||||
mLOG_DEFINE_CATEGORY(GBA_AUDIO, "GBA Audio");
|
||||
|
||||
const unsigned GBA_AUDIO_SAMPLES = 2048;
|
||||
|
|
Loading…
Reference in New Issue