diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-20 10:56:23 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-20 10:56:23 +0100 |
| commit | 4bbfe640a8c357137524e797a8d2bd0a94d3abfa (patch) | |
| tree | cd1b0ac173ffb2e27d8116637434f413e18542f4 /libpsn00b/include | |
| parent | 8c68b4b8a5bf7757b8e4d6bc2f68f10584b0deb1 (diff) | |
| download | psn00bsdk-4bbfe640a8c357137524e797a8d2bd0a94d3abfa.tar.gz | |
Remove stdint.h, fix n00bdemo crashing
Diffstat (limited to 'libpsn00b/include')
| -rw-r--r-- | libpsn00b/include/stdint.h | 16 | ||||
| -rw-r--r-- | libpsn00b/include/stdlib.h | 2 |
2 files changed, 1 insertions, 17 deletions
diff --git a/libpsn00b/include/stdint.h b/libpsn00b/include/stdint.h deleted file mode 100644 index 83acb00..0000000 --- a/libpsn00b/include/stdint.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _STDINT_H -#define _STDINT_H - -typedef unsigned int size_t; - -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef long long int64_t; - -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -typedef unsigned long long uint64_t; - -#endif // _STDINT_H
\ No newline at end of file diff --git a/libpsn00b/include/stdlib.h b/libpsn00b/include/stdlib.h index b187a6f..4c4fcd3 100644 --- a/libpsn00b/include/stdlib.h +++ b/libpsn00b/include/stdlib.h @@ -44,7 +44,7 @@ double strtod(const char *nptr, char **endptr); float strtof(const char *nptr, char **endptr); // Memory allocation functions -unsigned int *GetBSSend(); +void _mem_init(int ram_size, int stack_max_size); void InitHeap(unsigned int *addr, int size); int SetHeapSize(int size); void *malloc(int size); |
