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;

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;


+ 1
- 1
src/input.cpp View File

@@ -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;


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

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

namespace lol
{


Loading…
Cancel
Save