瀏覽代碼

ps3: compilation fixes for the PS3.

legacy
Sam Hocevar gary 13 年之前
父節點
當前提交
7e337a0607
共有 3 個檔案被更改,包括 3 行新增2 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

namespace lol
{


Loading…
取消
儲存