linux/softrend: Cleanup accidental file changes
This commit is contained in:
parent
62018cf203
commit
f3e4416bb4
|
@ -5,37 +5,37 @@
|
|||
struct EvdevControllerMapping
|
||||
{
|
||||
const char* name;
|
||||
int Btn_A;
|
||||
int Btn_B;
|
||||
int Btn_C;
|
||||
int Btn_D;
|
||||
int Btn_X;
|
||||
int Btn_Y;
|
||||
int Btn_Z;
|
||||
int Btn_Start;
|
||||
int Btn_Escape;
|
||||
int Btn_DPad_Left;
|
||||
int Btn_DPad_Right;
|
||||
int Btn_DPad_Up;
|
||||
int Btn_DPad_Down;
|
||||
int Btn_DPad2_Left;
|
||||
int Btn_DPad2_Right;
|
||||
int Btn_DPad2_Up;
|
||||
int Btn_DPad2_Down;
|
||||
int Btn_Trigger_Left;
|
||||
int Btn_Trigger_Right;
|
||||
int Axis_DPad_X;
|
||||
int Axis_DPad_Y;
|
||||
int Axis_DPad2_X;
|
||||
int Axis_DPad2_Y;
|
||||
int Axis_Analog_X;
|
||||
int Axis_Analog_Y;
|
||||
int Axis_Trigger_Left;
|
||||
int Axis_Trigger_Right;
|
||||
bool Axis_Analog_X_Inverted;
|
||||
bool Axis_Analog_Y_Inverted;
|
||||
bool Axis_Trigger_Left_Inverted;
|
||||
bool Axis_Trigger_Right_Inverted;
|
||||
const int Btn_A;
|
||||
const int Btn_B;
|
||||
const int Btn_C;
|
||||
const int Btn_D;
|
||||
const int Btn_X;
|
||||
const int Btn_Y;
|
||||
const int Btn_Z;
|
||||
const int Btn_Start;
|
||||
const int Btn_Escape;
|
||||
const int Btn_DPad_Left;
|
||||
const int Btn_DPad_Right;
|
||||
const int Btn_DPad_Up;
|
||||
const int Btn_DPad_Down;
|
||||
const int Btn_DPad2_Left;
|
||||
const int Btn_DPad2_Right;
|
||||
const int Btn_DPad2_Up;
|
||||
const int Btn_DPad2_Down;
|
||||
const int Btn_Trigger_Left;
|
||||
const int Btn_Trigger_Right;
|
||||
const int Axis_DPad_X;
|
||||
const int Axis_DPad_Y;
|
||||
const int Axis_DPad2_X;
|
||||
const int Axis_DPad2_Y;
|
||||
const int Axis_Analog_X;
|
||||
const int Axis_Analog_Y;
|
||||
const int Axis_Trigger_Left;
|
||||
const int Axis_Trigger_Right;
|
||||
const bool Axis_Analog_X_Inverted;
|
||||
const bool Axis_Analog_Y_Inverted;
|
||||
const bool Axis_Trigger_Left_Inverted;
|
||||
const bool Axis_Trigger_Right_Inverted;
|
||||
};
|
||||
|
||||
struct EvdevAxisData
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "hw/sh4/dyna/shil_canonical.h"
|
||||
|
||||
|
||||
#define MIPS_COUNTER 1
|
||||
#define MIPS_COUNTER 0
|
||||
|
||||
struct DynaRBI : RuntimeBlockInfo
|
||||
{
|
||||
|
|
|
@ -625,17 +625,6 @@ int screen_height;
|
|||
|
||||
void gl_swap()
|
||||
{
|
||||
static FILE* fd = fopen(cfgLoadStr("record", "rawvid","").c_str(), "wb");
|
||||
|
||||
if (fd) {
|
||||
int bytesz = screen_width* screen_height * 3;
|
||||
u8* img = new u8[bytesz];
|
||||
|
||||
glReadPixels(0,0,screen_width,screen_height,GL_RGB, GL_UNSIGNED_BYTE,img);
|
||||
fwrite(img, 1, bytesz, fd);
|
||||
fflush(fd);
|
||||
}
|
||||
|
||||
glXSwapBuffers((Display*)libPvr_GetRenderSurface(), (GLXDrawable)libPvr_GetRenderTarget());
|
||||
|
||||
Window win;
|
||||
|
|
Loading…
Reference in New Issue