aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.h')
-rw-r--r--src/NDS.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/NDS.h b/src/NDS.h
index d3a753a..e178c4a 100644
--- a/src/NDS.h
+++ b/src/NDS.h
@@ -328,7 +328,7 @@ public:
Firmware& GetFirmware() { return SPI.GetFirmwareMem()->GetFirmware(); }
void SetFirmware(Firmware&& firmware) { SPI.GetFirmwareMem()->SetFirmware(std::move(firmware)); }
- virtual bool NeedsDirectBoot();
+ virtual bool NeedsDirectBoot() const;
void SetupDirectBoot(const std::string& romname);
virtual void SetupDirectBoot();
@@ -364,10 +364,10 @@ public:
void SetKeyMask(u32 mask);
- bool IsLidClosed();
+ bool IsLidClosed() const;
void SetLidClosed(bool closed);
- virtual void CamInputFrame(int cam, u32* data, int width, int height, bool rgb) {}
+ virtual void CamInputFrame(int cam, const u32* data, int width, int height, bool rgb) {}
void MicInputFrame(s16* data, int samples);
void RegisterEventFunc(u32 id, u32 funcid, EventFunc func);
@@ -386,20 +386,20 @@ public:
void ClearIRQ(u32 cpu, u32 irq);
void SetIRQ2(u32 irq);
void ClearIRQ2(u32 irq);
- bool HaltInterrupted(u32 cpu);
+ bool HaltInterrupted(u32 cpu) const;
void StopCPU(u32 cpu, u32 mask);
void ResumeCPU(u32 cpu, u32 mask);
void GXFIFOStall();
void GXFIFOUnstall();
- u32 GetPC(u32 cpu);
+ u32 GetPC(u32 cpu) const;
u64 GetSysClockCycles(int num);
void NocashPrint(u32 cpu, u32 addr);
void MonitorARM9Jump(u32 addr);
- virtual bool DMAsInMode(u32 cpu, u32 mode);
- virtual bool DMAsRunning(u32 cpu);
+ virtual bool DMAsInMode(u32 cpu, u32 mode) const;
+ virtual bool DMAsRunning(u32 cpu) const;
virtual void CheckDMAs(u32 cpu, u32 mode);
virtual void StopDMAs(u32 cpu, u32 mode);