~rabbits/nasu

39d1c036d4ab4126ae059ce2eb599ee610f2d600 — neauoire 1 year, 7 months ago 7f07aa9
Optimized preview
1 files changed, 7 insertions(+), 7 deletions(-)

M src/main.tal
M src/main.tal => src/main.tal +7 -7
@@ 897,14 897,14 @@ RTN

	( stash address )
	.settings/focus LDZ2 STH2k .Screen/addr DEO2
	#00 #04
	#04 #00
	&ver
		OVR #08 * TOS .preview/y1 LDZ2 ++ .Screen/y DEO2
		#00 #04
		DUP #08 * TOS .preview/y1 LDZ2 ++ .Screen/y DEO2
		#04 #00
		&hor
			OVR #08 * TOS .preview/x1 LDZ2 ++ .Screen/x DEO2
			DUP #08 * TOS .preview/x1 LDZ2 ++ .Screen/x DEO2
			( get x,y )
			GET-ITERATORS
			GET-ITER
			( check if within ratio )
			.settings/ratio LDZ #0f AND < STH
			.settings/ratio LDZ #04 SFT < STHr


@@ 919,9 919,9 @@ RTN
			;halftone-icn .Screen/addr DEO2
			#03 .Screen/sprite DEO
			&resume
			INCR LTHk ,&hor JCN
			#01 + GTHk ,&hor JCN
		POP2
		INCR LTHk ;&ver JCN2
		#01 + GTHk ;&ver JCN2
	POP2
	POP2r