PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
common.h
1#define SMEM_BUF_SIZE 0x300 //Must be large enough to accommodate all operations.
2
3struct smem_buf {
4 union {
5 u8 bytes[SMEM_BUF_SIZE / sizeof(u8)];
6 u32 words[SMEM_BUF_SIZE / sizeof(u32)];
7 smod_mod_info_t mod_info;
8 slib_exp_lib_t exp_lib;
9 };
10};
11
12int smem_write_word(void *address, u32 value);
13int __memcmp(const void *s1, const void *s2, unsigned int length);