From dd9f05aeb7858b654bb169cbb5fb2a0fe6c916c8 Mon Sep 17 00:00:00 2001 From: scawful Date: Wed, 22 Jan 2025 10:38:01 -0500 Subject: [PATCH] Fix ROM file handling to use Get() method for flag retrieval --- src/app/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/main.cc b/src/app/main.cc index 68a593ab..b4ee0bb1 100644 --- a/src/app/main.cc +++ b/src/app/main.cc @@ -27,8 +27,8 @@ int main(int argc, char** argv) { yaze::util::FlagParser parser(yaze::util::global_flag_registry()); RETURN_IF_EXCEPTION(parser.Parse(argc, argv)); std::string rom_filename = ""; - if (!FLAGS_rom_file.empty()) { - rom_filename = FLAGS_rom_file; + if (!FLAGS_rom_file->Get().empty()) { + rom_filename = FLAGS_rom_file->Get(); } #ifdef __APPLE__