mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-21 20:29:06 +00:00
Add a crop rectangle.
This commit is contained in:
parent
41c6ed7c5a
commit
1d07b8238c
@ -19,7 +19,11 @@ struct Video {
|
||||
public:
|
||||
Video(const Commodore::Plus4::Pager &pager) :
|
||||
crt_(465, 1, Outputs::Display::Type::PAL50, Outputs::Display::InputDataType::Luminance8Phase8),
|
||||
pager_(pager) {}
|
||||
pager_(pager)
|
||||
{
|
||||
// TODO: perfect crop.
|
||||
crt_.set_visible_area(Outputs::Display::Rect(0.075f, 0.065f, 0.85f, 0.85f));
|
||||
}
|
||||
|
||||
template <uint16_t address>
|
||||
void write(const uint8_t value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user