Skip to content

Commit e69474d

Browse files
committed
thecl: Fix th15 ECL creation
This fixes issue #2.
1 parent 141dea9 commit e69474d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

expr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ expr_get_table(unsigned int version)
108108
&& version != 128
109109
&& version != 13
110110
&& version != 14
111-
&& version != 143)
111+
&& version != 143
112+
&& version != 15)
112113
return NULL;
113114
return th10_expressions;
114115
}

thecl10.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,8 @@ th10_instr_serialize(
15961596
if (param->stack && (
15971597
version == 13 ||
15981598
version == 14 ||
1599-
version == 143
1599+
version == 143 ||
1600+
version == 15
16001601
)
16011602
) {
16021603
if (param->type == 'f' && param->value.val.f == -(ret->zero + 1.0f)) {

0 commit comments

Comments
 (0)