mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
Delete some left behind unused code
This commit is contained in:
1 parent
524854ac16
commit
5df4bac6d2
17 files changed
+17
-127
No files matched your search
@@ -33,20 +33,15 @@
|
||||
// This function might change the error code.
|
||||
const char *GetLastErrorMsg()
|
||||
{
|
||||
#ifndef _XBOX
|
||||
#ifdef _WIN32
|
||||
return GetStringErrorMsg(GetLastError());
|
||||
#else
|
||||
return GetStringErrorMsg(errno);
|
||||
#endif
|
||||
#else
|
||||
return "GetLastErrorMsg";
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *GetStringErrorMsg(int errCode) {
|
||||
static const size_t buff_size = 1023;
|
||||
#ifndef _XBOX
|
||||
#ifdef _WIN32
|
||||
static __declspec(thread) wchar_t err_strw[buff_size] = {};
|
||||
|
||||
@@ -66,7 +61,4 @@ const char *GetStringErrorMsg(int errCode) {
|
||||
#endif
|
||||
|
||||
return err_str;
|
||||
#else
|
||||
return "GetStringErrorMsg";
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user