Commit Graph

1370 Commits

Author SHA1 Message Date
MightyMax 3fde410ecb MMU_write32: replaced comparison heavy (two per case: >=,<) if-chain with a switch/case (only one if can be true at any time) 2008-12-31 20:00:14 +00:00
shashClp b47d95082d Reapplying the changes, as fixing was just looking
the changes and adding a cast, as it was in the
past. Avoid reverts when the fix is as simple as this
one and everyone will be happier :)
2008-12-31 18:10:43 +00:00
riccardom 475d0151cc Revert revision 1338 "Reduce code required for some flag calculations in two opcode's. (Shouldn't break things but best too do more testing before adding to release branch)." because it broke compilation on linux. 2008-12-31 17:34:03 +00:00
yabause 8284e81037 Removed zero_private from distributed files 2008-12-31 14:54:59 +00:00
mtabachenko 7c7cd504d2 core:
- fix BGs;
2008-12-31 14:07:09 +00:00
normmatt234 ed782533b8 Reduce code required for some flag calculations in two opcode's. (Shouldn't break things but best too do more testing before adding to release branch). 2008-12-31 11:24:55 +00:00
zeromus 462b1fd1cd someone got pushed off the aboutbox list. 2008-12-31 11:12:42 +00:00
zeromus 030cd2a604 overhaul changelog. tried to collapse, reconcile, and merge changes to create a list which will be useful for a press release, since the previous list had been nearly abandoned due to too much happening, and while I was at it I scrounged for good changes back to 0.8. This might be a controversial move, but it is a valuable asset, and i spent a few hours doing it. someone still needs to get all the gtk and cocoa changes in there; i skipped over all of it because I dont know enough about the builds. 2008-12-31 11:11:25 +00:00
zeromus 850882cf01 fix SBC bug in thumb (same bug as the one normatt fixed in arm in r923) 2008-12-31 09:50:11 +00:00
zeromus 2cc03b0a97 - fix bug with 512 tall BG
- remove zero_private junk file
2008-12-31 05:30:31 +00:00
yabause 8272bc6f4e More files in "make dist" 2008-12-30 22:51:42 +00:00
riccardom 8eb3f15f11 Make some data const. 2008-12-30 19:38:40 +00:00
zeromus 1312875f80 disable bios loading. this was for our testing and not for general consumption. we will make it solid in 0.91 2008-12-30 19:32:49 +00:00
zeromus 65b8130f34 removing old code from gpu 2008-12-30 18:55:32 +00:00
riccardom 38069dd9bc Fix compile error for not gtk. 2008-12-30 18:41:56 +00:00
riccardom 6191ccbdca Remove variables not used warnings. 2008-12-30 17:34:40 +00:00
riccardom a363735acc I know you would hate me but these functions are too big to be inlined by gcc.
Does it make any difference in windows? if so feel free to revert.
2008-12-30 17:30:28 +00:00
riccardom 5f19ca6fd4 Fix "format not a string literal, argument types not checked" warnings. 2008-12-30 17:12:01 +00:00
riccardom 00f4c97cca Fix "enumeration value not handled in switch" warnings. 2008-12-30 17:11:24 +00:00
riccardom 9d46a3b9e4 Rework conditionals in execsqrt() and execdiv() so that gcc stop saying that ret, den and num can be used uninitialized. I assume that all the possibile value of the test are already there otherwise these changes are wrong! :) 2008-12-30 16:32:26 +00:00
riccardom d7d19e4a7d Make a couple of functions static. 2008-12-30 16:16:31 +00:00
yabause 6a4b9900a5 one more file to "make dist" 2008-12-30 16:13:35 +00:00
riccardom ba0adfcf7e Cleanup packed attribute headers for gcc. 2008-12-30 16:09:24 +00:00
mtabachenko ffca57c181 remove INFO() 2008-12-30 15:42:33 +00:00
riccardom 9cb3b76e74 Ok, This stuff is not used and that's not very elegant but that would be at least a leak and this shut up gcc. 2008-12-30 15:40:12 +00:00
riccardom fcf045ac18 Fixup gcc warnings:
- add missing header include for DecryptSecureArea declaration
- make some functions static
- put under if 0 stuff currently not used
2008-12-30 15:38:23 +00:00
riccardom 9e8f19ebf9 The name should be const. 2008-12-30 15:35:57 +00:00
riccardom ecd509166f Fix screen corruption by missing memory zero'ing. 2008-12-30 15:31:39 +00:00
riccardom d386158e49 Fix up ARM9_struct definition. 2008-12-30 13:43:32 +00:00
luigi__ d1502f5bee The clear alpha is now the one selected by the game.
Removed the stencil blitting stuff, as it doesn't take care of whether the rear-plane is opaque or not (I left it commented if you've a good reason for re-enabling it).
2008-12-30 12:39:20 +00:00
luigi__ 879586c4fa The color effects are now correctly applied to the 3D layer.
3D/2D blending is now performed by the 2D core. This gives a speedup when the blending isn't enabled because the GetLine func doesn't have to perform any blending now.
2008-12-30 12:31:47 +00:00
zeromus 3c4f23cd39 - fix vs2005 project after asm file removal
- fix error in new fadein/fadeout table usage (pixels werent masked by 0x7FFF causing table overruns)
2008-12-30 05:01:30 +00:00
shashClp 2b345daffd - Minimal fix to proper GFXFIFO parameter number handling 2008-12-30 04:22:33 +00:00
shashClp 9b770347c3 - Removed custom memcpy routines as they're slower than
the libc ones (check profiling numbers on the developers
list).
2008-12-30 02:32:48 +00:00
mtabachenko e6b450ed9c core:
- rewrited and moved memcpy_fast to new file (.asm) for compiling x86/x64 versions (sorry, if I broke others ports... check it please)
2008-12-30 00:37:38 +00:00
luigi__ a94765be35 Added tables to optimize fading.
The special effect for sprites was always blending, which broke fading on sprites. Fixed.
The fading is now applied to the backdrop color.
Fixed a bit the windows.
2008-12-29 22:11:26 +00:00
yabause e9574701fb Fixed automake files after removal of dev-cpp files. 2008-12-29 16:23:53 +00:00
riccardom 4ce84965f7 Cleanup a bit NDS_Reset(). 2008-12-29 13:17:58 +00:00
riccardom d3f1925769 Make a function static. 2008-12-29 13:06:42 +00:00
riccardom 1ffc0bc78a Fix a couple of warnings. 2008-12-29 13:05:09 +00:00
yabause 7d0da6ca97 Fixed the sprintf problem.
See http://permalink.gmane.org/gmane.linux.debian.devel.general/135067
for details.
Thanks to debian games team for reporting :)
2008-12-29 12:50:55 +00:00
yabause cfd9b3523c Fixed compilation for linux:
- template stuff should be in .h files
- for some reason you can't use a static function pointer
  as a template parameter
