chore: update dependencies
This commit is contained in:
parent
cf2357f917
commit
ab6d0a0a7d
File diff suppressed because it is too large
Load Diff
12
Cargo.toml
12
Cargo.toml
|
@ -9,13 +9,13 @@ edition = "2021"
|
|||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bitfield = "0.13"
|
||||
clap = "2.33"
|
||||
clap = { version = "3.0", features = ["cargo"] }
|
||||
gilrs = "0.8"
|
||||
winit = "0.26"
|
||||
egui = "0.15"
|
||||
wgpu = "0.11"
|
||||
egui_wgpu_backend = "0.14"
|
||||
egui_winit_platform = "0.12"
|
||||
egui = "0.16"
|
||||
wgpu = "0.12"
|
||||
egui_wgpu_backend = "0.16"
|
||||
egui_winit_platform = "0.13"
|
||||
pollster = "0.2"
|
||||
rodio = "0.14"
|
||||
rtrb = "0.2"
|
||||
|
@ -23,7 +23,7 @@ directories-next = "2.0"
|
|||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] }
|
||||
thiserror = "1.0"
|
||||
once_cell= "1.8"
|
||||
once_cell = "1.8"
|
||||
|
||||
[profile.release]
|
||||
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::menu::menu(ui, "File", |ui| {
|
||||
egui::menu::menu_button(ui, "File", |ui| {
|
||||
if ui.button("Quit").clicked() {
|
||||
app.quit = true;
|
||||
}
|
||||
|
|
|
@ -21,15 +21,15 @@ fn main() {
|
|||
|
||||
let m = app
|
||||
.arg(
|
||||
Arg::with_name("rom")
|
||||
Arg::new("rom")
|
||||
.value_name("ROM_FILE")
|
||||
.takes_value(true)
|
||||
.index(1)
|
||||
.help("Path to the Game ROM"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("boot")
|
||||
.short("b")
|
||||
Arg::new("boot")
|
||||
.short('b')
|
||||
.long("boot")
|
||||
.value_name("FILE")
|
||||
.takes_value(true)
|
||||
|
@ -172,7 +172,7 @@ fn main() {
|
|||
let screen_descriptor = gui::create_screen_descriptor(&window, &config);
|
||||
|
||||
// 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_buffers(&device, &queue, &paint_jobs, &screen_descriptor);
|
||||
|
||||
|
|
Loading…
Reference in New Issue