Correctly set cpu65_vmem_X function table sizes :P

This commit is contained in:
Aaron Culliney 2019-10-31 17:37:26 -07:00
parent 1e986d73ef
commit e224912f8b
2 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@ static pthread_mutex_t irq_mutex = PTHREAD_MUTEX_INITIALIZER;
uint8_t cpu65_flags_encode[256] = { 0 };
uint8_t cpu65_flags_decode[256] = { 0 };
void *cpu65_vmem_r[sizeof(void*) * 256] = { 0 };
void *cpu65_vmem_w[sizeof(void*) * 256] = { 0 };
void *cpu65_vmem_r[256] = { 0 };
void *cpu65_vmem_w[256] = { 0 };
#if CPU_TRACING
static int8_t opargs[3] = { 0 };

View File

@ -47,8 +47,8 @@ extern bool cpu65_loadState(StateHelper_s *helper);
extern void cpu65_direct_write(int ea,int data);
extern void *cpu65_vmem_r[sizeof(void*) * 256];
extern void *cpu65_vmem_w[sizeof(void*) * 256];
extern void *cpu65_vmem_r[256];
extern void *cpu65_vmem_w[256];
extern uint8_t cpu65_flags_encode[256];
extern uint8_t cpu65_flags_decode[256];