summaryrefslogtreecommitdiff
path: root/lib/nes/app/application.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-07 13:37:10 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-07 13:37:10 +0100
commit582eeb48091e7a4e2e8f93c8131e74d1bb3d0c5d (patch)
tree30ca7fe7ef0ae85fa497e61b32bcb5937bd6ffc7 /lib/nes/app/application.hh
parent95a039c8d1f926365c8bf3c20b09ec6250e60d8a (diff)
fix compilation errors/warnings
Diffstat (limited to 'lib/nes/app/application.hh')
-rw-r--r--lib/nes/app/application.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nes/app/application.hh b/lib/nes/app/application.hh
index d0973e8..960b022 100644
--- a/lib/nes/app/application.hh
+++ b/lib/nes/app/application.hh
@@ -36,10 +36,10 @@ namespace nes::app
span<rgb, display::width * display::height> buffer_back_ = buffers_[1];
public:
- fps_counter fps_counter;
+ fps_counter fps;
display& base;
- screen* popup{ nullptr };
- screen* screen{ nullptr };
+ screen* visible_popup{ nullptr };
+ screen* visible_screen{ nullptr };
explicit display_proxy(preferences& preferences, display& base)
: preferences_{ preferences }
@@ -84,4 +84,4 @@ namespace nes::app
auto show_error(string_view message, status error, action const& action = action::close_popup()) -> void;
auto go_to_screen(screen*) -> void;
};
-} // namespace nes::app \ No newline at end of file
+} // namespace nes::app