diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 12:15:37 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 12:15:37 +0200 |
| commit | 0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5 (patch) | |
| tree | a0a64424190588e5f734c257dd312e1f89fcd1eb /src/core/io_cube.h | |
| parent | 80b065f757240af7920862b3e09f32a6dc06d392 (diff) | |
| download | nissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.tar.gz nissy-core-0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5.zip | |
Revert table-based transformations
Long live the giant switch!
Diffstat (limited to 'src/core/io_cube.h')
| -rw-r--r-- | src/core/io_cube.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/io_cube.h b/src/core/io_cube.h index 58b332c..9ae82d7 100644 --- a/src/core/io_cube.h +++ b/src/core/io_cube.h | |||
| @@ -143,7 +143,7 @@ readcube_B32(const char *buf) | |||
| 143 | "Error reading B32 edge %d (char %d)\n", i, i+9); | 143 | "Error reading B32 edge %d (char %d)\n", i, i+9); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | return cubefromarray_ce(c, e); | 146 | return cubefromarray(c, e); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | STATIC cube_t | 149 | STATIC cube_t |
| @@ -178,7 +178,7 @@ readcube_H48(const char *buf) | |||
| 178 | c[i] = piece | orient; | 178 | c[i] = piece | orient; |
| 179 | } | 179 | } |
| 180 | 180 | ||
| 181 | return cubefromarray_ce(c, e); | 181 | return cubefromarray(c, e); |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | STATIC uint8_t | 184 | STATIC uint8_t |
| @@ -210,7 +210,7 @@ readcube_LST(const char *buf) | |||
| 210 | for (i = 0; i < 12; i++) | 210 | for (i = 0; i < 12; i++) |
| 211 | e[i] = readpiece_LST(&buf); | 211 | e[i] = readpiece_LST(&buf); |
| 212 | 212 | ||
| 213 | return cubefromarray_ce(c, e); | 213 | return cubefromarray(c, e); |
| 214 | } | 214 | } |
| 215 | 215 | ||
| 216 | STATIC int | 216 | STATIC int |
