Commit Graph

1656 Commits

Author SHA1 Message Date
zeromus a0cade405f rasterize: speedups 2009-02-03 08:17:43 +00:00
zeromus 5e90f6ae10 rasterize: perspective correct textures and backface culling 2009-02-03 07:49:28 +00:00
zeromus 517a27294a rasterize: textures, shading, blending 2009-02-03 06:36:36 +00:00
zeromus 0d4cf9fe49 fix a bug in the vertex list generation which resulted in empty, unlinked vertices in the list. also added a few variables to savestate 2009-02-03 04:51:18 +00:00
zeromus d4604c7d81 add recently created files to vs2008 vcproj 2009-02-03 02:36:53 +00:00
zeromus 9c99aa58c8 add new file to makefile. add newline to end of common.h 2009-02-03 02:08:06 +00:00
zeromus 64feb0117c extract texture cache from OGLRender so that it can be reused by rasterizer. add interpolator for material color and texture to rasterizer 2009-02-03 02:03:49 +00:00
mtabachenko 49365a2630 typo fix in 3d save state; 2009-02-03 01:15:57 +00:00
zeromus 73b541a2c7 fix the lurking issue that made alpha permanently break after loading a savestate. astounding, yes, but true. this MUST make it into 0.9.1 2009-02-03 00:06:34 +00:00
zeromus 38d10282f4 rasterize: fix viewport and perspective transformations. now triangles are rendered terribly in the correct place 2009-02-02 22:15:46 +00:00
riccardom fff695d3c1 Remove an empty function, used as a callback though. 2009-02-02 22:11:53 +00:00
zeromus 257a138d82 software rasterizer stub complete with terrible flat shaded tri renderer 2009-02-02 22:09:09 +00:00
riccardom 3d78ca9c1c Hook the nice NDS_SkipFrame() function, this gives us a bit more boost with frameskip on. 2009-02-02 22:03:27 +00:00
yabause c17e0a6037 s/addons.c/addons.cpp/ 2009-02-02 21:47:31 +00:00
riccardom 650ac714da Looks like this should be const instead of static, nothing changed in practice. 2009-02-02 21:18:48 +00:00
riccardom 361220ce5d Enable reset at launch time and not on rom file open. This way it will work even when the rom is passed as argument. 2009-02-02 21:13:15 +00:00
zeromus 2c0656a786 fix changelog 2009-02-02 20:46:21 +00:00
riccardom b068d69810 Remove another unused var. 2009-02-02 20:46:06 +00:00
zeromus e3e45c4606 get rid of gcc warnings. 2009-02-02 20:39:00 +00:00
riccardom d107e7b2f4 Remove unused variable. 2009-02-02 20:34:46 +00:00
mtabachenko 4cb665c1e9 minor fix ChangeLog 2009-02-02 08:08:20 +00:00
zeromus 4bacc49da2 minor speedups to gpu 2009-02-02 04:37:25 +00:00
zeromus 839f66924c fixed a bug in the aboutbox scrolly credits 2009-02-02 02:43:08 +00:00
zeromus 75e56280c1 windows: very slightly speed up rotation / final color conversion 2009-02-01 23:21:41 +00:00
zeromus 499adfe59c work on the changelog 2009-02-01 02:13:22 +00:00
zeromus 869f56bf41 correction to the new affine bg handling: parameters must be reset to the last user-specified value before scanline 0. 2009-02-01 01:28:34 +00:00
luigi__ d66fd4ab85 Rewritten the incorrectly implemented setFinalBGColorSpecialIncreaseWnd and setFinalBGColorSpecialDecreaseWnd functions. This fixes the part 1 of the glitch #2488334 (SPP puzzle glitch). 2009-02-01 00:24:03 +00:00
zeromus 3bb392c413 [ 2488334 ] fix (SPP affine rotation display bug)
also start capturing register disp3dcnt but not using it for anything yet
2009-01-31 23:45:12 +00:00
zeromus 0f8211ec84 add new newIrqFlags variable to savestates 2009-01-31 22:15:20 +00:00
luigi__ 9cd1ad785e Better BIOS IRQ wait routines, supporting old IRQ flags discarding.
This seems to fix all the SPP problems!
2009-01-31 19:37:06 +00:00
riccardom 61a36046d4 Rename a variable that returns something ret from i. 2009-01-31 17:20:49 +00:00
riccardom f9d572f07a Move rom serial related code from NDS_LoadROM to an helper function and clean it up a bit. 2009-01-31 17:01:13 +00:00
zeromus b884832675 re-add my change to stop throttling when frameskip is 0, but do it right this time, so that autoframeskip causes the throttling to enable as a limiter 2009-01-31 16:44:06 +00:00
riccardom 97b86029a6 Add a missing free of a NDS_header struct. While at it cleanup things a bit. 2009-01-31 13:23:31 +00:00
luigi__ 3221fc2a88 Revert the last change because we lost the ability to limit framerate when using auto frameskip, which can be annoying.
I think we should rather add a "Limit framerate" option.
2009-01-31 13:13:54 +00:00
zeromus 36e1fee5fe disable throttling when frameskip is 0 in windows, so you can sort of fast forward, or test how fast the emu is running. also revert a couple hacks in oglrender which I do think cause a net glitch count increase 2009-01-31 05:20:06 +00:00
zeromus 19f9cd36fc fix: [ 2550645 ] Super Princess Peach: crash when starting a puzzle 2009-01-31 04:47:23 +00:00
gecko_reverse 98c68d8d89 added more keyboard buttons to the input settings 2009-01-31 04:36:48 +00:00
gecko_reverse 98528a75a7 fixed left and right key config (thanks to Arakun for finding the bugged code) 2009-01-31 04:20:53 +00:00
zeromus bf054c32ed fix vertex source texcoord generation (fixes environment mapping e.g. stars in sm64); this is a low risk fix and could be safely ported into release branch 2009-01-31 04:01:10 +00:00
zeromus 2578a0a291 fix a serious bug which crippled 3d engine loading from savestates. this should be ported to release branch. also add some missing dma state to savestate. 2009-01-31 03:40:20 +00:00
zeromus 09229a159e fix dual screen 3d bug: when capturing 2d+3d output, but the display mode is not producing 2d+3d data (such as in vram display mode), then we should peek directly at the 3d output as if we were capturing 3d output only 2009-01-31 02:58:45 +00:00
luigi__ e4a7588d4a Added casts from s16 to s32 in the PSG noise func.
Added the new channel_struct variables to savestates.
Fixed the wave write core (WMP doesn't complain anymore when playing a wave file recorded from DeSmuME)
2009-01-30 13:08:50 +00:00
gecko_reverse 8c2a951941 mac compile fix 2009-01-29 23:54:55 +00:00
zeromus e661331bd1 revert something crazymax did in dma which broke repeating dmas 2009-01-29 14:38:11 +00:00
luigi__ 18fa16d748 Added support for PSG white noise. 2009-01-29 14:34:28 +00:00
riccardom a87501a235 Put brackets around a possible empty macro. 2009-01-26 19:52:42 +00:00
riccardom 23cffd809c Make gfx3d_FlushFIFO() static. 2009-01-26 19:51:07 +00:00
zeromus 2df831cbb0 add some diagnostic messages 2009-01-26 18:43:34 +00:00
mtabachenko 4e9176a4c0 core:
- add busy flag in GXSTAT for BoxTest, PosTest & VecTest;
- fix pop matrix stack;
- GXFIFO emulation (with USE_GEOMETRY_FIFO_EMULATION definition in FIFO.h): I some corrected FIFO, but this have errors. On Homebrew roms (with small commands buffer) it`s work perfectly, but in commercial games with glitches. I can`t understand when it is needed flush GXFIFO to render. I always get the buffer overflow and loss of data. Where is a bug? I wrote small test for GXFIFO for comparing to the real DS (http://www.turboupload.com/files/get/wuf9IR3Oo1/fifo-3d.zip)
2009-01-26 13:18:17 +00:00