mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Android: Also copy sys/Wii directory.
Seems like this one was just missed, some games just did not start without it.
This commit is contained in:
parent
bdb9da2104
commit
3f704dca75
@ -37,18 +37,15 @@ public final class AssetCopyService extends IntentService
|
||||
{
|
||||
String BaseDir = NativeLibrary.GetUserDirectory();
|
||||
String ConfigDir = BaseDir + File.separator + "Config";
|
||||
String GCDir = BaseDir + File.separator + "GC";
|
||||
|
||||
// Copy assets if needed
|
||||
File file = new File(GCDir + File.separator + "font_sjis.bin");
|
||||
File file = new File(BaseDir + File.separator + "GC" + File.separator + "font_sjis.bin");
|
||||
if(!file.exists())
|
||||
{
|
||||
NativeLibrary.CreateUserFolders();
|
||||
copyAsset("dsp_coef.bin", GCDir + File.separator + "dsp_coef.bin");
|
||||
copyAsset("dsp_rom.bin", GCDir + File.separator + "dsp_rom.bin");
|
||||
copyAsset("font_ansi.bin", GCDir + File.separator + "font_ansi.bin");
|
||||
copyAsset("font_sjis.bin", GCDir + File.separator + "font_sjis.bin");
|
||||
copyAssetFolder("GC", BaseDir + File.separator + "GC");
|
||||
copyAssetFolder("Shaders", BaseDir + File.separator + "Shaders");
|
||||
copyAssetFolder("Wii", BaseDir + File.separator + "Wii");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -26,7 +26,10 @@ add_custom_command(TARGET ${SHARED_LIB} POST_BUILD
|
||||
COMMAND ${CMAKE_STRIP} ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/jniLibs/${ANDROID_NDK_ABI_NAME}/lib${SHARED_LIB}.so
|
||||
)
|
||||
add_custom_command(TARGET ${SHARED_LIB} POST_BUILD
|
||||
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/Data/Sys/GC/* ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/
|
||||
COMMAND cp ARGS -r ${CMAKE_SOURCE_DIR}/Data/Sys/GC ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/
|
||||
)
|
||||
add_custom_command(TARGET ${SHARED_LIB} POST_BUILD
|
||||
COMMAND cp ARGS -r ${CMAKE_SOURCE_DIR}/Data/Sys/Wii ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/
|
||||
)
|
||||
add_custom_command(TARGET ${SHARED_LIB} POST_BUILD
|
||||
COMMAND cp ARGS -r ${CMAKE_SOURCE_DIR}/Data/Sys/Shaders ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/
|
||||
|
Loading…
x
Reference in New Issue
Block a user