mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Warning fix (though no actual semantic change)
This commit is contained in:
@@ -25,7 +25,7 @@ struct PSPThreadContext;
|
||||
|
||||
class KernelThreadDebugInterface : public DebugInterface {
|
||||
public:
|
||||
KernelThreadDebugInterface(PSPThreadContext &t) : ctx(t) {}
|
||||
KernelThreadDebugInterface(PSPThreadContext *t) : ctx(*t) {}
|
||||
|
||||
u32 GetGPR32Value(int reg) const override { return ctx.r[reg]; }
|
||||
u32 GetHi() const override { return ctx.hi; }
|
||||
|
||||
@@ -209,7 +209,7 @@ const char *ThreadStatusToString(ThreadStatus status);
|
||||
|
||||
class PSPThread : public KernelObject {
|
||||
public:
|
||||
PSPThread() : debug(context) {}
|
||||
PSPThread() : debug(&context) {}
|
||||
const char *GetName() override { return nt.name; }
|
||||
const char *GetTypeName() override { return GetStaticTypeName(); }
|
||||
static const char *GetStaticTypeName() { return "Thread"; }
|
||||
|
||||
Reference in New Issue
Block a user