mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 08:36:16 +00:00
Small fixes
This commit is contained in:
@@ -77,12 +77,13 @@ namespace
|
||||
const auto exit_status = win_emu.process().exit_status;
|
||||
if (!exit_status.has_value())
|
||||
{
|
||||
win_emu.log.print(color::green, "Emulation terminated without status!\n");
|
||||
win_emu.log.print(color::red, "Emulation terminated without status!\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
win_emu.log.print(color::red, "Emulation terminated with status: %X\n", *exit_status);
|
||||
return *exit_status == STATUS_SUCCESS;
|
||||
const auto success = *exit_status == STATUS_SUCCESS;
|
||||
win_emu.log.print(success ? color::green : color::red, "Emulation terminated with status: %X\n", *exit_status);
|
||||
return success;
|
||||
}
|
||||
|
||||
std::vector<std::u16string> parse_arguments(const std::span<const std::string_view> args)
|
||||
|
||||
Reference in New Issue
Block a user