Forgot this

This commit is contained in:
Aurora 2016-03-20 17:16:40 +01:00
parent a051420edd
commit 29e8281729
4 changed files with 3 additions and 5 deletions

View File

@ -18,7 +18,7 @@ static int strlen(const char *string)
return stringEnd - string;
}
void clearScreens()
void clearScreens(void)
{
memset32(fb->top_left, 0, 0x46500);
memset32(fb->top_right, 0, 0x46500);

View File

@ -5,6 +5,6 @@
#define SPACING_VERT 10
#define SPACING_HORIZ 8
void clearScreens();
void clearScreens(void);
void drawCharacter(char character, int pos_x, int pos_y, u32 color);
int drawString(const char *string, int pos_x, int pos_y, u32 color);

View File

@ -9,7 +9,6 @@
#include "fs.h"
#include "installer.h"
#include "screeninit.h"
#include "draw.h"
#include "types.h"
#define PDN_GPU_CNT (*(vu8 *)0x10141200)

View File

@ -21,9 +21,8 @@ void memset(void *dest, int filler, u32 size){
void memset32(void *dest, u32 filler, u32 size){
u32 *dest32 = (u32 *)dest;
for (u32 i = 0; i < size / 4; i++) {
for (u32 i = 0; i < size / 4; i++)
dest32[i] = filler;
}
}
int memcmp(const void *buf1, const void *buf2, u32 size){