EmuNewz Network
r2274??? magic!????? new Function??? - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: JPCSP builds and releases (https://www.emunewz.net/forum/forumdisplay.php?fid=53)
+---- Thread: r2274??? magic!????? new Function??? (/showthread.php?tid=7004)



r2274??? magic!????? new Function??? - lwj1985 - 08-15-2011

Here we have a testers,he Strong as an ox,Is waiting for test.....AngryAngryAngry


RE: r2274??? magic!????? new Function??? - beanclr - 08-15-2011

What!? Also I think that comment wasn't meant to be serious.


RE: r2274??? magic!????? new Function??? - soywiz - 08-15-2011

I don't understand what you say. That was somehow a joke. Reflection is like magic and will allow to have a MUCH cleaner code. Easier to maintain and to create.


RE: r2274??? magic!????? new Function??? - lwj1985 - 08-16-2011

Tongueoh.Oh, now I understand....I just want to say I am willing to test the new version.Tongue


RE: r2274??? magic!????? new Function??? - megaten666 - 08-19-2011

So, what's this MP3 refraction thing and what about the MP4? Explain please, I'm eager to hear it. What I read in the Commit log, it seems exciting Smile

And a probably noob question, but cleaning the code can increase FPS? Or it's just something which helps the developers in the future (like changing old stuff or implementing new stuff).


RE: r2274??? magic!????? new Function??? - soywiz - 08-19-2011

Reflection has nothing to do with MP3 or MP4. It is related to programming languages.
It will make the code cleaner and less error-prone. But definetivily not faster, but maybe slower. Though I expect it isn't noticeable.
In the time I have improved some error returning values. And removed thousands and thousands of lines of code. And this, in the end, improves the quality of the code. And that is good.
Now the updated code looks much more sexy and you can see what each function does, watching at the function body. Before some functions had 1 line of real code and 20 lines on checks and decodifications. So you get lost when trying to understand what it does.

So it will help fixing old stuff, and simplifying implementing new stuff. But those changes won't make it faster.


RE: r2274??? magic!????? new Function??? - megaten666 - 08-19-2011

(08-19-2011, 12:24 PM)soywiz Wrote: Reflection has nothing to do with MP3 or MP4. It is related to programming languages.
It will make the code cleaner and less error-prone. But definetivily not faster, but maybe slower. Though I expect it isn't noticeable.
In the time I have improved some error returning values. And removed thousands and thousands of lines of code. And this, in the end, improves the quality of the code. And that is good.
Now the updated code looks much more sexy and you can see what each function does, watching at the function body. Before some functions had 1 line of real code and 20 lines on checks and decodifications. So you get lost when trying to understand what it does.

So it will help fixing old stuff, and simplifying implementing new stuff. But those changes won't make it faster.

Oh... Anyway, I see now. I studied "web development" at my school and there is one thing I know for sure: there's nothing worse than hundreds of messed up line of code Big Grin (PHP+MySQL f*ck yeah Big Grin)


RE: r2274??? magic!????? new Function??? - Itaru - 08-19-2011

This reflection magic is neat, but I wish to report that the jpcsp.HLE.modules150.sceFont class is broken starting with r2282. I get a bunch of method call errors from sceFont, and this affects Dissidia Final Fantasy which uses fonts from the flash0 folder. At least the reflection error messages seem to be working. Smile


RE: r2274??? magic!????? new Function??? - Itaru - 08-20-2011

Oh yeah, I forgot to mention that the jpcsp.HLE.modules150.ThreadManForUser class is broken starting with r2286. Games such as The 3rd Birthday can no longer run due to unknown id 0 during hle.IoFileMgrForUser seek.