Skip to content

Commit

Permalink
allow more v810 instructions (fixes mario kart homebrew)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfloogle committed Mar 28, 2024
1 parent ce92d42 commit 0ae3dcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/drc_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#define MAX_ROM_SIZE 0x1000000
#define BLOCK_MAP_COUNT (MAX_ROM_SIZE / 2 / 2)
#define CACHE_SIZE 0x200000
#define MAX_V810_INST 4096
#define MAX_ARM_INST (MAX_V810_INST * 8)
#define MAX_V810_INST 8192
#define MAX_ARM_INST 32768
#define ARM_CACHE_REG_START 4
#define ARM_NUM_CACHE_REGS 6
#define MAX_NUM_BLOCKS 4096
Expand Down Expand Up @@ -58,12 +58,12 @@ typedef struct {

typedef struct {
WORD PC;
WORD imm;
BYTE opcode;
BYTE reg1, reg2;
WORD imm;
HWORD start_pos;
BYTE trans_size;
int branch_offset;
BYTE trans_size;
bool save_flags;
bool busywait;
bool is_branch_target;
Expand Down

0 comments on commit 0ae3dcf

Please sign in to comment.