luigi__
6a769e0bc0
Moved the timer IDs to an external include because, if they're located in resource.h, Resedit will blow them up when saving.
2009-02-03 21:53:37 +00:00
zeromus
107ede7375
this is what happens when i save resources back out with vs2005. can luigi still load them?
2009-02-03 21:42:06 +00:00
mtabachenko
50e13fc8c6
fix for windows resources;
2009-02-03 21:36:50 +00:00
luigi__
9d6fc8d726
VS doesn't seem to support sublang IDs, so we'll cheat a bit.
...
(Anyway I don't think they're so important)
2009-02-03 21:21:41 +00:00
luigi__
856afa2116
Fixed compatibility with Resedit.
...
Test: just opened the resource file with Resedit and saved it. The file is now said to be generated by Resedit. If VS can't handle it, revert this commit.
2009-02-03 21:11:59 +00:00
luigi__
c0606403cf
Added two defs for Resedit to work correctly with the resource file.
...
(Reminder: I plan to remake the tools and I'll use Resedit as my VS2008 is Express and doesn't have resource edition)
2009-02-03 20:49:01 +00:00
riccardom
a67566b01f
Add static qualifier where due.
2009-02-03 20:08:21 +00:00
zeromus
9ba8408af9
rasterize: i give up trying to make the interpolator precision good. that is a waste of time right now. just clamp material colors to the right range
2009-02-03 19:51:58 +00:00
riccardom
54b392d76b
Add missing files to makefile and add proper includes to let desmume compile again.
2009-02-03 19:40:05 +00:00
zeromus
a680b58121
if microsoft is going to play games with where they stuff their libraries, i will just checkin their libraries myself
2009-02-03 18:32:07 +00:00
luigi__
fbff3694c6
Oops... forgotten to add chan->x to savestates (this variable is needed for PSG white noise).
2009-02-03 17:37:19 +00:00
luigi__
a2548e687b
Added GDI+ setup as I plan to rewrite the viewers soon (they'll use GDI+).
...
But, we do keep DirectDraw for the main window!
2009-02-03 17:34:10 +00:00
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