Update Emulator loop logic
This commit is contained in:
@@ -23,7 +23,7 @@ void Emulator::Run() {
|
|||||||
|
|
||||||
RenderEmulator();
|
RenderEmulator();
|
||||||
|
|
||||||
while (running_) {
|
if (running_) {
|
||||||
// Handle user input events
|
// Handle user input events
|
||||||
HandleEvents();
|
HandleEvents();
|
||||||
// Update the emulator state
|
// Update the emulator state
|
||||||
@@ -42,9 +42,10 @@ void Emulator::RenderNavBar() {
|
|||||||
MENU_BAR()
|
MENU_BAR()
|
||||||
|
|
||||||
if (ImGui::BeginMenu("Game")) {
|
if (ImGui::BeginMenu("Game")) {
|
||||||
|
MENU_ITEM("Power Off") {}
|
||||||
MENU_ITEM("Pause") {}
|
MENU_ITEM("Pause") {}
|
||||||
MENU_ITEM("Reset") {}
|
MENU_ITEM("Reset") {}
|
||||||
MENU_ITEM("Power Off") {}
|
|
||||||
MENU_ITEM("Save State") {}
|
MENU_ITEM("Save State") {}
|
||||||
MENU_ITEM("Load State") {}
|
MENU_ITEM("Load State") {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user