Android build fixes.

This commit is contained in:
Jean-Philip Desjardins 2019-10-17 18:15:16 -04:00
parent 8975ca8842
commit a41f493133
7 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,5 @@
#include <stdio.h>
#include <exception>
#include <boost/filesystem.hpp>
#include <memory>
#include <fenv.h>
#include "make_unique.h"

View file

@ -12,7 +12,7 @@
#include <condition_variable>
#include "signal/Signal.h"
#include <boost/filesystem.hpp>
#include "filesystem_def.h"
#include "Types.h"
#include "Stream.h"

View file

@ -1,9 +1,10 @@
#include <cassert>
#include <cstring>
#include <vector>
#include "Iop_Sio2.h"
#include "../Log.h"
#include "../states/RegisterStateFile.h"
#include "../states/MemoryStateFile.h"
#include <assert.h>
#define LOG_NAME ("iop_sio2")

View file

@ -1,5 +1,6 @@
#pragma once
#include <vector>
#include "Singleton.h"
#include "Stream.h"
#include "filesystem_def.h"

View file

@ -1,6 +1,7 @@
#pragma once
#include <memory>
#include <vector>
#include "filesystem_def.h"
#include "Save.h"

View file

@ -86,13 +86,13 @@ extern "C" JNIEXPORT jobjectArray Java_com_virtualapplications_play_BootablesInt
extern "C" JNIEXPORT void Java_com_virtualapplications_play_BootablesInterop_setLastBootedTime(JNIEnv* env, jobject obj, jstring bootablePathString, jlong lastBootedTime)
{
auto bootablePath = boost::filesystem::path(GetStringFromJstring(env, bootablePathString));
auto bootablePath = fs::path(GetStringFromJstring(env, bootablePathString));
BootablesDb::CClient::GetInstance().SetLastBootedTime(bootablePath, lastBootedTime);
}
extern "C" JNIEXPORT void Java_com_virtualapplications_play_BootablesInterop_UnregisterBootable(JNIEnv* env, jobject obj, jstring bootablePathString)
{
auto bootablePath = boost::filesystem::path(GetStringFromJstring(env, bootablePathString));
auto bootablePath = fs::path(GetStringFromJstring(env, bootablePathString));
BootablesDb::CClient::GetInstance().UnregisterBootable(bootablePath);
}

View file

@ -1,6 +1,7 @@
#pragma once
#include <string>
#include <vector>
#include "filesystem_def.h"
#include "Types.h"
#include "Singleton.h"