mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Few changes and comment
This commit is contained in:
parent
4d57af9ed2
commit
feb241439e
1 changed files with 12 additions and 10 deletions
|
@ -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,21 +664,22 @@ 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();
|
|
||||||
if (ret != CELL_OK)
|
|
||||||
{
|
{
|
||||||
cellResc->Error("failed to clean up system resources.. continue. 0x%x\n", ret);
|
// TODO: ExitSystemResource()
|
||||||
|
//int ret = ExitSystemResource();
|
||||||
|
//if (ret != CELL_OK)
|
||||||
|
//{
|
||||||
|
// cellResc->Error("failed to clean up system resources.. continue. 0x%x\n", ret);
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
s_rescInternalInstance->m_bInitialized = false;
|
s_rescInternalInstance->m_bInitialized = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue