Line 46:
Line 46:
== Issues ==
== Issues ==
Random crash when you least expect it. I am unable to recreate it, but I have seen it happen several times. If you can look at the code and tell me what's wrong I'll give you credit. I think it has to do with the pointer but I don't know enough to be sure or know how to fix it.
Random crash when you least expect it. I am unable to recreate it, but I have seen it happen several times. If you can look at the code and tell me what's wrong I'll give you credit. I think it has to do with the pointer but I don't know enough to be sure or know how to fix it.
+
+
Here's a thought on your crash: You are using the ir data without checking ir0.valid. I can't remember if I've seen this myself or not, but it seems possible that the ir data is outside the range you are expecting if the data isn't valid. See [[How_to_use_the_Wiimote]] for an example. Alternatively (or maybe Also) you can check that the values you are passing to Flip/Draw/etc are within the range you expect. I hope this helps. --[[User:PaceMaker|PaceMaker]] 18:56, 20 October 2008 (UTC)
[[category:Homebrew in Development]]
[[category:Homebrew in Development]]