diff options
Diffstat (limited to 'src/citra')
| -rw-r--r-- | src/citra/citra.cpp | 18 | ||||
| -rw-r--r-- | src/citra/citra.vcxproj | 15 | ||||
| -rw-r--r-- | src/citra/citra.vcxproj.filters | 25 | ||||
| -rw-r--r-- | src/citra/emu_window/emu_window_glfw.cpp | 6 | ||||
| -rw-r--r-- | src/citra/emu_window/emu_window_glfw.h | 2 |
5 files changed, 30 insertions, 36 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 746cf083d..37ea97403 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp | |||
| @@ -22,17 +22,17 @@ | |||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | 22 | * http://code.google.com/p/gekko-gc-emu/ |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #include "common.h" | 25 | #include "common/common.h" |
| 26 | #include "log_manager.h" | 26 | #include "common/log_manager.h" |
| 27 | #include "file_util.h" | 27 | #include "common/file_util.h" |
| 28 | 28 | ||
| 29 | #include "system.h" | 29 | #include "core/system.h" |
| 30 | #include "core.h" | 30 | #include "core/core.h" |
| 31 | #include "loader.h" | 31 | #include "core/loader.h" |
| 32 | 32 | ||
| 33 | #include "emu_window/emu_window_glfw.h" | 33 | #include "citra/emu_window/emu_window_glfw.h" |
| 34 | 34 | ||
| 35 | #include "citra.h" | 35 | #include "citra/citra.h" |
| 36 | 36 | ||
| 37 | #define E_ERR -1 | 37 | #define E_ERR -1 |
| 38 | 38 | ||
| @@ -52,7 +52,7 @@ int __cdecl main(int argc, char **argv) { | |||
| 52 | 52 | ||
| 53 | System::Init(emu_window); | 53 | System::Init(emu_window); |
| 54 | 54 | ||
| 55 | std::string boot_filename = "homebrew.elf"; | 55 | std::string boot_filename = "C:\\Users\\eric\\Desktop\\3ds\\homebrew\\Mandelbrot3DS.elf"; |
| 56 | std::string error_str; | 56 | std::string error_str; |
| 57 | 57 | ||
| 58 | bool res = Loader::LoadFile(boot_filename, &error_str); | 58 | bool res = Loader::LoadFile(boot_filename, &error_str); |
diff --git a/src/citra/citra.vcxproj b/src/citra/citra.vcxproj index 16157ad04..4ea222fcd 100644 --- a/src/citra/citra.vcxproj +++ b/src/citra/citra.vcxproj | |||
| @@ -199,20 +199,17 @@ | |||
| 199 | </ProjectReference> | 199 | </ProjectReference> |
| 200 | </ItemGroup> | 200 | </ItemGroup> |
| 201 | <ItemGroup> | 201 | <ItemGroup> |
| 202 | <ClCompile Include="src\citra.cpp" /> | 202 | <ClCompile Include="citra.cpp" /> |
| 203 | <ClCompile Include="src\emu_window\emu_window_glfw.cpp" /> | 203 | <ClCompile Include="emu_window\emu_window_glfw.cpp" /> |
| 204 | </ItemGroup> | 204 | </ItemGroup> |
| 205 | <ItemGroup> | 205 | <ItemGroup> |
| 206 | <ClInclude Include="citra.h" /> | ||
| 207 | <ClInclude Include="emu_window\emu_window_glfw.h" /> | ||
| 206 | <ClInclude Include="resource.h" /> | 208 | <ClInclude Include="resource.h" /> |
| 207 | <ClInclude Include="src\citra.h" /> | 209 | <ClInclude Include="version.h" /> |
| 208 | <ClInclude Include="src\emu_window\emu_window_glfw.h" /> | ||
| 209 | <ClInclude Include="src\version.h" /> | ||
| 210 | </ItemGroup> | 210 | </ItemGroup> |
| 211 | <ItemGroup> | 211 | <ItemGroup> |
| 212 | <ResourceCompile Include="citra.rc" /> | 212 | <Text Include="CMakeLists.txt" /> |
| 213 | </ItemGroup> | ||
| 214 | <ItemGroup> | ||
| 215 | <None Include="CMakeLists.txt" /> | ||
| 216 | </ItemGroup> | 213 | </ItemGroup> |
| 217 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 214 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 218 | <ImportGroup Label="ExtensionTargets"> | 215 | <ImportGroup Label="ExtensionTargets"> |
diff --git a/src/citra/citra.vcxproj.filters b/src/citra/citra.vcxproj.filters index f0b6906de..b41cdf146 100644 --- a/src/citra/citra.vcxproj.filters +++ b/src/citra/citra.vcxproj.filters | |||
| @@ -1,28 +1,25 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | <ItemGroup> | 3 | <ItemGroup> |
| 4 | <ClCompile Include="src\citra.cpp" /> | 4 | <Filter Include="emu_window"> |
| 5 | <ClCompile Include="src\emu_window\emu_window_glfw.cpp"> | 5 | <UniqueIdentifier>{e3161526-9f53-4670-8dae-2be81ff01bc2}</UniqueIdentifier> |
| 6 | </Filter> | ||
| 7 | </ItemGroup> | ||
| 8 | <ItemGroup> | ||
| 9 | <ClCompile Include="citra.cpp" /> | ||
| 10 | <ClCompile Include="emu_window\emu_window_glfw.cpp"> | ||
| 6 | <Filter>emu_window</Filter> | 11 | <Filter>emu_window</Filter> |
| 7 | </ClCompile> | 12 | </ClCompile> |
| 8 | </ItemGroup> | 13 | </ItemGroup> |
| 9 | <ItemGroup> | 14 | <ItemGroup> |
| 15 | <ClInclude Include="citra.h" /> | ||
| 10 | <ClInclude Include="resource.h" /> | 16 | <ClInclude Include="resource.h" /> |
| 11 | <ClInclude Include="src\version.h" /> | 17 | <ClInclude Include="version.h" /> |
| 12 | <ClInclude Include="src\citra.h" /> | 18 | <ClInclude Include="emu_window\emu_window_glfw.h"> |
| 13 | <ClInclude Include="src\emu_window\emu_window_glfw.h"> | ||
| 14 | <Filter>emu_window</Filter> | 19 | <Filter>emu_window</Filter> |
| 15 | </ClInclude> | 20 | </ClInclude> |
| 16 | </ItemGroup> | 21 | </ItemGroup> |
| 17 | <ItemGroup> | 22 | <ItemGroup> |
| 18 | <ResourceCompile Include="citra.rc" /> | 23 | <Text Include="CMakeLists.txt" /> |
| 19 | </ItemGroup> | ||
| 20 | <ItemGroup> | ||
| 21 | <Filter Include="emu_window"> | ||
| 22 | <UniqueIdentifier>{e3161526-9f53-4670-8dae-2be81ff01bc2}</UniqueIdentifier> | ||
| 23 | </Filter> | ||
| 24 | </ItemGroup> | ||
| 25 | <ItemGroup> | ||
| 26 | <None Include="CMakeLists.txt" /> | ||
| 27 | </ItemGroup> | 24 | </ItemGroup> |
| 28 | </Project> \ No newline at end of file | 25 | </Project> \ No newline at end of file |
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp index 4cdb7fbb0..0192d8598 100644 --- a/src/citra/emu_window/emu_window_glfw.cpp +++ b/src/citra/emu_window/emu_window_glfw.cpp | |||
| @@ -22,9 +22,9 @@ | |||
| 22 | * http://code.google.com/p/gekko-gc-emu/ | 22 | * http://code.google.com/p/gekko-gc-emu/ |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #include "common.h" | 25 | #include "common/common.h" |
| 26 | #include "video_core.h" | 26 | #include "video_core/video_core.h" |
| 27 | #include "emu_window_glfw.h" | 27 | #include "citra/emu_window/emu_window_glfw.h" |
| 28 | 28 | ||
| 29 | static void OnKeyEvent(GLFWwindow* win, int key, int action) { | 29 | static void OnKeyEvent(GLFWwindow* win, int key, int action) { |
| 30 | // EmuWindow_GLFW* emuwin = (EmuWindow_GLFW*)glfwGetWindowUserPointer(win); | 30 | // EmuWindow_GLFW* emuwin = (EmuWindow_GLFW*)glfwGetWindowUserPointer(win); |
diff --git a/src/citra/emu_window/emu_window_glfw.h b/src/citra/emu_window/emu_window_glfw.h index abca9faa8..c3feb6e51 100644 --- a/src/citra/emu_window/emu_window_glfw.h +++ b/src/citra/emu_window/emu_window_glfw.h | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | #include <GL/glew.h> | 27 | #include <GL/glew.h> |
| 28 | #include <GLFW/glfw3.h> | 28 | #include <GLFW/glfw3.h> |
| 29 | 29 | ||
| 30 | #include "emu_window.h" | 30 | #include "common/emu_window.h" |
| 31 | 31 | ||
| 32 | class EmuWindow_GLFW : public EmuWindow { | 32 | class EmuWindow_GLFW : public EmuWindow { |
| 33 | public: | 33 | public: |