Colorspace Handler: FragmentColor may now be accessed through a 4-element array, in which elements 0-1-2-3 represent color components R-G-B-A, respectively.

This commit is contained in:
rogerman 2023-01-19 14:24:35 -08:00
parent 2b66e756da
commit f0b0afe18b
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
Copyright (C) 2016-2022 DeSmuME team
Copyright (C) 2016-2023 DeSmuME team
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -82,6 +82,8 @@ enum NDSColorFormat
union FragmentColor
{
u32 color;
u8 component[4];
struct
{
u8 r,g,b,a;