diff options
author | Paul Gilbert | 2006-02-19 04:02:01 +0000 |
---|---|---|
committer | Paul Gilbert | 2006-02-19 04:02:01 +0000 |
commit | 441d0a89cca4fa8f262af46082ada13e06dfa234 (patch) | |
tree | 1bd87987afcf4557ede99f8bd45093a36a03b5d7 | |
parent | f2791f346bd5917fa3b039d26271a1a325b00730 (diff) | |
download | scummvm-rg350-441d0a89cca4fa8f262af46082ada13e06dfa234.tar.gz scummvm-rg350-441d0a89cca4fa8f262af46082ada13e06dfa234.tar.bz2 scummvm-rg350-441d0a89cca4fa8f262af46082ada13e06dfa234.zip |
Changed the changed memset method to setBytes, which I like better
svn-id: r20756
-rw-r--r-- | engines/lure/memory.cpp | 2 | ||||
-rw-r--r-- | engines/lure/memory.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/memory.cpp b/engines/lure/memory.cpp index 2a24101dd3..ab540f7bad 100644 --- a/engines/lure/memory.cpp +++ b/engines/lure/memory.cpp @@ -66,7 +66,7 @@ void MemoryBlock::empty() { ::memset(_data, 0, _size); } -void MemoryBlock::memorySet(int c, size_t startIndex, size_t num) { +void MemoryBlock::setBytes(int c, size_t startIndex, size_t num) { byte *p = _data + startIndex; ::memset(p, c, num); } diff --git a/engines/lure/memory.h b/engines/lure/memory.h index c2f735ca2b..3756608d6a 100644 --- a/engines/lure/memory.h +++ b/engines/lure/memory.h @@ -42,7 +42,7 @@ public: uint32 size() { return _size; } void empty(); - void memorySet(int c, size_t startIndex, size_t num); + void setBytes(int c, size_t startIndex, size_t num); void copyFrom(MemoryBlock *src); void copyFrom(MemoryBlock *src, uint32 srcPos, uint32 destPos, uint32 srcLen); void copyFrom(const byte *src, uint32 srcPos, uint32 destPos, uint32 srcLen); |