]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/get_tv.s
Use get_tv.inc
[cc65] / libsrc / plus4 / get_tv.s
index 712d8dfd16833c31709995cd7cf0e7e643886de4..84f09b12cf6247e0b93b2bd0d8d54daf419f22ab 100644 (file)
@@ -5,9 +5,8 @@
 ; /* Return the video mode the machine is using */
 ;
 
-        .export         _get_tv
-
         .include        "plus4.inc"
+       .include        "get_tv.inc"
 
 
 ;--------------------------------------------------------------------------
@@ -15,7 +14,7 @@
 
 .proc   _get_tv
 
-        ldx     #$01            ; Assume PAL
+        ldx     #TV::PAL       ; Assume PAL
         bit     TED_MULTI1      ; Test bit 6
         bvc     pal
         dex                     ; NTSC