mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 17:29:39 +00:00
LASTEXPRESS: Fix read size parameter.
This commit is contained in:
parent
3ad89a0d18
commit
31e5b96fae
@ -158,7 +158,7 @@ void SaveLoad::loadStream(GameId id) {
|
||||
while (!save->eos() && !save->err()) {
|
||||
_engine->pollEvents();
|
||||
|
||||
uint32 count = save->read(buf, sizeof(*buf));
|
||||
uint32 count = save->read(buf, 8192);
|
||||
if (count) {
|
||||
uint32 w = _savegame->write(buf, count);
|
||||
assert (w == count);
|
||||
|
Loading…
Reference in New Issue
Block a user