fix not OK

This commit is contained in:
SwareJonge 2023-08-24 18:59:43 +02:00
parent 9b7d3f8db2
commit aae7a5f030
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#ifndef _DOLPHIN_OS_H
#define _DOLPHIN_OS_H
#include <dolphin/types.h>
#include "types.h"
#ifdef __cplusplus
extern "C"

View File

@ -31,7 +31,7 @@ bool JUTPalette::load()
{
bool check = mNumColors != 0;
if (check) {
GXLoadTlut(&mTlutObj, mTlutName);
GXLoadTlut(&mTlutObj, (GXTlut)mTlutName);
}
return check;

View File

@ -194,7 +194,7 @@ void JUTVideo::postRetraceProc(u32 p1)
void JUTVideo::setRenderMode(const GXRenderModeObj *newRenderModeObj)
{
if (mRenderModeObj && newRenderModeObj->tvMode != mRenderModeObj->tvMode)
if (mRenderModeObj && newRenderModeObj->viTVmode != mRenderModeObj->viTVmode)
{
mIsSetBlack = true;
mSetBlackFrameCount = 4;