fixed gcc build errors
This commit is contained in:
parent
f2baa96968
commit
cabc0ae639
3 changed files with 7 additions and 6 deletions
|
@ -37,7 +37,7 @@ struct Opcode
|
|||
const char str[4];
|
||||
};
|
||||
|
||||
const struct Opcode OPCODE_TABLE[256];
|
||||
extern const struct Opcode OPCODE_TABLE[256];
|
||||
|
||||
|
||||
struct CPU
|
||||
|
@ -74,7 +74,7 @@ struct CPU
|
|||
} pc;
|
||||
|
||||
char remainingCycles;
|
||||
size_t totalCycles;
|
||||
Qword totalCycles;
|
||||
|
||||
Byte fetchedVal;
|
||||
Word fetchedAddress;
|
||||
|
@ -100,4 +100,4 @@ void execute(struct CPU* cpu);
|
|||
void IRQ(struct CPU* cpu);
|
||||
void NMI(struct CPU* cpu);
|
||||
|
||||
#endif // _CPU_H_
|
||||
#endif // _CPU_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue