Initialize some psmf values.

This was causing glitches when loading game A and then game B.
This commit is contained in:
Unknown W. Brackets committed 2013-09-22 21:19:59 -07:00
1 parent 38a4f2112d
commit a1713e620b
1 file changed
+4 -2
+4 -2
View File
@@ -54,8 +54,8 @@ int psmfPlayerVersion = PSMF_PLAYER_VERSION_FULL;
int psmfMaxAheadTimestamp = 40000;
int audioSamples = 2048;
int audioSamplesBytes = audioSamples * 4;
int videoPixelMode = TPSM_PIXEL_STORAGE_MODE_32BIT_ABGR8888;
int videoLoopStatus = PSMF_PLAYER_CONFIG_NO_LOOP;
int videoPixelMode = TPSM_PIXEL_STORAGE_MODE_32BIT_ABGR8888;
int videoLoopStatus = PSMF_PLAYER_CONFIG_NO_LOOP;
enum PsmfPlayerStatus {
PSMF_PLAYER_STATUS_NONE = 0x0,
@@ -417,6 +417,8 @@ PsmfPlayer *getPsmfPlayer(u32 psmfplayer)
void __PsmfInit()
{
videoPixelMode = TPSM_PIXEL_STORAGE_MODE_32BIT_ABGR8888;
videoLoopStatus = PSMF_PLAYER_CONFIG_NO_LOOP;
}
void __PsmfDoState(PointerWrap &p)