Commit Graph

1486 Commits

Author SHA1 Message Date
riccardom 66a27544f3 More global to local varialbe converison. 2009-01-02 17:36:58 +00:00
riccardom 85a9c6e87d Remove unused global variables, move desmume_last_cycle from global to static in desmume_cycle(), no need to initialize static variables. 2009-01-02 16:47:39 +00:00
mtabachenko 9383c57874 - fix VERSION define; 2009-01-02 10:13:26 +00:00
mtabachenko 564da1a23a - fix Intel C++ windows port project; 2009-01-02 09:52:50 +00:00
zeromus 40c3451047 fix homebrew 3d--one issue, at least. one of the vram register writes wasnt storing into the MMU memory (only executing the reconfiguration logic); but devkitpro is reading back from that register in its function vramIsTextureBank() which is used to allocate texture memory. this system of acting upon register writes, and stuffing the values for use later for register reads, is disturbing and bugprone this way... someone should probably look for early returns from MMU writes and make sure none of them are illegitimate. 2009-01-02 08:20:37 +00:00
zeromus c0e351339f - re-enable the 'suspected invalid' logic in the texture cache after trying to fix what might have been broken in it, which was a failure to invalidate the cache when tex palettes changed.
- fix a bug which breaks any texture that spans a texture bank. this was only tested for 4bpp textures but applies to all but 4x4 and 16bpp
- I believe we were sending the 3d vblank end signal on the wrong scanline
2009-01-02 06:32:09 +00:00
riccardom 08e8a91daf Revert the thumb_instructions.cpp part of 1344 commit too 2009-01-01 23:43:48 +00:00
riccardom 04cfc7ae66 Revert changes from 1344: they break at least audio for me and Luigi__. 2009-01-01 23:28:54 +00:00
zeromus c0284f63f6 disable shaders in 0.9 release. reflect this in changelogs. change version number to 0.9 2009-01-01 21:24:32 +00:00
zeromus 1af2d1026e fix changelog to remove features which arent going to make it into 0.9 2009-01-01 19:28:47 +00:00
MightyMax 0a909c831d more WIFI registers implemented, some fixed to match behavior on hardware 2009-01-01 17:54:16 +00:00
riccardom 43880c9a21 Rename references to .c files. 2009-01-01 17:47:52 +00:00
riccardom d86428576c Cleanup keyval_names.h: move stuff where it should be. 2009-01-01 17:40:16 +00:00
riccardom 4844c3d567 Cleanup struct TextureCache definition. 2009-01-01 16:51:13 +00:00
riccardom 61f71511ca No need to shadow i (gcc warning). 2009-01-01 16:08:52 +00:00
mtabachenko 7f21832b5d core:
-fix texture caching
2008-12-31 20:13:19 +00:00
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