diff --git a/pia.c b/pia.c index 9acacfb..5924db1 100644 --- a/pia.c +++ b/pia.c @@ -51,8 +51,8 @@ void pia_init(struct pia_t *pia) { pia->crb = 0; } -void pia_trace(struct pia_t *pia, uint8_t trace) { - pia->trace = trace; +void pia_trace(struct pia_t *pia, uint8_t enable) { + pia->trace = enable; } uint8_t pia_read(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr) { diff --git a/pia.h b/pia.h index 5cdf6d6..1c718be 100644 --- a/pia.h +++ b/pia.h @@ -48,7 +48,7 @@ struct pia_t { }; void pia_init(struct pia_t *pia); -void pia_trace(struct pia_t *pia, uint8_t trace); +void pia_trace(struct pia_t *pia, uint8_t enable); uint8_t pia_read(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr); void pia_write(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr, uint8_t b);