removed unused functions

This commit is contained in:
Robin Jones 2016-09-16 21:37:34 +01:00
parent 6f771f166a
commit 9f9320338f

View File

@ -365,9 +365,6 @@ int compare_int_reverse (const void *a, const void *b) {
return *ib - *ia; return *ib - *ia;
} }
void free_dir(direntry_t *dirz) {
if(dirz) { free(dirz); }
}
void new_scroll_pos(int *cursor, int *page, int max, int count) { void new_scroll_pos(int *cursor, int *page, int max, int count) {
/* Make sure windows too small can be calculated right */ /* Make sure windows too small can be calculated right */
@ -592,22 +589,6 @@ void printText(char *msg, int x, int y, display_context_t dcon) {
} }
} }
void lprintText(char *msg, int x, int y, display_context_t dcon) {
x=x+text_offset;
if (x != -1)
gCursorX = x;
if (y != -1)
gCursorY = y;
if (dcon)
graphics_draw_text(dcon, gCursorX*8, gCursorY*8, msg);
if (gCursorY > 29) {
gCursorY = 0;
gCursorX ++;
}
}
//background sprite //background sprite
void drawBg(display_context_t disp){ void drawBg(display_context_t disp){