Increase NotifyObservers data arg to uint16_t from uint8_t

This commit is contained in:
scawful
2024-04-19 17:55:52 -04:00
parent c906da46a0
commit a825ac36b2
7 changed files with 23 additions and 42 deletions

View File

@@ -50,7 +50,6 @@ using ImGui::Text;
void Emulator::Run() {
if (!snes_.running() && rom()->is_loaded()) {
snes_.SetupMemory(*rom());
snes_.Init(*rom());
}
@@ -78,7 +77,7 @@ void Emulator::RenderNavBar() {
gui::zeml::Render(navbar_node);
if (ImGui::Button(ICON_MD_PLAY_ARROW)) {
loading_ = true;
running_ = true;
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Start Emulation");
@@ -86,7 +85,7 @@ void Emulator::RenderNavBar() {
SameLine();
if (ImGui::Button(ICON_MD_PAUSE)) {
snes_.SetCpuMode(1);
running_ = false;
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Pause Emulation");