mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@386 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
95eb8f9ef3
commit
4608333a56
11 changed files with 159 additions and 42 deletions
|
@ -33,16 +33,15 @@ static int size = 0;
|
|||
static int readptr = 0;
|
||||
|
||||
void Fifo_DoState(PointerWrap &p) {
|
||||
p.Do(size);
|
||||
p.DoArray(videoBuffer, size);
|
||||
|
||||
p.Do(size);
|
||||
p.Do(readptr);
|
||||
}
|
||||
|
||||
void Fifo_Init()
|
||||
{
|
||||
videoBuffer = (u8*)AllocateMemoryPages(FIFO_SIZE);
|
||||
fifo.Init(videoBuffer, videoBuffer); //zero length. there is no data yet.
|
||||
fifo.Init(videoBuffer, videoBuffer); //zero length. there is no data yet.
|
||||
}
|
||||
|
||||
void Fifo_Shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue