mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-09 15:09:50 +03:00
Glitter: Small overhaul
This commit is contained in:
@@ -1038,12 +1038,12 @@ namespace Glitter {
|
||||
if (big_endian) {
|
||||
eff->data.emission = load_reverse_endianness_float_t((void*)d);
|
||||
eff->data.seed = load_reverse_endianness_int32_t((void*)(d + 4));
|
||||
eff->data.unk = load_reverse_endianness_float_t((void*)(d + 8));
|
||||
eff->data.ext_anim_scale_start_time = load_reverse_endianness_float_t((void*)(d + 8));
|
||||
}
|
||||
else {
|
||||
eff->data.emission = *(float_t*)d;
|
||||
eff->data.seed = *(int32_t*)(d + 4);
|
||||
eff->data.unk = *(float_t*)(d + 8);
|
||||
eff->data.ext_anim_scale_start_time = *(float_t*)(d + 8);
|
||||
}
|
||||
d += 12;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user