From 5821b9c32a22d9c580ba4ba3b0c116b7650a6616 Mon Sep 17 00:00:00 2001 From: Stefan Arentz Date: Wed, 16 Nov 2016 22:54:35 -0500 Subject: [PATCH] Resolve compile error on Linux --- pia.c | 4 ++-- pia.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);