Skip to content

Commit 4d6566d

Browse files
committed
Fix error in pcall macro definition
1 parent 1dd3f7b commit 4d6566d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ int main(int argc, char **argv) {
194194
if (context.c_headers) {
195195
printf("#ifndef __JUMPTABLE_H\n#define __JUMPTABLE_H\n\n");
196196
printf("#define PCALL(ADDRESS) \\\n"
197-
"\t.if ADDRESS & 0xFF \\\n"
198-
"\t\trst 0x20 \\\n"
199-
"\t\t.dw ADDRESS \\\n"
200-
"\t.else \\\n"
201-
"\t\tcall 0x4000 - (((ADDRESS >> 8) + 1) * 3) \\\n"
197+
"\t.if ADDRESS & 0xFF \\ \\\n"
198+
"\t\trst 0x20 \\ \\\n"
199+
"\t\t.dw ADDRESS \\ \\\n"
200+
"\t.else \\ \\\n"
201+
"\t\tcall 0x4000 - (((ADDRESS >> 8) + 1) * 3) \\ \\\n"
202202
"\t.endif\n\n");
203203
}
204204

0 commit comments

Comments
 (0)