mirror of
https://github.com/st3fan/ewm.git
synced 2024-12-28 15:29:45 +00:00
Resolve compile error on Linux
This commit is contained in:
parent
3fb4b362d8
commit
5821b9c32a
4
pia.c
4
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) {
|
||||
|
2
pia.h
2
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user