]> git.sur5r.net Git - cc65/blobdiff - libsrc/tgi/tgi_getxres.s
Working
[cc65] / libsrc / tgi / tgi_getxres.s
index 0bb58fe430f5c594f9f58bea5dc8ffcb28ef1987..2a85205c8cc20fcc5c2d52cfefe9b0e81c3ce8ee 100644 (file)
@@ -7,13 +7,11 @@
 
         .include        "tgi-kernel.inc"
         .export         _tgi_getxres
-        .import         ldaxidx
 
 
 _tgi_getxres:
-        lda     _tgi_drv
-        ldx     _tgi_drv+1
-        ldy     #TGI_HDR_XRES+1
-        jmp     ldaxidx
+        lda     _tgi_xres
+        ldx     _tgi_xres+1
+        rts