mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 11:08:56 +00:00
Use strings instead of arbitrary buffers for video statistics
This commit is contained in:
parent
010ca048df
commit
1583ce9363
4 changed files with 81 additions and 87 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue