Fix file endings

This commit is contained in:
Byron Lathi
2022-04-16 21:04:39 -05:00
parent f1e71a9461
commit 8c9ae78040
7 changed files with 6 additions and 8 deletions

View File

@@ -58,4 +58,4 @@ void exec(char* filename) {
} }
} }

View File

@@ -3,4 +3,4 @@
void exec(char* filename); void exec(char* filename);
#endif #endif

View File

@@ -70,4 +70,4 @@ void fat_read(char* filename, void* buf) {
cluster = ((uint32_t)dos_dentry->first_cluster_h << 16) + dos_dentry->first_cluster_l; cluster = ((uint32_t)dos_dentry->first_cluster_h << 16) + dos_dentry->first_cluster_l;
sd_readblock(data_region_start + (cluster - 2) * 8, buf); sd_readblock(data_region_start + (cluster - 2) * 8, buf);
} }

View File

@@ -108,4 +108,4 @@ void fat_print_pbp_info(ebpb_t* epbp);
void fat_init(); void fat_init();
void fat_read(char* filename, void* buf); void fat_read(char* filename, void* buf);
#endif #endif

View File

@@ -25,4 +25,4 @@ void o65_print_option(o65_opt_t* opt) {
cprintf("%x", opt->data[0]); cprintf("%x", opt->data[0]);
} }
cprintf("\n\n"); cprintf("\n\n");
} }

View File

@@ -63,5 +63,3 @@ typedef struct {
void o65_print_option(o65_opt_t* opt); void o65_print_option(o65_opt_t* opt);
#endif #endif

View File

@@ -15,4 +15,4 @@ void sd_card_resp(uint32_t* resp);
uint8_t sd_card_read_byte(); uint8_t sd_card_read_byte();
void sd_card_wait_for_data(); void sd_card_wait_for_data();
#endif #endif