From ec00b335f22d9e25fa48ae7e8ee6a98f6136deef Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 20 Sep 2013 14:04:45 +0800 Subject: [PATCH] Add WARN_LOG_REPORT_ONCE for unsupported BJUMP/BOUNDINGBOX --- GPU/GLES/GLES_GPU.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GPU/GLES/GLES_GPU.cpp b/GPU/GLES/GLES_GPU.cpp index 9aff8d7170..03a8dd00c2 100644 --- a/GPU/GLES/GLES_GPU.cpp +++ b/GPU/GLES/GLES_GPU.cpp @@ -813,10 +813,14 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) { break; case GE_CMD_BJUMP: + if (data != 0) + WARN_LOG_REPORT_ONCE(bjump, G3D, "Unsupported bjump: %06x", data); // bounding box jump. Let's just not jump, for now. break; case GE_CMD_BOUNDINGBOX: + if (data != 0) + WARN_LOG_REPORT_ONCE(boundingbox, G3D, "Unsupported bounding box: %06x", data); // bounding box test. Let's do nothing. break;