| 1259 | } |
| 1260 | |
| 1261 | static void HackSwapIt(char* buf, S32 size) |
| 1262 | { |
| 1263 | // non-matching: r3 and r4 swapped |
| 1264 | char* end = size + buf; |
| 1265 | end--; |
| 1266 | |
| 1267 | for (S32 i = 0; i < size / 2; i++) |
| 1268 | { |
| 1269 | char tmp = *buf; |
| 1270 | *buf = *end; |
| 1271 | *end = tmp; |
| 1272 | |
| 1273 | buf++; |
| 1274 | end--; |
| 1275 | } |
| 1276 | } |
| 1277 | |
| 1278 | void zSceneSwitch(_zPortal* p, S32 forceSameScene) |
| 1279 | { |