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:
@@ -41,6 +41,9 @@ FILE *g_recordfd = NULL;
|
||||
u64 g_frameCounter = 0, g_lagCounter = 0;
|
||||
bool g_bPolled = false;
|
||||
|
||||
int g_numRerecords = 0;
|
||||
std::string g_recordFile;
|
||||
|
||||
void FrameUpdate() {
|
||||
g_frameCounter++;
|
||||
|
||||
@@ -205,6 +208,8 @@ bool BeginRecordingInput(const char *filename, int controllers)
|
||||
|
||||
g_playMode = MODE_RECORDING;
|
||||
|
||||
g_recordFile = filename;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -313,6 +318,8 @@ bool PlayInput(const char *filename)
|
||||
|
||||
g_numPads = header.numControllers;
|
||||
g_padStates = new ControllerState[g_numPads];
|
||||
g_numRerecords = header.numRerecords;
|
||||
g_recordFile = filename;
|
||||
|
||||
g_playMode = MODE_PLAYING;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user