mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Android build fixes.
This commit is contained in:
parent
8975ca8842
commit
a41f493133
7 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <boost/filesystem.hpp>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#include "make_unique.h"
|
#include "make_unique.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
|
||||||
#include "signal/Signal.h"
|
#include "signal/Signal.h"
|
||||||
#include <boost/filesystem.hpp>
|
#include "filesystem_def.h"
|
||||||
|
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
#include <cassert>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <vector>
|
||||||
#include "Iop_Sio2.h"
|
#include "Iop_Sio2.h"
|
||||||
#include "../Log.h"
|
#include "../Log.h"
|
||||||
#include "../states/RegisterStateFile.h"
|
#include "../states/RegisterStateFile.h"
|
||||||
#include "../states/MemoryStateFile.h"
|
#include "../states/MemoryStateFile.h"
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#define LOG_NAME ("iop_sio2")
|
#define LOG_NAME ("iop_sio2")
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
#include "Singleton.h"
|
#include "Singleton.h"
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "filesystem_def.h"
|
#include "filesystem_def.h"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <vector>
|
||||||
#include "filesystem_def.h"
|
#include "filesystem_def.h"
|
||||||
#include "Save.h"
|
#include "Save.h"
|
||||||
|
|
||||||
|
|
|
@ -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)
|
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);
|
BootablesDb::CClient::GetInstance().SetLastBootedTime(bootablePath, lastBootedTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" JNIEXPORT void Java_com_virtualapplications_play_BootablesInterop_UnregisterBootable(JNIEnv* env, jobject obj, jstring bootablePathString)
|
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);
|
BootablesDb::CClient::GetInstance().UnregisterBootable(bootablePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
#include "filesystem_def.h"
|
#include "filesystem_def.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "Singleton.h"
|
#include "Singleton.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue