mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-24 21:01:06 +00:00
8 lines
186 B
C
8 lines
186 B
C
#include "pspmath.h"
|
|
|
|
void vfpu_quaternion_copy(ScePspQuatMatrix *dst, ScePspQuatMatrix *src) {
|
|
__asm__ volatile (
|
|
"lv.q C000, %1\n"
|
|
"sv.q C000, %0\n"
|
|
:"+m"(*dst) : "m"(*src));
|
|
}
|