diff --git a/src/image/codec/ps3-image.cpp b/src/image/codec/ps3-image.cpp index 5efdae03..d4c84894 100644 --- a/src/image/codec/ps3-image.cpp +++ b/src/image/codec/ps3-image.cpp @@ -96,7 +96,7 @@ bool Ps3ImageData::Open(char const *path) CellPngDecSubHandle hsub; char file[1024]; - sprintf(file, "/app_home/c:/Users/s.hocevar/lolengine/%s", path); + sprintf(file, "/app_home/c:/Users/s.hocevar/le/%s", path); CellPngDecSrc dec_src; dec_src.srcSelect = CELL_PNGDEC_FILE; diff --git a/src/input.cpp b/src/input.cpp index b3d4334d..b9c4a555 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -75,7 +75,7 @@ vec2 Input::GetAxis(int axis) if (left && up) ret = ret * sqrtf(0.5f); #else - ret = 0; + ret = vec2(0, 0); #endif return ret; diff --git a/src/platform/ps3/ps3app.cpp b/src/platform/ps3/ps3app.cpp index 06e7172d..e873ef34 100644 --- a/src/platform/ps3/ps3app.cpp +++ b/src/platform/ps3/ps3app.cpp @@ -23,6 +23,7 @@ #include "core.h" #include "lolgl.h" #include "ps3app.h" +#include "ps3input.h" namespace lol {