2008-12-29 12:44:15 +00:00
zeromus be25d014cd use template and forceinline magic to speed up rotated bgs. amounts to ~1fps on nsmb ingame. this helps so much because the gpu functions pass around TONS of parameters through bunches of functions and function pointers. there is much more to be done here, but anything tricky should wait for next release 2008-12-29 08:24:00 +00:00
zeromus 9e04b4eceb fixed sprite window inefficiencies. Big speedup; major speedup in SPP. I do not know a good sprite window test case, so i had to test it by turning on sprite window for SPP in a hacky way, so keep your eyes peeled for problems. But even if there are problems, the old way of handling sprite window was unacceptable. 2008-12-29 07:26:15 +00:00
zeromus b4a3551b1c switch back to using templates for mmu 7/9 splitting. to make it worth the trouble, i also split the embedded bios functions in the same way 2008-12-29 01:32:58 +00:00
luigi__ b85473360b Changed the types of the precalc tables as suggested by zeromus. 2008-12-28 23:56:05 +00:00
luigi__ e80bb110b3 A few optimizations to the ADPCM sound decoding func. 2008-12-28 23:40:15 +00:00
zeromus e407e945a5 major speedup to 3d by using a different pixel format for retrieving opengl framebuffer! 2008-12-28 23:22:35 +00:00
gecko_reverse 008523a5ff fixed compilation on osx 2008-12-28 20:12:44 +00:00
mtabachenko 84e6371f2d fix compilation for windows 2008-12-28 19:03:27 +00:00