N64FlashcartMenu
Loading...
Searching...
No Matches
src
flashcart
flashcart_utils.h
Go to the documentation of this file.
1
7
#ifndef FLASHCART_UTILS_H__
8
#define FLASHCART_UTILS_H__
9
10
11
#include <stdbool.h>
12
#include <stddef.h>
13
#include <stdint.h>
14
15
#include <fatfs/ff.h>
16
17
18
#define SAVE_WRITEBACK_MAX_SECTORS (256)
19
20
21
typedef
enum
{
22
ADDRESS_TYPE_MEM,
23
ADDRESS_TYPE_PI,
24
} address_type_t;
25
26
27
void
pi_dma_read_data (
void
*src,
void
*dst,
size_t
length);
28
void
pi_dma_write_data (
void
*src,
void
*dst,
size_t
length);
29
void
fatfs_fix_file_size (FIL *fil);
30
bool
fatfs_get_file_sectors (
char
*path, uint32_t *address, address_type_t address_type, uint32_t max_sectors);
31
32
33
#endif
Generated on Wed Jun 12 2024 22:09:27 for N64FlashcartMenu by
1.9.5