mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 18:30:32 +00:00
remove unused globals
Also change globals into statics which are only used in one file
This commit is contained in:
parent
81ed17be53
commit
7e79806efc
32 changed files with 28 additions and 21937 deletions
|
@ -916,7 +916,7 @@ u32 EncodeVm(ARMReg Vm)
|
|||
}
|
||||
|
||||
// Double/single, Neon
|
||||
const VFPEnc VFPOps[16][2] = {
|
||||
static const VFPEnc VFPOps[16][2] = {
|
||||
{{0xE0, 0xA0}, { -1, -1}}, // 0: VMLA
|
||||
{{0xE1, 0xA4}, { -1, -1}}, // 1: VNMLA
|
||||
{{0xE0, 0xA4}, { -1, -1}}, // 2: VMLS
|
||||
|
@ -934,7 +934,7 @@ const VFPEnc VFPOps[16][2] = {
|
|||
{{ -1, -1}, {0x3B, 0x30}}, // 14: VABSi
|
||||
};
|
||||
|
||||
const char *VFPOpNames[16] = {
|
||||
static const char *VFPOpNames[16] = {
|
||||
"VMLA",
|
||||
"VNMLA",
|
||||
"VMLS",
|
||||
|
|
|
@ -720,7 +720,4 @@ struct VFPEnc {
|
|||
s16 opc1;
|
||||
s16 opc2;
|
||||
};
|
||||
extern const VFPEnc VFPOps[16][2];
|
||||
extern const char *VFPOpNames[16];
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -411,8 +411,8 @@ void StackTrace(HANDLE hThread, const char* lpszMessage, FILE *file, DWORD eip,
|
|||
if (hThread != GetCurrentThread())
|
||||
ResumeThread(hThread);
|
||||
}
|
||||
|
||||
char g_uefbuf[2048];
|
||||
#define UEFBUFSIZE 2048
|
||||
static char g_uefbuf[UEFBUFSIZE];
|
||||
|
||||
void etfprintf(FILE *file, const char *format, ...)
|
||||
{
|
||||
|
|
|
@ -36,8 +36,6 @@ void StackTrace(HANDLE, char const* msg, FILE *file, DWORD eip, DWORD esp, DWORD
|
|||
// functions by Masken
|
||||
void etfprintf(FILE *file, const char *format, ...);
|
||||
void etfprint(FILE *file, const std::string &text);
|
||||
#define UEFBUFSIZE 2048
|
||||
extern char g_uefbuf[UEFBUFSIZE];
|
||||
|
||||
#else // not WIN32
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue