add intro tune, part 2
This commit is contained in:
parent
2f8a69646e
commit
658428d68d
9 changed files with 38179 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ struct EndOfFileException {
|
|||
};
|
||||
|
||||
class SafeReader {
|
||||
unsigned char* buf;
|
||||
const unsigned char* buf;
|
||||
size_t len;
|
||||
|
||||
size_t curSeek;
|
||||
|
|
@ -71,8 +71,8 @@ class SafeReader {
|
|||
String readStringToken();
|
||||
inline bool isEOF() { return curSeek >= len; };
|
||||
|
||||
SafeReader(void* b, size_t l):
|
||||
buf((unsigned char*)b),
|
||||
SafeReader(const void* b, size_t l):
|
||||
buf((const unsigned char*)b),
|
||||
len(l),
|
||||
curSeek(0) {}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue