mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix build
This commit is contained in:
parent
11dc9f5161
commit
04272ff807
|
@ -183,7 +183,7 @@ void retro_init(void) {
|
||||||
GBAVideoSoftwareRendererCreate(&renderer);
|
GBAVideoSoftwareRendererCreate(&renderer);
|
||||||
renderer.outputBuffer = malloc(256 * VIDEO_VERTICAL_PIXELS * BYTES_PER_PIXEL);
|
renderer.outputBuffer = malloc(256 * VIDEO_VERTICAL_PIXELS * BYTES_PER_PIXEL);
|
||||||
renderer.outputBufferStride = 256;
|
renderer.outputBufferStride = 256;
|
||||||
context->renderer = &renderer.d;
|
context.renderer = &renderer.d;
|
||||||
|
|
||||||
GBAAudioResizeBuffer(&context.gba->audio, SAMPLES);
|
GBAAudioResizeBuffer(&context.gba->audio, SAMPLES);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue