Browse Source

ps3: compilation fixes for the PS3.

legacy
Sam Hocevar gary 13 years ago
parent
commit
7e337a0607
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      src/image/codec/ps3-image.cpp
  2. +1
    -1
      src/input.cpp
  3. +1
    -0
      src/platform/ps3/ps3app.cpp

+ 1
- 1
src/image/codec/ps3-image.cpp View File

@@ -96,7 +96,7 @@ bool Ps3ImageData::Open(char const *path)
CellPngDecSubHandle hsub; CellPngDecSubHandle hsub;


char file[1024]; 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; CellPngDecSrc dec_src;
dec_src.srcSelect = CELL_PNGDEC_FILE; dec_src.srcSelect = CELL_PNGDEC_FILE;


+ 1
- 1
src/input.cpp View File

@@ -75,7 +75,7 @@ vec2 Input::GetAxis(int axis)
if (left && up) if (left && up)
ret = ret * sqrtf(0.5f); ret = ret * sqrtf(0.5f);
#else #else
ret = 0;
ret = vec2(0, 0);
#endif #endif


return ret; return ret;


+ 1
- 0
src/platform/ps3/ps3app.cpp View File

@@ -23,6 +23,7 @@
#include "core.h" #include "core.h"
#include "lolgl.h" #include "lolgl.h"
#include "ps3app.h" #include "ps3app.h"
#include "ps3input.h"


namespace lol namespace lol
{ {


Loading…
Cancel
Save