mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-04 08:46:04 +01:00
remove erroneous conditional block
This commit is contained in:
parent
5383a1b57b
commit
5e9720f9b0
1 changed files with 43 additions and 44 deletions
|
@ -210,7 +210,7 @@ class SDLOpenGLImGuiFrontend < Frontend
|
|||
open_keybindings = false
|
||||
|
||||
if show_menu_bar?
|
||||
if ImGui.main_menu_bar do
|
||||
ImGui.main_menu_bar do
|
||||
ImGui.menu "File" do
|
||||
open_rom_selection = ImGui.menu_item "Open ROM"
|
||||
open_bios_selection = ImGui.menu_item "Select BIOS" unless stubbed?
|
||||
|
@ -261,7 +261,6 @@ class SDLOpenGLImGuiFrontend < Frontend
|
|||
overlay_height += ImGui.get_window_size.y
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@file_explorer.render("ROM", open_rom_selection, ROM_EXTENSIONS) do |path|
|
||||
load_new_rom(path.to_s)
|
||||
|
|
Loading…
Add table
Reference in a new issue