diff options
author | Aaditya Dhruv <[email protected]> | 2023-01-03 17:14:46 +0530 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2023-01-03 17:15:19 +0530 |
commit | 3dde16cde49323fb77cca270bb39c5787e3189d0 (patch) | |
tree | 3dda1974c8b127915770efeba5e9806fc0b14d4e /src/main.rs | |
parent | bdfd3f16b3d4ed8f0db8785a5325a4d646f36736 (diff) |
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 9a26b32..535615f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use sdl2::pixels::Color; use sdl2::event::Event; use sdl2::keyboard::Keycode; use std::time::Duration; -use chip8::Chip; +use chippy::Chip; use std::env; @@ -20,7 +20,7 @@ pub fn main() { //SDL initalizationa and window creation let sdl_context = sdl2::init().unwrap(); let video_subsystem = sdl_context.video().unwrap(); - let window = video_subsystem.window("CHIP-8", chip8::WIDTH * chip8::SCALE, chip8::HEIGHT * chip8::SCALE) + let window = video_subsystem.window("CHIP-8", chippy::WIDTH * chippy::SCALE, chippy::HEIGHT * chippy::SCALE) .position_centered() .build() .unwrap(); |