Increase number of opcodes
This commit is contained in:
parent
fa058f24b4
commit
9c6286f94a
|
@ -155,7 +155,7 @@ static int (*_outputFunc)(char*) = _outputStr;
|
||||||
static int _cpuBurstSize = 10;
|
static int _cpuBurstSize = 10;
|
||||||
|
|
||||||
// 0x59E230
|
// 0x59E230
|
||||||
static OpcodeHandler* gInterpreterOpcodeHandlers[342];
|
static OpcodeHandler* gInterpreterOpcodeHandlers[OPCODE_MAX_COUNT];
|
||||||
|
|
||||||
// 0x59E78C
|
// 0x59E78C
|
||||||
static Program* gInterpreterCurrentProgram;
|
static Program* gInterpreterCurrentProgram;
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
namespace fallout {
|
namespace fallout {
|
||||||
|
|
||||||
// The maximum number of opcodes.
|
// The maximum number of opcodes.
|
||||||
#define OPCODE_MAX_COUNT (342)
|
//
|
||||||
|
// SFALL: Increase number of opcodes.
|
||||||
|
#define OPCODE_MAX_COUNT 768
|
||||||
|
|
||||||
typedef enum Opcode {
|
typedef enum Opcode {
|
||||||
OPCODE_NOOP = 0x8000,
|
OPCODE_NOOP = 0x8000,
|
||||||
|
|
Loading…
Reference in New Issue