aboutsummaryrefslogtreecommitdiff
path: root/emulators/simh/files/patch-S3_s3__disk.c
blob: 65bd5fcd368be1cd6148cf03a0e8588b1d05ce9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- S3/s3_disk.c.orig	2016-12-01 22:43:43 UTC
+++ S3/s3_disk.c
@@ -298,7 +298,7 @@ int32 dsk (int32 disk, int32 op, int32 m
                                     addr++;
                                 }
 
-                                if ((sect == 55) ) {    /* HJS MODS */
+                                if (sect == 55) {    /* HJS MODS */
                                     S = sect;
                                     N = nsects - i - 2;
                                     if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
@@ -349,7 +349,7 @@ int32 dsk (int32 disk, int32 op, int32 m
                                     diskerr[disk] |= 0x0800;
                                     break;
                                 }   
-                                if ((sect == 55) ) {    /* HJS MODS */
+                                if (sect == 55) {    /* HJS MODS */
                                     S = sect;
                                     N = nsects - i - 2;
                                     if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
@@ -392,7 +392,7 @@ int32 dsk (int32 disk, int32 op, int32 m
                                     diskerr[disk] |= 0x0400;
                                     break;
                                 }   
-                                if ((sect == 55) ) {    /* HJS MODS */
+                                if (sect == 55) {    /* HJS MODS */
                                     S = sect;
                                     N = nsects - i - 2;
                                     if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
@@ -434,7 +434,7 @@ int32 dsk (int32 disk, int32 op, int32 m
                                     diskerr[disk] |= 0x0400;
                                     break;
                                 }   
-                                if ((sect == 55) ) {
+                                if (sect == 55) {
                                     S = sect;
                                     N = nsects - i - 2;
                                     if (N > 0) diskerr[disk] |= 0x0020;
@@ -486,7 +486,7 @@ int32 dsk (int32 disk, int32 op, int32 m
                             found[disk] = 1;
                         if (res == data)
                             break;
-                        if ((sect == 55) ) {            /* HJS MODS */
+                        if (sect == 55) {               /* HJS MODS */
                             S = sect;
                             N = nsects - i - 2;
                             if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */