diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1b0c3ceb7..dade1e37d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -98,7 +98,7 @@ jobs: uses: actions/checkout@v3 with: repository: pimoroni/picovision - ref: dd3415ad2218267d0bd67008effd4f60860e0c22 + ref: 03df7694ed4fb396c1d12adf90d0150ada6baedc path: picovision - name: Cache diff --git a/32blit-pico/display_picovision.cpp b/32blit-pico/display_picovision.cpp index dfa2a5e48..1533af6cf 100644 --- a/32blit-pico/display_picovision.cpp +++ b/32blit-pico/display_picovision.cpp @@ -253,7 +253,7 @@ static void write_frame_setup(uint16_t width, uint16_t height, blit::PixelFormat int step = std::min(buf_size, height - y); for(int i = 0; i < step; i++) { uint32_t line_addr = base_address + (y + i) * width * blit::pixel_format_stride[int(format)]; - buf[i] = dv_format << 28 | h_repeat << 24 | line_addr; + buf[i] = dv_format << 27 | h_repeat << 24 | line_addr; } ram.write(frame_table_addr, buf, step * 4);