mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
3c887e6ac3
* PlayEffect progress, two insane funcs * PartnerActionStatus struct and some cleanup * file split * physics funcs * data migration, some decomp * curtains data, etc * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "b8bf80cd07" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "b8bf80cd07" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "265b837554" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "265b837554" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * PR comments
15 lines
285 B
C
15 lines
285 B
C
#ifndef _MIPS_H_
|
|
#define _MIPS_H_
|
|
|
|
#define JAL 0x03
|
|
#define ADDIU 0x09
|
|
#define LUI 0x0F
|
|
#define LW 0x23
|
|
#define LOWER(x) ((x) & 0xFFFF)
|
|
#define UPPER(x) ((x) >> 16)
|
|
#define OPCODE(x) ((x) >> 26)
|
|
#define GET_RS(x) ((x >> 0x15) & 0x1F)
|
|
#define GET_RT(x) (UPPER(x) & 0x1F)
|
|
|
|
#endif
|