diff options
author | twinaphex | 2018-04-13 01:04:56 +0200 |
---|---|---|
committer | twinaphex | 2018-04-13 01:04:56 +0200 |
commit | 94cd260f105dd7d6470260e6822df997580b196f (patch) | |
tree | dfb41ba028aeddc8e59e09a457162dc0be62bd0d | |
parent | 58cfd7cb7fb7287d22f6221ce29c2549730697cb (diff) | |
download | snes9x2002-94cd260f105dd7d6470260e6822df997580b196f.tar.gz snes9x2002-94cd260f105dd7d6470260e6822df997580b196f.tar.bz2 snes9x2002-94cd260f105dd7d6470260e6822df997580b196f.zip |
Updates
-rw-r--r-- | libretro/libretro-common/include/streams/memory_stream.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libretro/libretro-common/include/streams/memory_stream.h b/libretro/libretro-common/include/streams/memory_stream.h index dca8e7a..fba8783 100644 --- a/libretro/libretro-common/include/streams/memory_stream.h +++ b/libretro/libretro-common/include/streams/memory_stream.h @@ -36,9 +36,9 @@ memstream_t *memstream_open(unsigned writing); void memstream_close(memstream_t *stream); -size_t memstream_read(memstream_t *stream, void *data, size_t bytes); +uint64_t memstream_read(memstream_t *stream, void *data, uint64_t bytes); -size_t memstream_write(memstream_t *stream, const void *data, size_t bytes); +uint64_t memstream_write(memstream_t *stream, const void *data, uint64_t bytes); int memstream_getc(memstream_t *stream); @@ -46,15 +46,15 @@ void memstream_putc(memstream_t *stream, int c); char *memstream_gets(memstream_t *stream, char *buffer, size_t len); -size_t memstream_pos(memstream_t *stream); +uint64_t memstream_pos(memstream_t *stream); void memstream_rewind(memstream_t *stream); -int memstream_seek(memstream_t *stream, int offset, int whence); +int64_t memstream_seek(memstream_t *stream, int64_t offset, int whence); -void memstream_set_buffer(uint8_t *buffer, size_t size); +void memstream_set_buffer(uint8_t *buffer, uint64_t size); -size_t memstream_get_last_size(void); +uint64_t memstream_get_last_size(void); RETRO_END_DECLS |