]> Joshua Wise's Git repositories - netwatch.git/blobdiff - net/net.c
Merge branch 'master' of git+ssh://jacob@git.joshuawise.com/storage/git/netwatch
[netwatch.git] / net / net.c
index e1c74446162042bd5aa788f6782e43b4ba6ac045..46ea9cd75bb9d1ab345eccaebbede9bd20028064 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -83,6 +83,13 @@ void eth_poll()
        
 //     if ((c++) % 2)
 //             return;
+
+       if (((base + 80*25*2)%0x8000) < base)
+       {
+               if ((pos > ((base + 80*25*2)%0x8000)) && (pos < base))
+                       pos = base;
+       } else if ((pos > base + 80*25*2) || (pos < base))
+               pos = base;
        
        test[0] = pos >> 8;
        test[1] = pos & 0xFF;
This page took 0.026483 seconds and 4 git commands to generate.