View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#15
Ok, got it compiled for Fremantle. Not yet tested on device. OpenPandora-camp got it already running (rumours), but it is not yet very fast (also rumours) without JIT-support on ARM.


If you want contribute just now you need cmake-2.8.8 (almost trivial to compile). Then check kludge on: https://github.com/hrydgard/ppsspp/issues/347

And then apply these (not yet in issue tracker)
diff --git a/Core/Util/PPGeDraw.cpp b/Core/Util/PPGeDraw.cpp
index cbd3bce..e4e0f91 100644
--- a/Core/Util/PPGeDraw.cpp
+++ b/Core/Util/PPGeDraw.cpp
@@ -416,3 +416,20 @@ void PPGeDisableTexture()
WriteCmd(GE_CMD_TEXTUREMAPENABLE, 0);
}

+int GetPow2(int x)
+{
+ int ret = 0;
+ int val = 1;
+ while(x > val)
+ {
+ ret++;
+ val *= 2;
+ }
+ return ret;
+}


diff --git a/GPU/GLES/ShaderManager.cpp b/GPU/GLES/ShaderManager.cpp
index ec5b60e..e796078 100644
--- a/GPU/GLES/ShaderManager.cpp
+++ b/GPU/GLES/ShaderManager.cpp
@@ -24,6 +24,7 @@
#include "ShaderManager.h"
#include "TransformPipeline.h"

+typedef char GLchar;
Shader::Shader(const char *code, uint32_t shaderType) {
source_ = code;
#ifdef _WIN32
 

The Following 9 Users Say Thank You to AapoRantalainen For This Useful Post: