Fixed build warning
This commit is contained in:
parent
36d4f31a61
commit
4060708067
|
@ -489,7 +489,7 @@ static int savestate_create(lua_State *L) {
|
||||||
filename = FCEU_MakeFName(FCEUMKF_STATE, which - 1, 0);
|
filename = FCEU_MakeFName(FCEUMKF_STATE, which - 1, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
filename = tempnam(NULL, "snlua");
|
filename = mkstemp("snlua");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Our "object". We don't care about the type, we just need the memory and GC services.
|
// Our "object". We don't care about the type, we just need the memory and GC services.
|
||||||
|
|
Loading…
Reference in New Issue