Cleaning up xdbf stuff.
- moving next to xex utils - fixing error cases around icon setting (and allowing reset) - making C++11 - abstracting a bit so future additions will be easier - fixing non-xex uses
This commit is contained in:
@@ -35,7 +35,7 @@ TracePlayer::TracePlayer(xe::ui::Loop* loop, GraphicsSystem* graphics_system)
|
||||
TracePlayer::~TracePlayer() = default;
|
||||
|
||||
const TraceReader::Frame* TracePlayer::current_frame() const {
|
||||
if (current_frame_index_ > frame_count()) {
|
||||
if (current_frame_index_ >= frame_count()) {
|
||||
return nullptr;
|
||||
}
|
||||
return frame(current_frame_index_);
|
||||
|
||||
Reference in New Issue
Block a user