fix notes on 44/A6 commands

This commit is contained in:
Martin Michelsen
2023-03-28 09:22:31 -07:00
parent b58f354c41
commit 4c248c5ee5
3 changed files with 30 additions and 27 deletions
+1 -1
View File
@@ -1000,7 +1000,7 @@ void add_open_file_command(StringWriter& w, const Quest& q, bool is_bin) {
CmdT cmd;
cmd.name = "PSO/" + encode_sjis(q.name);
cmd.filename = q.file_basename + (is_bin ? ".bin" : ".dat");
cmd.flags = q.is_dlq_encoded ? 0 : 2;
cmd.type = 0;
// TODO: It'd be nice to have something like w.emplace(...) to avoid copying
// the command structs into the StringWriter.
w.put(cmd);