Great work Zion! Downloading now! :thumbup:
Keep it up Zion![]()
Thanks Zion! Nice to see projects like this.
But it's not an emulator. It's an interpreter... still a great job.
But is it superchip compatible? If not, I'll just stick to my HP48G.
im glad he is improving to code in c
good job
I'm glad you finally released it properly. A few suggestions: In the command line checker, add an exit(0); so that the program will quit properly on invalid input. You didn't change the output for incorrect SDL allocation (still reads 640x480). You can/should remove all the keyboard related stuff. Through the program you do pretty much identical joystick code 3 or so times. You have no need to check for the output bitdepth format, nor for the endian-ness when compiling for the PSP.
Also, I'm not sure that you have the right, not being the original author to impose your own restrictions on the license that directly contradict the original license.
If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!
My point is not that you were using 3 functions, but that you were repeating the same actions in all three, on top of that you do lots of stuff that just... doesn't do anything.Code:/*sees if a certain key is pressed if so true is returned, else false is returned*/ int comp_keys( byte key_pressed, SDL_Event *event ) { while ( KeyMap_PollEvent(event) ) if ( event->type == SDL_QUIT ) exit(0); if(updown[7] /* LEFT */ && key_pressed == 04 ) return 1; if(updown[8] /* UP */ && key_pressed == 00 ) return 1; if(updown[9] /* RIGHT*/ && key_pressed == 06 ) return 1; if(updown[6] /* DOWN */ && key_pressed == 10 ) return 1; if(updown[2] /*CROSS */ && key_pressed == 02 ) return 1; return 0; }
note: the above may not work perfectly (as I don't have a dev environment to test it out on) but look at the code, you don't use/need any of the variables you declare in there, etc.
If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks