You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: use of undeclared crate or module `gb_lcd`
--> gb-ppu/src/ppu/de_ser.rs:3:9
|
3 | use gb_lcd::render::{SCREEN_HEIGHT, SCREEN_WIDTH};
| ^^^^^^ use of undeclared crate or module `gb_lcd`
error[E0425]: cannot find value `SCREEN_HEIGHT` in this scope
--> gb-ppu/src/ppu/de_ser.rs:11:38
|
11 | const PIXEL_BUFFER_SIZE: usize = SCREEN_HEIGHT * SCREEN_WIDTH * 3;
| ^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_WIDTH` in this scope
--> gb-ppu/src/ppu/de_ser.rs:11:54
|
11 | const PIXEL_BUFFER_SIZE: usize = SCREEN_HEIGHT * SCREEN_WIDTH * 3;
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_WIDTH` in this scope
--> gb-ppu/src/ppu/de_ser.rs:13:36
|
13 | type PixelsBuffer = [[[u8; 3]; SCREEN_WIDTH]; SCREEN_HEIGHT];
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_HEIGHT` in this scope
--> gb-ppu/src/ppu/de_ser.rs:13:51
|
13 | type PixelsBuffer = [[[u8; 3]; SCREEN_WIDTH]; SCREEN_HEIGHT];
| ^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_WIDTH` in this scope
--> gb-ppu/src/ppu/de_ser.rs:50:40
|
50 | let mut pixels = [[[0; 3]; SCREEN_WIDTH]; SCREEN_HEIGHT];
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_HEIGHT` in this scope
--> gb-ppu/src/ppu/de_ser.rs:50:55
|
50 | let mut pixels = [[[0; 3]; SCREEN_WIDTH]; SCREEN_HEIGHT];
| ^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_WIDTH` in this scope
--> gb-ppu/src/ppu/de_ser.rs:55:32
|
55 | pixels[p / SCREEN_WIDTH][p % SCREEN_WIDTH][b % 3] = byte;
| ^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `SCREEN_WIDTH` in this scope
--> gb-ppu/src/ppu/de_ser.rs:55:50
|
55 | pixels[p / SCREEN_WIDTH][p % SCREEN_WIDTH][b % 3] = byte;
| ^^^^^^^^^^^^ not found in this scope
error[E0277]: the trait bound `io_registers::Speed: io_registers::_::_serde::Deserialize<'_>` is not satisfied
--> gb-cpu/src/io_registers.rs:32:5
|
32 | pub current_speed: Speed,
| ^^^ the trait `io_registers::_::_serde::Deserialize<'_>` is not implemented for `io_registers::Speed`
|
note: required by a bound in `io_registers::_::_serde::de::SeqAccess::next_element`
--> /Users/pierre/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.137/src/de/mod.rs:1725:12
|
1725 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `io_registers::_::_serde::de::SeqAccess::next_element`
error[E0277]: the trait bound `io_registers::Speed: io_registers::_::_serde::Deserialize<'_>` is not satisfied
--> gb-cpu/src/io_registers.rs:32:5
|
32 | pub current_speed: Speed,
| ^^^ the trait `io_registers::_::_serde::Deserialize<'_>` is not implemented for `io_registers::Speed`
|
note: required by a bound in `io_registers::_::_serde::de::MapAccess::next_value`
--> /Users/pierre/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.137/src/de/mod.rs:1864:12
|
1864 | V: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `io_registers::_::_serde::de::MapAccess::next_value`
error[E0277]: the trait bound `io_registers::Speed: io_registers::_::_serde::Serialize` is not satisfied
--> gb-cpu/src/io_registers.rs:32:5
|
32 | pub current_speed: Speed,
| ^^^ the trait `io_registers::_::_serde::Serialize` is not implemented for `io_registers::Speed`
|
note: required by a bound in `io_registers::_::_serde::ser::SerializeStruct::serialize_field`
--> /Users/pierre/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.137/src/ser/mod.rs:1899:12
|
1899 | T: Serialize;
| ^^^^^^^^^ required by this bound in `io_registers::_::_serde::ser::SerializeStruct::serialize_field`
The text was updated successfully, but these errors were encountered:
edit:
The text was updated successfully, but these errors were encountered: