Resolve compile error on Linux

This commit is contained in:
Stefan Arentz 2016-11-16 22:54:35 -05:00
parent 3fb4b362d8
commit 5821b9c32a
2 changed files with 3 additions and 3 deletions

4
pia.c
View File

@ -51,8 +51,8 @@ void pia_init(struct pia_t *pia) {
pia->crb = 0; pia->crb = 0;
} }
void pia_trace(struct pia_t *pia, uint8_t trace) { void pia_trace(struct pia_t *pia, uint8_t enable) {
pia->trace = trace; pia->trace = enable;
} }
uint8_t pia_read(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr) { uint8_t pia_read(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr) {

2
pia.h
View File

@ -48,7 +48,7 @@ struct pia_t {
}; };
void pia_init(struct pia_t *pia); 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); 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); void pia_write(struct cpu_t *cpu, struct mem_t *mem, uint16_t addr, uint8_t b);