pushing to dev

This commit is contained in:
2018-02-18 12:51:10 -08:00
parent d62a8d3f0e
commit 9b69088b35
6 changed files with 8 additions and 5 deletions

View File

@@ -39,7 +39,9 @@ int main(int argc, char **argv)
close(out_fd);
}
out_fd = open(optarg, O_WRONLY | O_CREAT | O_TRUNC);
out_fd = open(optarg,
O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR);
if (out_fd < 0) {
fprintf(stderr, "failed to open output file %s\n", optarg);
exit(1);

View File

@@ -19,7 +19,7 @@
#include "common/tri.h"
#define INPUT_MAX_LEN 512
#define MAX_BREAKPTS 256 /* Should be plenty for anyone */
#define MAX_BREAKPTS 4 /* Should be plenty for anyone */
#define MAX_RAM_LEN (1 << 20) /* Up to 8Mb Cartridge */
#define UNMAP_BOOTROM_ADDR 0xff50