Update Emulator loop logic

This commit is contained in:
scawful
2023-08-20 20:11:01 -04:00
parent 8fb55b64bc
commit 033bd148cf

View File

@@ -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") {}