1
0

Implement SPxx OUT function

This commit is contained in:
otya128
2017-07-03 20:32:44 +09:00
parent ed2f22412c
commit 11f27a035d
3 changed files with 60 additions and 0 deletions

View File

@@ -250,6 +250,11 @@ class PetitComputer
//ARGB -> ABGR
return (color & 0xFF00FF00) | (color >> 16 & 0xFF) | ((color & 0xFF) << 16);
}
uint fromGLColor(uint color)
{
//ARGB <- ABGR
return (color & 0xFF00FF00) | (color >> 16 & 0xFF) | ((color & 0xFF) << 16);
}
struct ConsoleCharacter
{
wchar character;