Commit Graph

1843 Commits

Author SHA1 Message Date
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
zeromus 18fed5b2ac speedup to x/y window handling code by precalculating as much as possible at beginning of scanline or when WIN0H* are set 2009-01-26 09:28:09 +00:00
zeromus fecd7ffd69 fix a bug that made some sprites get cut off in x=255; also some small speedups in GPU 2009-01-26 07:58:13 +00:00
zeromus 9689548ac8 change back to linear interpolation in SPU. it seems a bit extravagant now. perhaps we should make it configurable.. or, for luigi__'s consideration, I added a commented-out cos lookup table instead of doing the full call to cos() 2009-01-26 07:55:36 +00:00
zeromus 990c2a062e fix a bug in windows framerate throttling which made frameskip auto unable to skip frames. 2009-01-26 07:53:42 +00:00
zeromus 1d71a7d4b7 check me crazymax: it is a shame to have to memset the fifo so often. would it be sufficient just to reset the tail? 2009-01-26 07:02:50 +00:00
zeromus 0055130494 readme crazymax: matrix stack "size" is 31 for 32 entry stack (silly, i know) so your overrun check was wrong. 2009-01-25 22:11:50 +00:00
mtabachenko 63605b9967 core:
- added stack level into GXSTAT register;
2009-01-25 20:49:24 +00:00
zeromus b0fbd6a919 fix to sprite windows which I broke the other day. various speedups in win32 and in GPU 2009-01-25 20:16:19 +00:00
riccardom 26dc322b2c Remove extern stuff thas has been made static in GPU.cpp 2009-01-25 15:52:53 +00:00
zeromus 0c8e597533 finish some things i meant to do in the mosaic system and do some other gpu cleanups. 2009-01-25 07:26:01 +00:00
zeromus 1f2982fa5c fix recently introduced bug which made >256 wide BGs crash the map viewer debug tool.
remove redundant GPU blending code and add a lookup table.
2009-01-25 06:12:19 +00:00
riccardom 82b6c5c8ea Reenable gtk-glade compilation with offscreen mesa enabled for gtk frontend. 2009-01-24 13:43:46 +00:00
riccardom a3775a0138 gtk-glade: make a couple of functions static 2009-01-24 13:07:46 +00:00