From ab806bc9d61e87042d79f208e47801c8077602b6 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 13 Oct 2022 20:36:56 -0600 Subject: [PATCH] we can pass in a bigger than necessary region. --- examples/hello.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello.rs b/examples/hello.rs index ab8deb6..5fc8807 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -63,7 +63,7 @@ extern "C" fn main() -> ! { { // get our tile data into memory. - Cga8x8Thick.bitunpack_4bpp(CHARBLOCK0_4BPP.as_region().sub_slice(..256), 0); + Cga8x8Thick.bitunpack_4bpp(CHARBLOCK0_4BPP.as_region(), 0); } {