all repos — mgba @ 96add00a5b5cacc9d3c4724ba12476cc3e45163d

mGBA Game Boy Advance Emulator

PSP2: Disable alpha
Jeffrey Pfau jeffrey@endrift.com
Fri, 24 Jul 2015 22:48:43 -0700
commit

96add00a5b5cacc9d3c4724ba12476cc3e45163d

parent

47332ef0171cc63a738e755ee923acb7b6195769

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

jump to
M src/platform/psp2/main.csrc/platform/psp2/main.c

@@ -40,7 +40,7 @@ printf("CPU: %08X", cpu);

int activeKeys = 0; vita2d_init(); - vita2d_texture* tex = vita2d_create_empty_texture(256, 256); + vita2d_texture* tex = vita2d_create_empty_texture_format(256, 256, SCE_GXM_TEXTURE_FORMAT_X8U8U8U8_1BGR); renderer.outputBuffer = vita2d_texture_get_datap(tex); renderer.outputBufferStride = 256;