PS2SDK
PS2 Homebrew Libraries
common.h
1 #define SMEM_BUF_SIZE 0x300 //Must be large enough to accommodate all operations.
2 
3 struct 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 
12 extern int smem_write_word(void *address, u32 value);
13 extern int __memcmp(const void *s1, const void *s2, unsigned int length);
_smod_mod_info
Definition: smod.h:24
_slib_exp_lib
Definition: slib.h:32
smem_buf
Definition: common.h:3