few compile errors fixed on linux

(please check them out as I'm not 100% sure about them)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@975 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-10-27 07:34:57 +00:00
parent 6b021b874c
commit 62b49ea2d6
2 changed files with 7 additions and 3 deletions

View File

@ -1151,11 +1151,11 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandReadLocalFeatures(u8* _Input)
void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandReadStoredLinkKey(u8* _Input)
{
#ifdef LOGGING
// command parameters
hci_read_stored_link_key_cp* ReadStoredLinkKey = (hci_read_stored_link_key_cp*)_Input;
#endif
#ifdef LOGGING
LOG(WIIMOTE, "Command: HCI_CMD_READ_STORED_LINK_KEY:");
LOG(WIIMOTE, "input:");
LOG(WIIMOTE, " bd: %02x:%02x:%02x:%02x:%02x:%02x",
@ -1164,7 +1164,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandReadStoredLinkKey(u8* _Input)
LOG(WIIMOTE, " read_all_ %i", ReadStoredLinkKey->read_all);
LOG(WIIMOTE, "return:");
LOG(WIIMOTE, " no idea what i should answer :)");
#endif
// reply
hci_read_stored_link_key_rp Reply;

View File

@ -392,8 +392,12 @@ void FillReportInfo(wm_core& _core)
{
static bool bb = true;
bb = !bb;
#ifdef _WIN32
_core.a = GetAsyncKeyState(VK_LBUTTON) ? 1 : 0;
_core.b = GetAsyncKeyState(VK_RBUTTON) ? 1 : 0;
#else
// TODO: fill in
#endif
}