mirror of
https://github.com/AxioDL/jbus.git
synced 2025-12-20 18:29:10 +00:00
Win32 compatibility fixes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "jbus/Listener.hpp"
|
||||
#include "jbus/Endpoint.hpp"
|
||||
#include <functional>
|
||||
|
||||
static void clientPadComplimentCheck(jbus::u8* buffer)
|
||||
{
|
||||
@@ -83,7 +84,9 @@ int main(int argc, char** argv)
|
||||
|
||||
jbus::u8 status;
|
||||
if (endpoint->GBAJoyBootAsync(2, 2, data.get(), fsize,
|
||||
&status, JoyBootDone) != jbus::GBA_READY)
|
||||
&status, std::bind(JoyBootDone,
|
||||
std::placeholders::_1,
|
||||
std::placeholders::_2)) != jbus::GBA_READY)
|
||||
{
|
||||
fprintf(stderr, "Unable to start JoyBoot\n");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user