mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Build/warning fix
This commit is contained in:
parent
feb4f9477a
commit
269eb55c17
@ -10,7 +10,6 @@
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <pthread.h>
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
double FromXrTime(const XrTime time) {
|
||||
|
@ -40,6 +40,8 @@ float vibration_channel_duration[2] = {0.0f, 0.0f};
|
||||
float vibration_channel_intensity[2] = {0.0f, 0.0f};
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <sys/time.h>
|
||||
|
||||
unsigned long sys_timeBase = 0;
|
||||
int milliseconds(void) {
|
||||
struct timeval tp;
|
||||
|
@ -2045,6 +2045,7 @@ static bool CanDepalettize(GETextureFormat texFormat, GEBufferFormat bufferForma
|
||||
}
|
||||
break;
|
||||
case GE_FORMAT_CLUT8:
|
||||
case GE_FORMAT_INVALID:
|
||||
// Shouldn't happen here.
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user