mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Wiimote: Added decryption function, it could be useful for debugging real Wiimote extensions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2099 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c10d69fe07
commit
ec39c45dd5
8 changed files with 48 additions and 17 deletions
|
@ -18,14 +18,23 @@
|
|||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Includes
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
#include <iostream> // System
|
||||
////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Definitions and declarations
|
||||
// ¯¯¯¯¯¯¯¯¯
|
||||
#ifdef _WIN32
|
||||
#define sleep(x) Sleep(x)
|
||||
#else
|
||||
#define sleep(x) usleep(x*1000)
|
||||
#endif
|
||||
// Declarations
|
||||
|
||||
|
||||
void DoInitialize();
|
||||
double GetDoubleTime();
|
||||
int GetUpdateRate();
|
||||
|
@ -33,6 +42,7 @@ void InterruptDebugging(bool Emu, const void* _pData);
|
|||
void ReadDebugging(bool Emu, const void* _pData);
|
||||
bool IsFocus();
|
||||
|
||||
|
||||
// Movement recording
|
||||
#define RECORDING_ROWS 15
|
||||
#define WM_RECORDING_WIIMOTE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue