Warning fix (though no actual semantic change)

This commit is contained in:
Henrik Rydgård
2025-04-02 09:05:51 +02:00
parent 127356d7b2
commit f10599bbdb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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; }
+1 -1
View File
@@ -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"; }