OSDN Git Service

Merge branch 'release/3.0.0Alpha5'
[hengband/hengband.git] / src / save / info-writer.c
index 2848a5a..eb278cc 100644 (file)
@@ -46,7 +46,7 @@ void wr_randomizer(void)
  * @brief ゲームオプション情報を書き込む / Write the "options"
  * @return なし
  */
-void wr_options(void)
+void wr_options(save_type type)
 {
     for (int i = 0; i < 4; i++)
         wr_u32b(0L);
@@ -90,6 +90,9 @@ void wr_options(void)
     if (cheat_diary_output)
         c |= 0x8000;
 
+    if (type == SAVE_TYPE_DEBUG)
+        c |= 0xFFFF;
+
     wr_u16b(c);
 
     wr_byte(autosave_l);
@@ -173,4 +176,4 @@ void save_quick_start(void)
         previous_char.quick_ok = FALSE;
 
     wr_byte((byte)previous_char.quick_ok);
-}
+}
\ No newline at end of file