X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1f3e4e59174d695fd9cfe2fb16caf883e8e9477f..1d0a993ae9719c3054bf47b5ff019bf216fe9c98:/lib/gdi/bcm.cpp diff --git a/lib/gdi/bcm.cpp b/lib/gdi/bcm.cpp index 3beb6772..ccf16f41 100644 --- a/lib/gdi/bcm.cpp +++ b/lib/gdi/bcm.cpp @@ -23,10 +23,10 @@ static int exec_list(void); int bcm_accel_init(void) { - fb_fd = open("/dev/fb/0", O_RDWR); + fb_fd = open("/dev/fb0", O_RDWR); if (fb_fd < 0) { - perror("/dev/fb/0"); + perror("/dev/fb0"); return 1; } if (exec_list()) @@ -64,7 +64,7 @@ void bcm_accel_blit( int dst_addr, int dst_width, int dst_height, int dst_stride, int src_x, int src_y, int width, int height, int dst_x, int dst_y, int dwidth, int dheight, - int pal_addr) + int pal_addr, int flags) { C(0x43); // reset source C(0x53); // reset dest