From 64ebfde8bcd6408e3b6925624e8680c314db6efc Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 6 Feb 2025 19:54:38 +0100 Subject: get rid of nasty stdlib --- lib/nes/app/application.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/nes/app/application.hh') diff --git a/lib/nes/app/application.hh b/lib/nes/app/application.hh index c23f654..f0117b1 100644 --- a/lib/nes/app/application.hh +++ b/lib/nes/app/application.hh @@ -13,7 +13,6 @@ #include "nes/common/display.hh" #include "nes/common/fps-counter.hh" #include "nes/common/types.hh" -#include namespace nes::app { @@ -71,14 +70,14 @@ namespace nes::app auto operator=(application&&) -> application& = delete; /// Request a new frame for the application. - auto frame(std::chrono::microseconds elapsed_time) -> void; + auto frame(u32 elapsed_time_us) -> void; auto add_controller(input_device_controller& c) -> void { input_manager_.add_controller(c); } auto remove_controller(input_device_controller& c) -> void { input_manager_.remove_controller(c); } private: auto handle_action(action const&) -> void; - auto show_error(std::string_view message, status error, action const& action = action::close_popup()) -> void; + 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 -- cgit v1.3.1