mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
osdmini: fixes build issues
This commit is contained in:
parent
b1d6f6d63f
commit
048fd105db
@ -79,6 +79,7 @@ project ("osd_" .. _OPTIONS["osd"])
|
||||
MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp",
|
||||
MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp",
|
||||
MAME_DIR .. "src/osd/modules/sound/none.cpp",
|
||||
MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp",
|
||||
}
|
||||
|
||||
project ("ocore_" .. _OPTIONS["osd"])
|
||||
|
@ -7,4 +7,6 @@ defines {
|
||||
"USE_SDL",
|
||||
"SDLMAME_NOASM=1",
|
||||
"USE_OPENGL=0",
|
||||
"NO_USE_MIDI=1",
|
||||
"USE_XAUDIO2=0",
|
||||
}
|
||||
|
@ -103,11 +103,9 @@ int osd_setenv(const char *name, const char *value, int overwrite)
|
||||
//============================================================
|
||||
// osd_subst_env
|
||||
//============================================================
|
||||
int osd_subst_env(char **dst, const char *src)
|
||||
void osd_subst_env(char **dst, const char *src)
|
||||
{
|
||||
*dst = (char *)osd_malloc_array(strlen(src) + 1);
|
||||
if (*dst != nullptr)
|
||||
strcpy(*dst, src);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user