linker
Emutalk Member
Eddy said:damn smiff you killed it, post it in the pj forum![]()
Eddy is dave's lawyer. 6$/hour :blush:
Eddy said:damn smiff you killed it, post it in the pj forum![]()
Hey well it looks coolDave2001 said:Ha, figures, after I fix that, practically every other texrect works incorrectly
Hey well it looks cool
I always like to see if my 'features' in my programs follow a pattern myself. Perhaps you need to have a version of your plugin that spews debug information out about the data and texture information (IE what data is it processing and what it thinks it should be doing with it.) Might be helpful (might not) but at least if the problem happens on a consistant basis you can more easily identify the offending bit of code.
I always use this
<module>, line #, <Informative message>
"gpu.c", "1001", "LOAD TEX 32b X124 x Y178"
gpu.c, ...
etc. it's boring to read however if you put it in comma delimited format it's also great for processing it with EXCEL and finding repetitive errors with some VB code etc. makes life easier when you are trying to find a bug that's repetitive
Stephen
gokuss4 said:here is the problem with the sky dave...
Dave2001 said:In #Gfx 1.3.h there are some macros that you can decomment to get debugging information like that (not EXACTLY like that, but you can see every RDP instruction executed).
I have a graphical debugger (if the correct .3df files are present) that allows me to click on triangles and see info about them, and to click on textures in the cache and get info about them too. When I click a triangle that's not working, it gives me a #, and I log a single frame to file. Then I search for that # in the file, and see what it's trying to do. (btw, I think the debugger might be released within the next 2 versions, I just need to find out how to implement a binary file as a resource and get it to WORK) I will probably not put an option in for logging, as it would add a large amount of if statements to my code. It's much easier to just have a macro that is either defined or blank.
What I need help with at the moment:
Compatibility with other emulators, such as 1964