diff --git a/Core/Core.vcxproj b/Core/Core.vcxproj index bdfaea4361..4697e33a40 100644 --- a/Core/Core.vcxproj +++ b/Core/Core.vcxproj @@ -568,7 +568,12 @@ - + + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + @@ -900,7 +905,12 @@ - + + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86_64\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + ..\ffmpeg\WindowsInclude;..\ffmpeg\Windows\x86\include;../common;..;../ext/native;../ext/glew;../ext/snappy;../ext/native/ext/libpng17;../ext/zlib;../ext/native/ext;../ext/armips/;../ext/armips/ext/filesystem/include/;../ext/armips/ext/tinyformat/ + diff --git a/Core/MIPS/MIPSAsm.cpp b/Core/MIPS/MIPSAsm.cpp index 97d34a4f18..837e857b68 100644 --- a/Core/MIPS/MIPSAsm.cpp +++ b/Core/MIPS/MIPSAsm.cpp @@ -5,6 +5,7 @@ #include "Common/CommonTypes.h" #include "ext/armips/Core/Assembler.h" +#include "ext/armips/Core/FileManager.h" #include "Common/Data/Encoding/Utf8.h" #include "Core/Debugger/SymbolMap.h" @@ -55,15 +56,15 @@ public: return true; } bool seekPhysical(int64_t physicalAddress) override { return seekVirtual(physicalAddress); } - const std::wstring &getFileName() override { return dummyWFilename_; } + const fs::path &getFileName() override { return dummyFilename_; } private: u64 address; - std::wstring dummyWFilename_; + fs::path dummyFilename_; }; bool MipsAssembleOpcode(const char* line, DebugInterface* cpu, u32 address) { - StringList errors; + std::vector errors; wchar_t str[64]; swprintf(str,64,L".psp\n.org 0x%08X\n",address); diff --git a/ext/armips b/ext/armips index 7885552b20..0b13ef32c5 160000 --- a/ext/armips +++ b/ext/armips @@ -1 +1 @@ -Subproject commit 7885552b208493a6a0f21663770c446c3ba65576 +Subproject commit 0b13ef32c566781f0566b027ad5681d9320bddf7 diff --git a/ext/libarmips.vcxproj b/ext/libarmips.vcxproj index b3d288f799..de44145f1a 100644 --- a/ext/libarmips.vcxproj +++ b/ext/libarmips.vcxproj @@ -187,14 +187,14 @@ - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) _Output\ _Output\$(ProjectName)\$(Configuration)\ $(ProjectName)d $(ProjectName)d64 - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) _Output\ _Output\$(ProjectName)\$(Configuration)64\ @@ -211,13 +211,13 @@ _Output\$(ProjectName)\$(Configuration)ARM\ - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) _Output\ _Output\$(ProjectName)\$(Configuration)\ $(ProjectName)tests - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) $(ProjectName)tests64 _Output\ _Output\$(ProjectName)\$(Configuration)64\ @@ -235,14 +235,14 @@ _Output\$(ProjectName)\$(Configuration)ARM\ - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) _Output\ _Output\$(ProjectName)\$(Configuration)\ $(ProjectName) $(ProjectName)64 - .;$(IncludePath) + .;.\armips\ext\filesystem\include;.\armips\ext\tinyformat;$(IncludePath) _Output\ _Output\$(ProjectName)\$(Configuration)64\ @@ -260,7 +260,6 @@ - Use Level3 _CRTDBG_MAP_ALLOC;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebug @@ -269,6 +268,7 @@ true ProgramDatabase + stdcpp17 Windows @@ -280,7 +280,6 @@ - Use Level3 _CRTDBG_MAP_ALLOC;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebug @@ -290,6 +289,7 @@ true ProgramDatabase + stdcpp17 Windows @@ -341,11 +341,11 @@ - Use Level3 Disabled WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) armips + stdcpp17 Windows @@ -354,11 +354,11 @@ - Use Level3 Disabled WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) armips + stdcpp17 Windows @@ -395,7 +395,6 @@ Level3 - Use MaxSpeed true true @@ -405,6 +404,7 @@ true false ProgramDatabase + stdcpp17 Windows @@ -416,7 +416,6 @@ Level3 - Use MaxSpeed true true @@ -428,6 +427,7 @@ true false ProgramDatabase + stdcpp17 Windows @@ -510,6 +510,7 @@ + @@ -524,24 +525,11 @@ - - Create - Create - Create - Create - Create - Create - Create - Create - Create - Create - Create - Create - + @@ -572,6 +560,7 @@ + @@ -588,11 +577,11 @@ - + diff --git a/ext/libarmips.vcxproj.filters b/ext/libarmips.vcxproj.filters index e1c8ef9a3a..d374c5f4b8 100644 --- a/ext/libarmips.vcxproj.filters +++ b/ext/libarmips.vcxproj.filters @@ -132,7 +132,6 @@ Util - Core @@ -172,6 +171,12 @@ Archs\MIPS + + Core + + + Util + @@ -276,7 +281,6 @@ Util - Core @@ -319,5 +323,11 @@ Archs\MIPS + + Core + + + Util + \ No newline at end of file