mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 21:54:15 +01:00
-changed small thing about video cleanup, may fixes codedump
on switching themes
This commit is contained in:
parent
d82d0e628f
commit
081c8c316f
@ -73,11 +73,6 @@ CVideo::CVideo(void) :
|
|||||||
memset(m_frameBuf, 0, sizeof m_frameBuf);
|
memset(m_frameBuf, 0, sizeof m_frameBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
CVideo::~CVideo(void)
|
|
||||||
{
|
|
||||||
cleanup();
|
|
||||||
}
|
|
||||||
|
|
||||||
void CColor::blend(const CColor &src)
|
void CColor::blend(const CColor &src)
|
||||||
{
|
{
|
||||||
if (src.a == 0) return;
|
if (src.a == 0) return;
|
||||||
|
@ -46,7 +46,6 @@ class CVideo
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CVideo(void);
|
CVideo(void);
|
||||||
~CVideo(void);
|
|
||||||
void init(void);
|
void init(void);
|
||||||
void prepare(void);
|
void prepare(void);
|
||||||
void setAA(u8 aa, bool alpha = false, int width = 0, int height = 0);
|
void setAA(u8 aa, bool alpha = false, int width = 0, int height = 0);
|
||||||
|
@ -473,6 +473,7 @@ void CMenu::cleanup(bool ios_reload)
|
|||||||
MusicPlayer::DestroyInstance();
|
MusicPlayer::DestroyInstance();
|
||||||
SoundHandler::DestroyInstance();
|
SoundHandler::DestroyInstance();
|
||||||
soundDeinit();
|
soundDeinit();
|
||||||
|
m_vid.cleanup();
|
||||||
if (!ios_reload)
|
if (!ios_reload)
|
||||||
{
|
{
|
||||||
LWP_MutexDestroy(m_mutex);
|
LWP_MutexDestroy(m_mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user