mirror of
https://github.com/AuroraWright/SafeA9LHInstaller.git
synced 2025-06-26 13:42:45 +00:00
Forgot this
This commit is contained in:
parent
a051420edd
commit
29e8281729
@ -18,7 +18,7 @@ static int strlen(const char *string)
|
|||||||
return stringEnd - string;
|
return stringEnd - string;
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearScreens()
|
void clearScreens(void)
|
||||||
{
|
{
|
||||||
memset32(fb->top_left, 0, 0x46500);
|
memset32(fb->top_left, 0, 0x46500);
|
||||||
memset32(fb->top_right, 0, 0x46500);
|
memset32(fb->top_right, 0, 0x46500);
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
#define SPACING_VERT 10
|
#define SPACING_VERT 10
|
||||||
#define SPACING_HORIZ 8
|
#define SPACING_HORIZ 8
|
||||||
|
|
||||||
void clearScreens();
|
void clearScreens(void);
|
||||||
void drawCharacter(char character, int pos_x, int pos_y, u32 color);
|
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);
|
int drawString(const char *string, int pos_x, int pos_y, u32 color);
|
@ -9,7 +9,6 @@
|
|||||||
#include "fs.h"
|
#include "fs.h"
|
||||||
#include "installer.h"
|
#include "installer.h"
|
||||||
#include "screeninit.h"
|
#include "screeninit.h"
|
||||||
#include "draw.h"
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#define PDN_GPU_CNT (*(vu8 *)0x10141200)
|
#define PDN_GPU_CNT (*(vu8 *)0x10141200)
|
||||||
|
@ -21,9 +21,8 @@ void memset(void *dest, int filler, u32 size){
|
|||||||
|
|
||||||
void memset32(void *dest, u32 filler, u32 size){
|
void memset32(void *dest, u32 filler, u32 size){
|
||||||
u32 *dest32 = (u32 *)dest;
|
u32 *dest32 = (u32 *)dest;
|
||||||
for (u32 i = 0; i < size / 4; i++) {
|
for (u32 i = 0; i < size / 4; i++)
|
||||||
dest32[i] = filler;
|
dest32[i] = filler;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int memcmp(const void *buf1, const void *buf2, u32 size){
|
int memcmp(const void *buf1, const void *buf2, u32 size){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user