mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
-small change of r271 failed, sorry about that
This commit is contained in:
parent
b4816f2b27
commit
e374ed8c99
@ -66,6 +66,11 @@ const int CVideo::_stencilHeight = 128;
|
||||
static lwp_t waitThread = LWP_THREAD_NULL;
|
||||
SmartBuf waitThreadStack;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
extern __typeof(memalign) __real_memalign;
|
||||
}
|
||||
|
||||
CVideo::CVideo(void) :
|
||||
m_rmode(NULL), m_frameBuf(), m_curFB(0), m_fifo(NULL),
|
||||
m_yScale(0.0f), m_xfbHeight(0), m_wide(false),
|
||||
@ -147,7 +152,7 @@ void CVideo::init(void)
|
||||
VIDEO_WaitVSync();
|
||||
if (m_rmode->viTVMode & VI_NON_INTERLACE)
|
||||
VIDEO_WaitVSync();
|
||||
m_fifo = MEM1_alloc(DEFAULT_FIFO_SIZE);
|
||||
m_fifo = __real_memalign(32, DEFAULT_FIFO_SIZE);
|
||||
memset(m_fifo, 0, DEFAULT_FIFO_SIZE);
|
||||
GX_Init(m_fifo, DEFAULT_FIFO_SIZE);
|
||||
GX_SetCopyClear(CColor(0), 0x00FFFFFF);
|
||||
|
Loading…
Reference in New Issue
Block a user