forked from dolphin-emu/dolphin
LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4507 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "minilzo.h"
|
||||
|
||||
// TODO: Move to namespace
|
||||
|
||||
// TODO: Investigate a memory leak on save/load state
|
||||
|
||||
@@ -453,3 +454,12 @@ void State_UndoSaveState()
|
||||
{
|
||||
State_LoadAs(FULL_STATESAVES_DIR "lastState.sav");
|
||||
}
|
||||
|
||||
size_t State_GetSize()
|
||||
{
|
||||
// Measure the size of the buffer.
|
||||
u8 *ptr = 0;
|
||||
PointerWrap p(&ptr, PointerWrap::MODE_MEASURE);
|
||||
DoState(p);
|
||||
return (size_t)ptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user