mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
Check if data logger is valid
This commit is contained in:
parent
acfc62a434
commit
61716494c1
@ -163,7 +163,7 @@ void update_hw_info(const struct overlay_params& params, uint32_t vendorID)
|
||||
if (graph_data.size() >= kMaxGraphEntries)
|
||||
graph_data.pop_front();
|
||||
graph_data.push_back(currentLogData);
|
||||
logger->notify_data_valid();
|
||||
if (logger) logger->notify_data_valid();
|
||||
HUDElements.update_exec();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user