chore: update dependencies
This commit is contained in:
parent
cf2357f917
commit
45d0dd04ca
File diff suppressed because it is too large
Load Diff
12
Cargo.toml
12
Cargo.toml
|
@ -9,13 +9,13 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
bitfield = "0.13"
|
bitfield = "0.13"
|
||||||
clap = "2.33"
|
clap = { version = "3.0", features = ["cargo"] }
|
||||||
gilrs = "0.8"
|
gilrs = "0.8"
|
||||||
winit = "0.26"
|
winit = "0.26"
|
||||||
egui = "0.15"
|
egui = "0.16"
|
||||||
wgpu = "0.11"
|
wgpu = "0.12"
|
||||||
egui_wgpu_backend = "0.14"
|
egui_wgpu_backend = "0.16"
|
||||||
egui_winit_platform = "0.12"
|
egui_winit_platform = "0.13"
|
||||||
pollster = "0.2"
|
pollster = "0.2"
|
||||||
rodio = "0.14"
|
rodio = "0.14"
|
||||||
rtrb = "0.2"
|
rtrb = "0.2"
|
||||||
|
@ -23,7 +23,7 @@ directories-next = "2.0"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] }
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
once_cell= "1.8"
|
once_cell = "1.8"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = true
|
debug = true
|
||||||
|
|
|
@ -240,7 +240,7 @@ pub fn draw_egui(cpu: &Cpu, app: &mut GuiState, ctx: &CtxRef, texture_id: Textur
|
||||||
}
|
}
|
||||||
|
|
||||||
egui::TopBottomPanel::top("top_panel").show(ctx, |ui| {
|
egui::TopBottomPanel::top("top_panel").show(ctx, |ui| {
|
||||||
egui::menu::menu(ui, "File", |ui| {
|
egui::menu::menu_button(ui, "File", |ui| {
|
||||||
if ui.button("Quit").clicked() {
|
if ui.button("Quit").clicked() {
|
||||||
app.quit = true;
|
app.quit = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,15 +21,15 @@ fn main() {
|
||||||
|
|
||||||
let m = app
|
let m = app
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("rom")
|
Arg::new("rom")
|
||||||
.value_name("ROM_FILE")
|
.value_name("ROM_FILE")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.index(1)
|
.index(1)
|
||||||
.help("Path to the Game ROM"),
|
.help("Path to the Game ROM"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("boot")
|
Arg::new("boot")
|
||||||
.short("b")
|
.short('b')
|
||||||
.long("boot")
|
.long("boot")
|
||||||
.value_name("FILE")
|
.value_name("FILE")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
@ -172,7 +172,7 @@ fn main() {
|
||||||
let screen_descriptor = gui::create_screen_descriptor(&window, &config);
|
let screen_descriptor = gui::create_screen_descriptor(&window, &config);
|
||||||
|
|
||||||
// Upload all resources for the GPU.
|
// Upload all resources for the GPU.
|
||||||
render_pass.update_texture(&device, &queue, &platform.context().texture());
|
render_pass.update_texture(&device, &queue, &platform.context().font_image());
|
||||||
render_pass.update_user_textures(&device, &queue);
|
render_pass.update_user_textures(&device, &queue);
|
||||||
render_pass.update_buffers(&device, &queue, &paint_jobs, &screen_descriptor);
|
render_pass.update_buffers(&device, &queue, &paint_jobs, &screen_descriptor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue