commit 65ee026
McGravel
·
2025-03-11 08:07:32 +0000 UTC
parent 63bf613
Fix Symbol file not being written in binary format
1 files changed,
+1,
-1
+1,
-1
1@@ -456,7 +456,7 @@ build(char *rompath)
2 labels_len,
3 macro_len);
4 /* sym */
5- if(!(dstsym = fopen(sympath, "w")))
6+ if(!(dstsym = fopen(sympath, "wb")))
7 return !error_top("Symbols file invalid", sympath);
8 for(i = 0; i < labels_len; i++) {
9 Uint8 hb = labels[i].addr >> 8, lb = labels[i].addr;