Skip to content

Commit 46109a2

Browse files
committed
Merge branch 'main' into Breakpoints-improvements
2 parents 1ce423e + b0721ec commit 46109a2

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/mips/psyqo/gpu.hh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,13 @@ class GPU {
123123
* @details This returns the internal frame counter being kept by the
124124
* GPU class. The 32 bits value will wrap around when it reaches 2^32
125125
* frames, which is 2 years, 3 months, 7 days, 6 hours, 6 minutes and
126-
* 28.27 seconds when running constantly at a 60Hz refresh rate.
126+
* 28.27 seconds when running constantly at a 60Hz refresh rate. This
127+
* counter will be incremented during the frame flip operation by the
128+
* appropriate number of hardware frames which have passed since the
129+
* last frame flip. In other words, this counter monotonically increases
130+
* by one for each vsync event that occurred during the last rendering.
127131
*/
128-
uint32_t getFrameCount() const { return m_frameCount; }
132+
uint32_t getFrameCount() const { return m_previousFrameCount; }
129133

130134
/**
131135
* @brief Get the index of the current display buffer.

third_party/EASTL/include/EASTL/variant.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,10 @@ namespace eastl
637637
///////////////////////////////////////////////////////////////////////////
638638
// 20.7.4, value access
639639
//
640-
template <class T, class... Types, ssize_t I = meta::get_type_index_v<T, Types...>>
640+
template <class T, class... Types, EASTL_SSIZE_T I = meta::get_type_index_v<T, Types...>>
641641
EA_CONSTEXPR bool holds_alternative(const variant<Types...>& v) EA_NOEXCEPT
642642
{
643-
// ssize_t template parameter because the value can be negative
643+
// EASTL_SSIZE_T template parameter because the value can be negative
644644
return I == variant_npos ? false : (v.index() == I);
645645
}
646646

@@ -858,7 +858,7 @@ namespace eastl
858858
//
859859
template <class T,
860860
typename T_j = meta::overload_resolution_t<T, meta::overload_set<Types...>>,
861-
ssize_t I = meta::get_type_index_v<decay_t<T_j>, Types...>,
861+
EASTL_SSIZE_T I = meta::get_type_index_v<decay_t<T_j>, Types...>,
862862
typename = enable_if_t<!eastl::is_same_v<decay_t<T>, variant> && eastl::is_assignable_v<T_j&, T> &&
863863
eastl::is_constructible_v<T_j, T>>>
864864
EA_CPP14_CONSTEXPR variant& operator=(T&& t)

0 commit comments

Comments
 (0)