Using memory arena in the game that supports hot reload
This commit is contained in:
@@ -1091,10 +1091,14 @@ static void GenerateSolution(const char* slnName, const char** projectNames, con
|
||||
const char* configs[] = { "Debug", "Profile", "Release" };
|
||||
for (int c = 0; c < 3; c++) {
|
||||
offset += sprintf_s(buf + offset, (4 * 1024 * 1024) - offset,
|
||||
" {%s}.%s|x64.ActiveCfg = %s|x64\n"
|
||||
" {%s}.%s|x64.Build.0 = %s|x64\n",
|
||||
projectGuids[i], configs[c], configs[c],
|
||||
" {%s}.%s|x64.ActiveCfg = %s|x64\n",
|
||||
projectGuids[i], configs[c], configs[c]);
|
||||
|
||||
if (i == 0) {
|
||||
offset += sprintf_s(buf + offset, (4 * 1024 * 1024) - offset,
|
||||
" {%s}.%s|x64.Build.0 = %s|x64\n",
|
||||
projectGuids[i], configs[c], configs[c]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user