Fix ROM file handling to use Get() method for flag retrieval
This commit is contained in:
@@ -27,8 +27,8 @@ int main(int argc, char** argv) {
|
|||||||
yaze::util::FlagParser parser(yaze::util::global_flag_registry());
|
yaze::util::FlagParser parser(yaze::util::global_flag_registry());
|
||||||
RETURN_IF_EXCEPTION(parser.Parse(argc, argv));
|
RETURN_IF_EXCEPTION(parser.Parse(argc, argv));
|
||||||
std::string rom_filename = "";
|
std::string rom_filename = "";
|
||||||
if (!FLAGS_rom_file.empty()) {
|
if (!FLAGS_rom_file->Get().empty()) {
|
||||||
rom_filename = FLAGS_rom_file;
|
rom_filename = FLAGS_rom_file->Get();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|||||||
Reference in New Issue
Block a user