mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :( Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -96,6 +96,10 @@ EXPORT void CALL DSP_Update(int cycles);
|
||||
//
|
||||
EXPORT void CALL DSP_SendAIBuffer(unsigned int address, int sample_rate);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: DSP_StopSoundStream
|
||||
// Purpose: Stops audio playback. Must be called before Shutdown().
|
||||
EXPORT void CALL DSP_StopSoundStream();
|
||||
|
||||
#include "ExportEpilog.h"
|
||||
#endif
|
||||
|
@ -90,16 +90,17 @@ typedef struct
|
||||
EXPORT void CALL Video_Prepare(void);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_ExecuteFifoBuffer
|
||||
// Purpose: This function is called if data is inside the fifo-buffer
|
||||
// input: a data-byte (i know we have to optimize this ;-))
|
||||
// Function: Video_SendFifoData
|
||||
// Purpose: This function is called to submit fifo data directly - only single core mode calls this.
|
||||
// input: u8 *_uData, u32 len - a block of fifo data.
|
||||
// output: none
|
||||
//
|
||||
EXPORT void CALL Video_SendFifoData(u8* _uData, u32 len);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_UpdateXFB
|
||||
// Purpose: This fucntion is called when you have to flip the yuv2
|
||||
// TODO: This DOC IS BROKEN!
|
||||
// Purpose: This function is called when you have to flip the yuv2
|
||||
// video-buffer. You should ignore this function after you
|
||||
// got the first EFB to XFB copy.
|
||||
// input: pointer to the XFB, width and height of the XFB
|
||||
@ -109,7 +110,6 @@ EXPORT void CALL Video_UpdateXFB(u8* _pXFB, u32 _dwWidth, u32 _dwHeight, s32 _dw
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_Screenshot
|
||||
// Purpose: This fucntion is called when you want to do a screenshot
|
||||
// input: Filename
|
||||
// output: TRUE if all was okay
|
||||
//
|
||||
@ -117,12 +117,20 @@ EXPORT unsigned int CALL Video_Screenshot(TCHAR* _szFilename);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_EnterLoop
|
||||
// Purpose: FIXME!
|
||||
// Purpose: Enters the video fifo dispatch loop. This is only used in Dual Core mode.
|
||||
// input: none
|
||||
// output: none
|
||||
//
|
||||
EXPORT void CALL Video_EnterLoop(void);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_ExitLoop
|
||||
// Purpose: Exits the video dispatch loop. This is only used in Dual Core mode.
|
||||
// input: none
|
||||
// output: none
|
||||
//
|
||||
EXPORT void CALL Video_ExitLoop(void);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_AddMessage
|
||||
// Purpose: Adds a message to the display queue, to be shown forthe specified time
|
||||
@ -131,13 +139,5 @@ EXPORT void CALL Video_EnterLoop(void);
|
||||
//
|
||||
EXPORT void CALL Video_AddMessage(const char* pstr, unsigned int milliseconds);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_Stop
|
||||
// Purpose: Stop the video plugin before shutdown
|
||||
// input/output:
|
||||
// input:
|
||||
//
|
||||
EXPORT void CALL Video_Stop();
|
||||
|
||||
#include "ExportEpilog.h"
|
||||
#endif
|
||||
|
@ -24,7 +24,6 @@ typedef struct
|
||||
TWiimoteInput pWiimoteInput;
|
||||
} SWiimoteInitialize;
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// I N T E R F A C E ////////////////////////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user