mirror of
https://github.com/KrisKennaway/ii-pix.git
synced 2025-04-16 10:37:53 +00:00
Bounds check lookahead
This commit is contained in:
parent
8cfee55b1d
commit
cf69dc9cf2
@ -67,6 +67,8 @@ def main():
|
||||
screen = screen_py.DHGR560NTSCScreen(palette)
|
||||
else:
|
||||
screen = screen_py.DHGR560Screen(palette)
|
||||
if args.lookahead < 1:
|
||||
parser.error('--lookahead must be at least 1')
|
||||
lookahead = args.lookahead
|
||||
|
||||
# Conversion matrix from RGB to CAM16UCS colour values. Indexed by
|
||||
|
Loading…
x
Reference in New Issue
Block a user