mirror of
https://github.com/cc65/cc65.git
synced 2025-01-17 20:30:36 +00:00
Merge pull request #48 from efornara/time_fix
fixed timep handling in time()
This commit is contained in:
commit
b727c075e9
@ -27,10 +27,10 @@
|
||||
; Restore timep and check if it is NULL
|
||||
|
||||
pla
|
||||
sta ptr1
|
||||
sta ptr1+1
|
||||
pla
|
||||
sta ptr1+1 ; Restore timep
|
||||
ora ptr1 ; timep == 0?
|
||||
sta ptr1 ; Restore timep
|
||||
ora ptr1+1 ; timep == 0?
|
||||
beq @L1
|
||||
|
||||
; timep is not NULL, store the result there
|
||||
|
Loading…
x
Reference in New Issue
Block a user