Created
February 22, 2015 21:25
-
-
Save Subv/b60cb6a84a2ce8c6abf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Test Red Input | |
*input = 0xFFFF0000; //Input | |
input[1] = 0x00FF0000; //Input | |
input[2] = 0xFF000000; | |
*output = 0; //Output | |
DisplayTransferAndWait(input, output, Dimensions(0x80, 0x80), Dimensions(0x40, 0x40), IN_RGBA8 | OUT_RGBA8 | (1 << 24)); | |
Log(GFX_BOTTOM, Common::FormatString("Got 0: %08X and 1: %08X\r\n", *output, output[1])); | |
input[1] = 0; | |
input[2] = 0; | |
TestEquals(*output, (u32)0x7FFF0000); | |
TestEquals(output[1], (u32)0x7F000000); | |
output[1] = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment