All: Use GBAContext.rendering properly
Jeffrey Pfau jeffrey@endrift.com
Sat, 29 Aug 2015 04:19:32 -0700
5 files changed,
5 insertions(+),
5 deletions(-)
M
src/platform/3ds/main.c
→
src/platform/3ds/main.c
@@ -94,7 +94,7 @@ struct GBAVideoSoftwareRenderer renderer;
GBAVideoSoftwareRendererCreate(&renderer); renderer.outputBuffer = anonymousMemoryMap(256 * VIDEO_VERTICAL_PIXELS * 2); renderer.outputBufferStride = 256; - GBAVideoAssociateRenderer(&context.gba->video, &renderer.d); + context.renderer = &renderer.d; if (!font) { goto cleanup;
M
src/platform/libretro/libretro.c
→
src/platform/libretro/libretro.c
@@ -182,7 +182,7 @@
GBAVideoSoftwareRendererCreate(&renderer); renderer.outputBuffer = malloc(256 * VIDEO_VERTICAL_PIXELS * BYTES_PER_PIXEL); renderer.outputBufferStride = 256; - GBAVideoAssociateRenderer(&context.gba->video, &renderer.d); + context->renderer = &renderer.d; GBAAudioResizeBuffer(&context.gba->audio, SAMPLES);
M
src/platform/psp2/psp2-context.c
→
src/platform/psp2/psp2-context.c
@@ -103,7 +103,7 @@
GBAVideoSoftwareRendererCreate(&renderer); renderer.outputBuffer = vita2d_texture_get_datap(tex); renderer.outputBufferStride = 256; - GBAVideoAssociateRenderer(&context.gba->video, &renderer.d); + context.renderer = &renderer.d; printf("%s starting", projectName); }
M
src/platform/test/fuzz-main.c
→
src/platform/test/fuzz-main.c
@@ -84,7 +84,7 @@ if (!fuzzOpts.noVideo) {
GBAVideoSoftwareRendererCreate(&renderer); renderer.outputBuffer = malloc(256 * 256 * 4); renderer.outputBufferStride = 256; - GBAVideoAssociateRenderer(&context.gba->video, &renderer.d); + context->renderer = &renderer.d; } GBAContextStart(&context);
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -156,7 +156,7 @@
GBAVideoSoftwareRendererCreate(&renderer); renderer.outputBuffer = memalign(32, 256 * 256 * BYTES_PER_PIXEL); renderer.outputBufferStride = 256; - GBAVideoAssociateRenderer(&context.gba->video, &renderer.d); + context.renderer = renderer.d; GBAAudioResizeBuffer(&context.gba->audio, SAMPLES);