mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-30 22:27:51 +00:00
Saving real Wiimote state
because that's simpler than reconnecting
This commit is contained in:
parent
748ee50536
commit
0fd3acd152
15 changed files with 815 additions and 64 deletions
|
@ -162,6 +162,7 @@ const char* GetLastErrorMsg();
|
|||
namespace Common
|
||||
{
|
||||
inline u8 swap8(u8 _data) {return _data;}
|
||||
inline u32 swap24(const u8* _data) {return (_data[0] << 16) | (_data[1] << 8) | _data[2];}
|
||||
|
||||
#ifdef _WIN32
|
||||
inline u16 swap16(u16 _data) {return _byteswap_ushort(_data);}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue