diff options
Diffstat (limited to 'vdp.hpp')
-rw-r--r-- | vdp.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -51,7 +51,12 @@ public: constexpr VDP(const uint32_t base_address_a): base_address(base_address_a) {} uint32_t Read(uint32_t offset, enum bitness); void Write(uint32_t offset, enum bitness, uint32_t value); - bool Scanline(); // Returns true if display disabled or vblank happened + /** Renders a horizontal line (scan line). + * + * Returns true if display disabled or VBLANK could've had happened, even if + * VBLANK is disabled (MODESET2_IE0 is 0). + * */ + bool Scanline(); void Reset(); constexpr const uint32_t* GetRenderedBuffer() const { return _rendered_buffer; } static const char* RegIDToString(RegID); |