Added support for indexed framebuffers in framebuffer files

This commit is contained in:
Aaron Turner
2019-12-03 17:34:56 -08:00
parent 8c56ee682e
commit d23ce04b1e

View File

@@ -452,7 +452,7 @@ pub fn initialize(fs: &mut WasiFs) -> Result<(), String> {
let fb_fd = unsafe {
fs.open_dir_all(
VIRTUAL_ROOT_FD,
"sys/class/graphics/wasmerfb".to_string(),
"sys/class/graphics/wasmerfb0".to_string(),
ALL_RIGHTS,
ALL_RIGHTS,
0,