Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/Core/HLE/PSPThreadContext.h
3186 views
1
#pragma once
2
3
// Had to break this out into its own header to solve a circular include issue.
4
5
#include "Common/CommonTypes.h"
6
7
struct PSPThreadContext {
8
void reset();
9
10
// r must be followed by f.
11
u32 r[32];
12
union {
13
float f[32];
14
u32 fi[32];
15
int fs[32];
16
};
17
union {
18
float v[128];
19
u32 vi[128];
20
};
21
u32 vfpuCtrl[16];
22
23
union {
24
struct {
25
u32 pc;
26
27
u32 lo;
28
u32 hi;
29
30
u32 fcr31;
31
u32 fpcond;
32
};
33
u32 other[6];
34
};
35
};
36
37