1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Adjusted visible area.

This commit is contained in:
Thomas Harte 2016-02-12 19:52:04 -05:00
parent 1d20a29d97
commit 341fafd3c5

View File

@ -37,7 +37,7 @@ Machine::Machine() :
"float texValue = texture(texID, coordinate).r;"
"return vec3(step(4.0/256.0, mod(texValue, 8.0/256.0)), step(2.0/256.0, mod(texValue, 4.0/256.0)), step(1.0/256.0, mod(texValue, 2.0/256.0)));"
"}");
_crt->set_visible_area(Outputs::Rect(0.2f, 0.062f, 0.82f, 0.82f));
_crt->set_visible_area(Outputs::Rect(0.2f, 0.05f, 0.82f, 0.82f));
memset(_keyStates, 0, sizeof(_keyStates));
memset(_palette, 0xf, sizeof(_palette));