mirror of https://github.com/PCSX2/pcsx2.git
PAD: s/OnePad/PAD/g
This commit is contained in:
parent
cd70ba753e
commit
f38c132efe
|
@ -173,7 +173,7 @@ s32 PADfreeze(int mode, freezeData* data)
|
|||
Pad::stop_vibrate_all();
|
||||
|
||||
if (data->size != sizeof(PadPluginFreezeData) || pdata->version != PAD_SAVE_STATE_VERSION ||
|
||||
strncmp(pdata->format, "OnePad", sizeof(pdata->format)))
|
||||
strncmp(pdata->format, "LinPad", sizeof(pdata->format)))
|
||||
return 0;
|
||||
|
||||
query = pdata->query;
|
||||
|
@ -213,7 +213,7 @@ s32 PADfreeze(int mode, freezeData* data)
|
|||
// - PCSX2 only saves port0 (save #1), then port1 (save #2)
|
||||
|
||||
memset(pdata, 0, data->size);
|
||||
strncpy(pdata->format, "OnePad", sizeof(pdata->format));
|
||||
strncpy(pdata->format, "LinPad", sizeof(pdata->format));
|
||||
pdata->version = PAD_SAVE_STATE_VERSION;
|
||||
pdata->query = query;
|
||||
|
||||
|
|
|
@ -75,18 +75,6 @@ u8 QueryInfo::start_poll(int _port)
|
|||
void Pad::set_mode(int _mode)
|
||||
{
|
||||
mode = _mode;
|
||||
|
||||
#if 0
|
||||
fprintf(stdout, "OnePad: set new pad mode=");
|
||||
if (mode == MODE_DIGITAL)
|
||||
fprintf(stdout, "DIGITAL\n");
|
||||
else if (mode == MODE_ANALOG)
|
||||
fprintf(stdout, "ANALOG\n");
|
||||
else if (mode == MODE_DS2_NATIVE)
|
||||
fprintf(stdout, "DS2 NATIVE\n");
|
||||
else
|
||||
fprintf(stdout, "??? 0x%x\n", mode);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Pad::set_vibrate(int motor, u8 val)
|
||||
|
|
|
@ -309,7 +309,7 @@ static std::string KeyName(int pad, int key, int keysym)
|
|||
PADDialog::PADDialog()
|
||||
: wxDialog(NULL, // Parent
|
||||
wxID_ANY, // ID
|
||||
_T("OnePad configuration"), // Title
|
||||
_T("GamePad configuration"), // Title
|
||||
wxDefaultPosition, // Position
|
||||
wxSize(DEFAULT_WIDTH, DEFAULT_HEIGHT), // Width + Lenght
|
||||
// Style
|
||||
|
|
Loading…
Reference in New Issue