mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
DONE does no longer set an error code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2570 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3531023e22
commit
d5dc5a7552
@ -12,11 +12,8 @@
|
||||
lda _tgi_gmode ; Is a graphics mode active?
|
||||
beq @L1 ; Jump if not
|
||||
jsr tgi_done ; Call the driver routine
|
||||
jsr tgi_geterror ; Get the error code
|
||||
sta _tgi_error ; Save it for reference
|
||||
cmp #TGI_ERR_OK
|
||||
bne @L1 ; Jump if we had an error
|
||||
sta _tgi_gmode ; Reset the graph mode flag (A = 0)
|
||||
lda #$00
|
||||
sta _tgi_gmode ; Reset the graph mode flag
|
||||
@L1: rts
|
||||
|
||||
.endproc
|
||||
|
Loading…
Reference in New Issue
Block a user