Use osd_getenv instead of getenv (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-02 15:25:36 +01:00
parent e2d58b6a16
commit 68bd81d11a

View File

@ -889,8 +889,8 @@ void discrete_device::device_start()
/* enable profiling */
m_profiling = 0;
if (getenv("DISCRETE_PROFILING"))
m_profiling = atoi(getenv("DISCRETE_PROFILING"));
if (osd_getenv("DISCRETE_PROFILING"))
m_profiling = atoi(osd_getenv("DISCRETE_PROFILING"));
/* Build the final block list */
sound_block_list_t block_list;