mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Use strings instead of arbitrary buffers for video statistics
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
@ -69,10 +70,8 @@ struct Statistics
|
||||
void ResetFrame();
|
||||
static void SwapDL();
|
||||
|
||||
// Yeah, this is unsafe, but we really don't wanna faff around allocating
|
||||
// buffers here.
|
||||
static char *ToString(char *ptr);
|
||||
static char *ToStringProj(char *ptr);
|
||||
static std::string ToString();
|
||||
static std::string ToStringProj();
|
||||
};
|
||||
|
||||
extern Statistics stats;
|
||||
|
Reference in New Issue
Block a user