zeromus
0e2532cc85
rasterize: fix an interaction between polyids and shadows resulting in failure to render shadows sometimes
2009-02-15 01:28:36 +00:00
luigi__
2fbf9e8d94
Fixed the shader availability check once again.
...
Also added more infos for shader creation errors.
2009-02-15 01:19:28 +00:00
zeromus
127f345a9c
apparently the very ancient form was wrong for thumb. now it is back to the most modern form, but it looks different than the arm equivalent. we need an expert to sort this out, or we need to find a rock solid arm cpu emulator and compare it to that.
2009-02-14 22:32:30 +00:00
zeromus
8dd437b984
fix ff4 zoning bugs. its the SBCS/RSCS flags again. I reverted these to very ancient forms, in arm and thumb. Lets try it out for a while.
2009-02-14 22:28:32 +00:00
zeromus
842b39d1a6
fix the RGB ordering of dumped textures
2009-02-14 22:24:45 +00:00
luigi__
7ad6fc5257
Added support for 16-bit and 32-bit read/writes to the RTC reg,
...
and fixed the little-endian commands.
With these fixes, the SPP menu background has now the right colour depending on the time (formerly it was always night blue).
2009-02-14 22:04:24 +00:00
riccardom
fc6cbdf03d
Removed redefition of WORDS_BIGENDIAN on big endian machine as showed by
...
this build log on ppc: http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/2765-desmume-0.9.1-1.fc11/ppc/build.log . Spotted by Andrea
Musuruane.
2009-02-14 13:36:21 +00:00
riccardom
a5cdad9ff8
Apply patch from Andrea Musuruane to fix compilation with g++ 4.4, fix #2599049 .
2009-02-14 13:26:33 +00:00
luigi__
d5c80e3681
Corrected the DS gap to 64 pixels (Thanks to Atma).
2009-02-14 12:20:50 +00:00
luigi__
096ff9dd4c
Added an option to separate the screens. ATM the gap between the screens is white, maybe you won't like it, I'll try to make it prettier in the future.
...
There are 3 options:
-No separation (screens stuck together)
-Narrow border (5-pixel border, like NO$GBA)
-DS (90-pixel gap, approximatively reproduces the gap on the DS)
Also added the missing Help->About menu item to the French and Danish menus.
2009-02-13 14:29:07 +00:00
luigi__
017949cacb
Fixed a bug with PM hours in 24-hour mode.
2009-02-12 18:51:08 +00:00
riccardom
abb57abc6e
Fix "gfx3d.cpp:622: warning: array subscript is above array bounds" by removing that line that is now unused (confirmed by zero).
2009-02-11 20:32:17 +00:00
zeromus
1226363d5d
rasterize: perspective correct material colors--not doing this was a bug. optionally interpolate material colors when clipping. the hardware doesnt do this, but it looks ugly on the hardware and unless I am debugging I want it done.
2009-02-11 08:58:26 +00:00
zeromus
ce7cb192ed
win32: cleanup and fix bug where input is ignored during frameadvance
2009-02-11 05:21:40 +00:00
zeromus
b3d0485587
win32: fix some hotkey bugs. change how the main wndproc works, because it was working in a lame way before. this might have some subtle undesired effects but none of them serious
2009-02-11 04:45:08 +00:00
zeromus
cfdc18fa53
win32: route all the old hardcoded accelerators through the hotkey system
2009-02-11 04:23:52 +00:00
zeromus
4247b76b47
win32: move hotkey code and definitions to its own file, for more easy organization
2009-02-11 03:14:36 +00:00
zeromus
41b8605937
win32: pass #2 of adding snes9x input configuration - hotkey system added
2009-02-11 03:05:59 +00:00
luigi__
c9bf594a3f
POV diagonals now work correctly.
2009-02-10 22:16:18 +00:00
zeromus
4b4b307f0e
win32: try this to fix compilation on older sdks
2009-02-10 21:45:30 +00:00
luigi__
c73cc81494
Added support for decal texture blending and toon/highlight shading.
2009-02-10 16:57:52 +00:00
luigi__
f42c529a5a
Fixed language support for Vista.
2009-02-10 16:28:22 +00:00
mtabachenko
93a6318a42
-fix render & OSD (moved to gpu.cpp)
2009-02-10 12:54:10 +00:00
mtabachenko
7e4d70f2b8
- fix bug #2584564 ;
...
current osd method slow and incorrect. this need to rewrite. I think need make: data send to OSD buffer in core, but data from osd buffer must render in port depend (ex. in windows with DDraw). still this will fix display capture.
2009-02-10 10:56:39 +00:00
zeromus
3cb5c4a7c1
win32: fix joystick up/down; add something back for rumble support, but still havent tested it
2009-02-10 08:21:48 +00:00
zeromus
07ca5cc0a3
win32: pass #1 of adding snes9x input configuration - input binding system and dialog implemented, meshed with our directinput joystick system for rumble support. I have no rumble pad; can someone test it?
2009-02-10 06:47:06 +00:00
luigi__
b24f4fe17e
The window is now refreshed even when resized or moved.
2009-02-09 22:21:14 +00:00
luigi__
7dedcf1ab5
Made the OSD messages totally rotation aware. Thus, for example, when using rotation, the FPS counter doesn't rotate anymore.
...
Also a bit of cleanup (removed some unused funcs in main.cpp).
2009-02-09 22:07:49 +00:00
luigi__
68375447ed
Fixed a bug with texcoord generation mode 2 (normal).
2009-02-09 19:08:06 +00:00
luigi__
32fd9d5ec5
The emu is now paused when minimized.
...
WM_PAINT is handled when the emu is paused so the screen is still refreshed.
The screen buffer is filled with white upon reset, if you don't like it you can set another color.
2009-02-09 18:59:52 +00:00
luigi__
a94dd4290e
The GPU image data is now drawn to a temporary buffer, then copied to GPU_screen.
...
This avoids OSD messages overprinting when the screen isn't refreshed (for example when closing the lid).
2009-02-09 18:08:47 +00:00
luigi__
2a47d2bcf6
Added support for Sleep mode (experimental), so for most games, when you close the lid, the game won't continue running. Also improved a bit the close lid func (no need to pause the SPU).
...
Also added basic support for the SPI power management device.
2009-02-09 17:18:58 +00:00
zeromus
eedd91854f
rasterize: clean up some interactions between translucent polyids and shadows
2009-02-09 02:22:00 +00:00
zeromus
56eb522142
rasterize: stencil shadows
2009-02-09 01:32:47 +00:00
zeromus
d50d5720e7
rasterize: fix same transparent-translucent blending on same polyids
2009-02-09 00:51:19 +00:00
zeromus
22e651884a
rasterize: a trivial optimization which i had been itching to make
2009-02-09 00:23:17 +00:00
zeromus
852ede072a
rasterize: fixes to depth buffering. now w- and z- buffer both work. also update version to 1.9.2
2009-02-08 23:38:21 +00:00
zeromus
be2a4ba077
rasterize: clipping works the way it should now.
2009-02-08 22:52:10 +00:00
mtabachenko
0653b9ec11
winport:
...
- fix Intel C++ project;
2009-02-08 21:42:16 +00:00
luigi__
920be714ac
Stub implementation for ARM7 SWI #7 (Sleep), by writing 0xC0 to HALTCNT, exactly as on the DS.
...
TODO: implement HALTCNT at the MMU side.
2009-02-08 21:38:30 +00:00
zeromus
650fa47468
fix to authors file
2009-02-08 21:29:40 +00:00
yabause
9668f3014f
Added some missing files to windows port.
2009-02-08 15:45:22 +00:00
yabause
b5e4481313
s/0.10/0.9.1/
2009-02-08 14:35:05 +00:00
luigi__
f6c6d12fd9
The output sound buffer is now zeroed out before mixing, that prevents noise when the SPU is disabled.
...
Cleaned up the SPU read/write funcs (removed useless switch statements).
2009-02-08 11:49:56 +00:00
zeromus
dcd2d76e96
rasterize: fix the most serious clipping issues which rendered games unplayable. now they are merely ugly
2009-02-08 05:55:07 +00:00
riccardom
5219aca9dd
Fix gcc compilation as suggested by zero on irc.
2009-02-07 17:45:33 +00:00
luigi__
21c2b4ebfc
oops... forgot to remove something. Never mind.
2009-02-07 17:20:13 +00:00
luigi__
e3f4325160
Fixed the texcoord generation mode 2 (normal).
...
I know it's strange, but it seems the transform must be applied on the raw texcoord val, not on the floating-point one.
2009-02-07 17:19:26 +00:00
luigi__
1029997586
Added support for the polygon ID shit, using the stencil buffer.
...
I also changed the values used when rendering opaque polygons or shadows, so they don't interfer with the translucent polygons.
We can now close the bug report #2488334 for good!
2009-02-07 14:18:51 +00:00
zeromus
cb70fb5af6
rasterize: better clipping. still a horrible bug somewhere, and w-buffer doesnt work
2009-02-07 10:11:18 +00:00