GBA Core: Fix audio sample rate dynamically changing (fixes #3194)
This commit is contained in:
parent
aae9c502f0
commit
db1e02521e
@ -554,8 +554,8 @@ static void _GBACorePutPixels(struct mCore* core, const void* buffer, size_t str
|
||||
}
|
||||
|
||||
static unsigned _GBACoreAudioSampleRate(const struct mCore* core) {
|
||||
UNUSED(core);
|
||||
return 65536;
|
||||
struct GBA* gba = core->board;
|
||||
return GBA_ARM7TDMI_FREQUENCY / gba->audio.sampleInterval;
|
||||
}
|
||||
|
||||
static struct mAudioBuffer* _GBACoreGetAudioBuffer(struct mCore* core) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user