diff options
Diffstat (limited to 'engines/sword25/kernel/inputpersistenceblock.h')
-rw-r--r-- | engines/sword25/kernel/inputpersistenceblock.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/sword25/kernel/inputpersistenceblock.h b/engines/sword25/kernel/inputpersistenceblock.h index 3e39a69918..a6978e5899 100644 --- a/engines/sword25/kernel/inputpersistenceblock.h +++ b/engines/sword25/kernel/inputpersistenceblock.h @@ -60,15 +60,15 @@ public: InputPersistenceBlock(const void *Data, uint DataLength); virtual ~InputPersistenceBlock(); - void Read(int16 &Value); - void Read(signed int &Value); - void Read(uint &Value); - void Read(float &Value); - void Read(bool &Value); - void Read(Common::String &Value); - void Read(Common::Array<byte> &Value); - - bool IsGood() const { + void read(int16 &Value); + void read(signed int &Value); + void read(uint &Value); + void read(float &Value); + void read(bool &Value); + void read(Common::String &Value); + void read(Common::Array<byte> &Value); + + bool isGood() const { return m_ErrorState == NONE; } ErrorState GetErrorState() const { |