mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
Few changes and comment
This commit is contained in:
parent
4d57af9ed2
commit
feb241439e
@ -113,7 +113,8 @@ inline bool IsNotPalInterpolate() { return !IsPalInterpolate(); }
|
|||||||
inline bool IsPalTemporal() { return (IsPal() && s_rescInternalInstance->m_initConfig.palTemporalMode != CELL_RESC_PAL_50); }
|
inline bool IsPalTemporal() { return (IsPal() && s_rescInternalInstance->m_initConfig.palTemporalMode != CELL_RESC_PAL_50); }
|
||||||
inline bool IsNotPalTemporal() { return !IsPalTemporal(); }
|
inline bool IsNotPalTemporal() { return !IsPalTemporal(); }
|
||||||
inline bool IsNotPal() { return !IsPal(); }
|
inline bool IsNotPal() { return !IsPal(); }
|
||||||
inline bool IsGcmFlip() { return (IsNotPal() || (IsPal() && (s_rescInternalInstance->m_initConfig.palTemporalMode == CELL_RESC_PAL_50 || s_rescInternalInstance->m_initConfig.palTemporalMode == CELL_RESC_PAL_60_FOR_HSYNC)));}
|
inline bool IsGcmFlip() { return (IsNotPal() || (IsPal() && (s_rescInternalInstance->m_initConfig.palTemporalMode == CELL_RESC_PAL_50
|
||||||
|
|| s_rescInternalInstance->m_initConfig.palTemporalMode == CELL_RESC_PAL_60_FOR_HSYNC)));}
|
||||||
inline int GetNumColorBuffers(){ return IsPalInterpolate() ? 6 : (IsPalDrop() ? 3 : 2); }
|
inline int GetNumColorBuffers(){ return IsPalInterpolate() ? 6 : (IsPalDrop() ? 3 : 2); }
|
||||||
inline bool IsInterlace() { return s_rescInternalInstance->m_initConfig.interlaceMode == CELL_RESC_INTERLACE_FILTER; }
|
inline bool IsInterlace() { return s_rescInternalInstance->m_initConfig.interlaceMode == CELL_RESC_INTERLACE_FILTER; }
|
||||||
inline bool IsTextureNR() { return !IsInterlace(); }
|
inline bool IsTextureNR() { return !IsInterlace(); }
|
||||||
@ -663,20 +664,21 @@ void cellRescExit()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsPalTemporal()){
|
if (IsPalTemporal())
|
||||||
|
{
|
||||||
cellGcmSetSecondVFrequency(CELL_GCM_DISPLAY_FREQUENCY_DISABLE);
|
cellGcmSetSecondVFrequency(CELL_GCM_DISPLAY_FREQUENCY_DISABLE);
|
||||||
cellGcmSetVBlankHandler(NULL);
|
cellGcmSetVBlankHandler(NULL);
|
||||||
//GcmSysTypePrefix::cellGcmSetSecondVHandler(NULL);
|
//GcmSysTypePrefix::cellGcmSetSecondVHandler(NULL);
|
||||||
|
|
||||||
/*
|
if (IsPalInterpolate())
|
||||||
if (IsPalInterpolate()){
|
{
|
||||||
int ret = ExitSystemResource();
|
// TODO: ExitSystemResource()
|
||||||
if (ret != CELL_OK)
|
//int ret = ExitSystemResource();
|
||||||
{
|
//if (ret != CELL_OK)
|
||||||
cellResc->Error("failed to clean up system resources.. continue. 0x%x\n", ret);
|
//{
|
||||||
}
|
// cellResc->Error("failed to clean up system resources.. continue. 0x%x\n", ret);
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s_rescInternalInstance->m_bInitialized = false;
|
s_rescInternalInstance->m_bInitialized = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user