diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-05-19 20:17:13 -0400 |
| commit | 99c78680de41fc627ec5d2737b2639605e87ae32 (patch) | |
| tree | a3e5eb7c03f1de53dc6a0461d88527a6f1b8fd05 /src/d/d_snap.cpp | |
| parent | 6610bf1d1ca48bacda8fcbe3803a7c3b8c6cf214 (diff) | |
Fix version defines
Diffstat (limited to 'src/d/d_snap.cpp')
| -rw-r--r-- | src/d/d_snap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_snap.cpp b/src/d/d_snap.cpp index e1a0a3a9..82ac5ae8 100644 --- a/src/d/d_snap.cpp +++ b/src/d/d_snap.cpp @@ -818,7 +818,7 @@ static const CharaData l_CharaData[] = { /* radius */ 60, /* height */ 90, /* minRatio */ 500, - /* cullAngle */ VERSION_SELECT(0x2000, 0x6000, 0x6000), + /* cullAngle */ VERSION_SELECT(0x2000, 0x2000, 0x6000, 0x6000), /* minPixels */ 5000, /* figRoom */ 0x06, /* m11 */ 0x02, @@ -1889,7 +1889,7 @@ void dSnap_packet::draw() { if (!ChkReleaseShutter()) { return; } -#if VERSION != VERSION_JPN +#if VERSION > VERSION_JPN j3dSys.reinitGX(); #endif ClearAlphaBuffer(); @@ -2142,7 +2142,7 @@ void dSnap_packet::SetResult() { if (m_tbl[col].m_obj.mCapturedPixels == 0 || m_tbl[col].m_obj.GetPhoto() == 0) { continue; } - JUT_ASSERT(VERSION_SELECT(2325, 2327, 2327), 0 <= m_tbl[col].m_obj.GetPhoto() && m_tbl[col].m_obj.GetPhoto() < DSNAP_TYPE_LAST_INDEX); + JUT_ASSERT(VERSION_SELECT(2325, 2325, 2327, 2327), 0 <= m_tbl[col].m_obj.GetPhoto() && m_tbl[col].m_obj.GetPhoto() < DSNAP_TYPE_LAST_INDEX); if (m_tbl[col].m_obj.GetPhoto() < (s32)ARRAY_SIZE(sp8)) { if (sp8[m_tbl[col].m_obj.GetPhoto()] != 0) { continue; |
