Added header for chksum64
This commit is contained in:
parent
7586104ffc
commit
7aef45a08d
8
inc/chksum64.h
Normal file
8
inc/chksum64.h
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
#ifndef _CHKSUM64_H
|
||||||
|
#define _CHKSUM64_H
|
||||||
|
|
||||||
|
void checksum_sdram(void);
|
||||||
|
|
||||||
|
#endif
|
@ -6,19 +6,16 @@
|
|||||||
#ifndef MAIN_H
|
#ifndef MAIN_H
|
||||||
#define MAIN_H
|
#define MAIN_H
|
||||||
|
|
||||||
//TODO: some of these should probably be includes not protos in main
|
//TODO: these should probably be static not protos in main
|
||||||
void bootRom(display_context_t disp, int silent);
|
void bootRom(display_context_t disp, int silent);
|
||||||
void loadrom(display_context_t disp, u8 *buff, int fast);
|
void loadrom(display_context_t disp, u8 *buff, int fast);
|
||||||
|
|
||||||
void readSDcard(display_context_t disp, char *directory);
|
void readSDcard(display_context_t disp, char *directory);
|
||||||
int saveTypeToSd(display_context_t disp, char* save_filename ,int type);
|
int saveTypeToSd(display_context_t disp, char* save_filename ,int type);
|
||||||
|
|
||||||
void checksum_sdram(void);
|
|
||||||
|
|
||||||
void drawShortInfoBox(display_context_t disp, char* text, u8 mode);
|
void drawShortInfoBox(display_context_t disp, char* text, u8 mode);
|
||||||
void drawTextInput(display_context_t disp,char *msg);
|
void drawTextInput(display_context_t disp,char *msg);
|
||||||
|
|
||||||
#define MAX_LIST 20
|
|
||||||
|
|
||||||
//#define ishexchar(c) (((c >= '0') && (c <= '9')) || ((c >= 'A') && (c <= 'F')) || ((c >= 'a') && (c <= 'f')))
|
//#define ishexchar(c) (((c >= '0') && (c <= '9')) || ((c >= 'A') && (c <= 'F')) || ((c >= 'a') && (c <= 'f')))
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <libdragon.h>
|
#include <libdragon.h>
|
||||||
|
|
||||||
#include "sys.h"
|
#include "sys.h"
|
||||||
|
#include "chksum64.h"
|
||||||
|
|
||||||
|
|
||||||
#define BUFSIZE 0x8000
|
#define BUFSIZE 0x8000
|
||||||
|
@ -44,11 +44,14 @@
|
|||||||
#include <yaml.h>
|
#include <yaml.h>
|
||||||
|
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
|
#include "chksum64.h"
|
||||||
|
|
||||||
#ifdef USE_TRUETYPE
|
#ifdef USE_TRUETYPE
|
||||||
#define STB_TRUETYPE_IMPLEMENTATION
|
#define STB_TRUETYPE_IMPLEMENTATION
|
||||||
#include "stb_truetype.h"
|
#include "stb_truetype.h"
|
||||||
|
|
||||||
|
#define MAX_LIST 20
|
||||||
|
|
||||||
struct glyph
|
struct glyph
|
||||||
{
|
{
|
||||||
int xoff;
|
int xoff;
|
||||||
|
Loading…
Reference in New Issue
Block a user