summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2019-09-16 00:45:48 -0700
committerMike Pavone <pavone@retrodev.com>2019-09-16 00:45:48 -0700
commit52ee150c22253dce79dbb3613017eb62833a67a7 (patch)
tree4d48b2832cd5b363340c9b614f37e6c9953eca7e /vdp.h
parent803a402cb12ee895a963b8bd5b53b3faec8dece1 (diff)
Don't render lines that are cropped by overscan. Allows submitting frame earlier when bottom overscan is non-zero which can reduce latency in some cases
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vdp.h b/vdp.h
index 2a856cb..5904195 100644
--- a/vdp.h
+++ b/vdp.h
@@ -185,6 +185,7 @@ typedef struct {
uint32_t cycles;
uint32_t pending_vint_start;
uint32_t pending_hint_start;
+ uint32_t top_offset;
uint16_t vsram[VSRAM_SIZE];
uint16_t vscroll_latch[2];
uint16_t vcounter;