launcher: Set soft_id_code before calling init as some games use it then

This commit is contained in:
Will Xyen
2020-07-24 08:47:25 -07:00
parent dc357faef7
commit c54a41410b
2 changed files with 20 additions and 4 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ void *xcalloc(size_t nbytes)
mem = calloc(nbytes, 1);
if (mem == NULL) {
log_fatal("xmalloc(%u) failed", (uint32_t) nbytes);
log_fatal("xcalloc(%u) failed", (uint32_t) nbytes);
return NULL;
}
@@ -31,7 +31,7 @@ void *xmalloc(size_t nbytes)
mem = malloc(nbytes);
if (mem == NULL) {
log_fatal("xcalloc(%u) failed", (uint32_t) nbytes);
log_fatal("xmalloc(%u) failed", (uint32_t) nbytes);
return NULL;
}