mirror of
https://github.com/libretro/nestopia.git
synced 2024-11-23 08:29:47 +00:00
NstStream: Add Peek64
This commit is contained in:
parent
b99ede358b
commit
9fb188e403
@ -273,6 +273,13 @@ namespace Nes
|
||||
return data;
|
||||
}
|
||||
|
||||
qaword In::Peek64()
|
||||
{
|
||||
const qaword data = Read64();
|
||||
Seek( -8 );
|
||||
return data;
|
||||
}
|
||||
|
||||
void In::Peek(byte* data,dword length)
|
||||
{
|
||||
Read( data, length );
|
||||
|
@ -73,6 +73,7 @@ namespace Nes
|
||||
uint Peek8();
|
||||
uint Peek16();
|
||||
dword Peek32();
|
||||
qaword Peek64();
|
||||
void Seek(idword);
|
||||
ulong Length();
|
||||
bool Eof();
|
||||
|
Loading…
Reference in New Issue
Block a user