summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime_test.cpp b/src/runtime_test.cpp index b4a6d34..c3961e7 100644 --- a/src/runtime_test.cpp +++ b/src/runtime_test.cpp
@@ -1,5 +1,9 @@
1#include "runtime.h" 1#include "runtime.h"
2 2
3std::string Runtime::getResourcePath(std::string_view name) { 3std::string Runtime::getResourcePath(std::string_view name) {
4#ifdef MSVC
5 return std::string("res/") + std::string(name);
6#else
4 return std::string("../res/") + std::string(name); 7 return std::string("../res/") + std::string(name);
8#endif
5} 9}