mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Initialize some psmf values.
This was causing glitches when loading game A and then game B.
This commit is contained in:
parent
38a4f2112d
commit
a1713e620b
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue