1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Adds a centre crop.

This commit is contained in:
Thomas Harte 2019-11-07 20:02:45 -05:00
parent c9cd56915e
commit fc8021c0b0

View File

@ -70,6 +70,8 @@ const HorizontalParams &horizontal_parameters(FieldFrequency frequency) {
Video::Video() :
crt_(1024, 1, Outputs::Display::Type::PAL50, Outputs::Display::InputDataType::Red4Green4Blue4) {
crt_.set_visible_area(crt_.get_rect_for_area(43, 240, 120, 784, 4.0f / 3.0f));
}
void Video::set_ram(uint16_t *ram, size_t size) {