mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Default argument on plib::environment now optional. (nw)
This commit is contained in:
parent
167d8405ec
commit
d0b6742563
3 changed files with 3 additions and 3 deletions
|
@ -775,7 +775,7 @@ void setup_t::resolve_inputs()
|
|||
|
||||
void setup_t::start_devices()
|
||||
{
|
||||
pstring env = plib::util::environment("NL_LOGS");
|
||||
pstring env = plib::util::environment("NL_LOGS", "");
|
||||
|
||||
if (env != "")
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace plib
|
|||
namespace util
|
||||
{
|
||||
const pstring buildpath(std::initializer_list<pstring> list );
|
||||
const pstring environment(const pstring &var, const pstring &default_val = "");
|
||||
const pstring environment(const pstring &var, const pstring &default_val);
|
||||
}
|
||||
|
||||
namespace container
|
||||
|
|
|
@ -275,7 +275,7 @@ void NETLIB_NAME(solver)::post_start()
|
|||
//m_params.m_max_timestep = std::max(m_params.m_max_timestep, m_params.m_max_timestep::)
|
||||
|
||||
// Override log statistics
|
||||
pstring p = plib::util::environment("NL_STATS");
|
||||
pstring p = plib::util::environment("NL_STATS", "");
|
||||
if (p != "")
|
||||
m_params.m_log_stats = p.as_long();
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue