mirror of
https://github.com/st3fan/ewm.git
synced 2024-06-01 12:41:27 +00:00
Fix for GCC compilation issue
This commit is contained in:
parent
8800bf2b9f
commit
9a94156a5b
|
@ -53,7 +53,8 @@ uint8_t _cpu_pull_byte(struct cpu_t *cpu) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t _cpu_pull_word(struct cpu_t *cpu) {
|
uint16_t _cpu_pull_word(struct cpu_t *cpu) {
|
||||||
return (uint16_t) cpu->page1[++cpu->state.sp] | ((uint16_t) cpu->page1[++cpu->state.sp] << 8);
|
uint16_t w = (uint16_t) cpu->page1[++cpu->state.sp];
|
||||||
|
return w | ((uint16_t) cpu->page1[++cpu->state.sp] << 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t _cpu_stack_free(struct cpu_t *cpu) {
|
uint8_t _cpu_stack_free(struct cpu_t *cpu) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user