Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request ps2homebrew#243 from uyjulian/fixesfornewtoolchain
Browse files Browse the repository at this point in the history
Fixes for new toolchain
  • Loading branch information
ElPatas1 committed Feb 23, 2020
2 parents 9d49481 + ef0d58f commit 824750f
Show file tree
Hide file tree
Showing 19 changed files with 467 additions and 20 deletions.
8 changes: 4 additions & 4 deletions ee_core/include/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

#include <tamtypes.h>

inline void _strcpy(char *dst, const char *src);
inline void _strcat(char *dst, const char *src);
void _strcpy(char *dst, const char *src);
void _strcat(char *dst, const char *src);
int _strncmp(const char *s1, const char *s2, int length);
int _strcmp(const char *s1, const char *s2);
char *_strchr(const char *string, int c);
char *_strrchr(const char *string, int c);
char *_strtok(char *strToken, const char *strDelimit);
char *_strstr(const char *string, const char *substring);
inline int _islower(int c);
inline int _toupper(int c);
int _islower(int c);
int _toupper(int c);
int _memcmp(const void *s1, const void *s2, unsigned int length);
unsigned int _strtoui(const char *p);
int _strtoi(const char *p);
Expand Down
7 changes: 7 additions & 0 deletions ee_core/src/asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,17 @@ InitRegsExecPS2:
por $t1, $zero, $zero
por $t2, $zero, $zero
por $t3, $zero, $zero
.ifdef .gasversion.
por $a4, $zero, $zero
por $a5, $zero, $zero
por $a6, $zero, $zero
por $a7, $zero, $zero
.else
por $t4, $zero, $zero
por $t5, $zero, $zero
por $t6, $zero, $zero
por $t7, $zero, $zero
.endif
por $s0, $zero, $zero
por $s1, $zero, $zero
por $s2, $zero, $zero
Expand Down
Loading

0 comments on commit 824750f

Please sign in to comment.