]> Shamusworld >> Repos - rmac/blobdiff - amode.c
Tentative fix for bug #55. Thanks to ggn for reporting!
[rmac] / amode.c
diff --git a/amode.c b/amode.c
index 915499c9a1cda5f6a699881dd3c49cd4609eb8f8..b09b2da57cb63fc4b6880e4e320c9f0d9811d1c6 100644 (file)
--- a/amode.c
+++ b/amode.c
@@ -3,7 +3,7 @@
 // AMODE.C - Addressing Modes
 // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
-// Source Utilised with the Kind Permission of Landon Dyer
+// Source utilised with the kind permission of Landon Dyer
 //
 
 #include "amode.h"
@@ -75,6 +75,7 @@ int amode(int acount)
        #define AnESYM    a0esym
        #define AMn_IX0   am0_ix0
        #define AMn_IXN   am0_ixn
+       #define CHK_FOR_DISPn CheckForDisp0
        #include "parmode.h"
 
        // If caller wants only one mode, return just one (ignore comma); 
@@ -102,6 +103,7 @@ int amode(int acount)
        #define AnESYM    a1esym
        #define AMn_IX0   am1_ix0
        #define AMn_IXN   am1_ixn
+       #define CHK_FOR_DISPn CheckForDisp1
        #include "parmode.h"
 
        nmodes = 2;