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:
XTra.KrazzY
2009-11-07 20:01:39 +00:00
parent ebaad032eb
commit a0129e51a3
18 changed files with 255 additions and 185 deletions

View File

@@ -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;
}