Win32 compatibility fixes

This commit is contained in:
Jack Andersen
2017-01-06 22:24:16 -10:00
parent ed1adfee0d
commit c34b81ad6c
8 changed files with 101 additions and 22 deletions

View File

@@ -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;