ReC98/th01/hardware/grp2xscs.h

11 lines
437 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Performs a very slow, unoptimized, 2× nearest-neighbor scale of the
// rectangle from
// (⌊left_1/8⌋*8, top_1) - (⌊left_1/8⌋*8 + ⌊w_1/16⌋*16, top_1 + h_1)
// on plane #1 to
// (⌊left_0/8⌋*8, top_0) - (⌊left_1/8⌋*8 + ⌊w_1/16⌋*32, top_1 + h_1*2)
// on plane #0.
void graph_2xscale_byterect_1_to_0_slow(
screen_x_t left_0, vram_y_t top_0,
screen_x_t left_1, vram_y_t top_1, pixel_t w_1, pixel_t h_1
);