From 1ba130f3bfa78ef3a1433a169e4ca0ff99b99e29 Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Fri, 12 Mar 2021 11:39:44 +0000 Subject: [PATCH] add comment marking incompleteness --- examples/chicken.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/chicken.rs b/examples/chicken.rs index f084c348..4d454357 100644 --- a/examples/chicken.rs +++ b/examples/chicken.rs @@ -27,8 +27,10 @@ fn main(_argc: isize, _argv: *const *const u8) -> isize { .set_background_size(tiled0::BackgroundSize::S32x32); gfx.background_0 .set_colour_mode(tiled0::ColourMode::FourBitPerPixel); - gfx.background_0.set_screen_base_block(1); + // This interface is not yet safe, as this can easily clobber the tiles. + // Not sure how to make this interface safe to use + gfx.background_0.set_screen_base_block(1); gfx.copy_to_map(1, &MAP_MAP); loop {