mirror of https://github.com/akuker/RASCSI.git
Make GetRawMode const
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
This commit is contained in:
parent
55769d557d
commit
2b1f7cb02a
|
@ -112,7 +112,7 @@ protected:
|
|||
|
||||
void SetUpCache(off_t, bool = false);
|
||||
void ResizeCache(const string&, bool);
|
||||
bool GetRawMode() { return (cache?cache->GetRawMode():false); }
|
||||
bool GetRawMode() const { return (cache?cache->GetRawMode():false); }
|
||||
void SetUpModePages(map<int, vector<byte>>&, int, bool) const override;
|
||||
void AddErrorPage(map<int, vector<byte>>&, bool) const;
|
||||
virtual void AddFormatPage(map<int, vector<byte>>&, bool) const;
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
~DiskCache() = default;
|
||||
|
||||
void SetRawMode(bool b) { cd_raw = b; } // CD-ROM raw mode setting
|
||||
bool GetRawMode() { return cd_raw; }
|
||||
bool GetRawMode() const { return cd_raw; }
|
||||
|
||||
bool Save(); // Save and release all
|
||||
bool ReadSector(span<uint8_t>, uint32_t); // Sector Read
|
||||
|
|
Loading…
Reference in New Issue