mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
[gamecode] Implement ruamoko opcode lookup
And get the debugger working with the new instruction set.
This commit is contained in:
parent
c74cfb9bf6
commit
d9d37fda47
3 changed files with 49 additions and 16 deletions
|
@ -36,3 +36,10 @@
|
|||
const opcode_t pr_opcodes[512] = {
|
||||
#include "libs/gamecode/pr_opcode.cinc"
|
||||
};
|
||||
|
||||
const opcode_t *
|
||||
PR_Opcode (pr_ushort_t opcode)
|
||||
{
|
||||
opcode &= OP_MASK;
|
||||
return &pr_opcodes[opcode];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue