Commit Graph

3299 Commits

Author SHA1 Message Date
zeromus cf0cde6108 gfx3d: fiddle with poly sorting. break some things, fix more things. broken things I think are due to floating point gfx3d math 2010-03-31 19:19:39 +00:00
zeromus 08714ea7f2 make swap_buffers parameter take effect for subsequent frame, instead of previous frame, contrary to intuition and good sense. fixes some dual screen games which have been w/z broken for ages 2010-03-31 06:58:14 +00:00
zeromus ccff2d3149 oops i did that wrong 2010-03-30 08:43:42 +00:00
zeromus 513b3b648f add emulation for spi power management device system power-off and add power management device to savestates 2010-03-30 08:34:01 +00:00
zeromus 3198207ee3 fix interrupt handling to respond immediately when CPSR.I is changed; also double buffer 3d configuration so that the settings in place at the time of flush get used for rendering (important for dual screen 3d games that use different settings for each screen); and handle 3d clear color register more thoroughly 2010-03-30 06:34:08 +00:00
zeromus 79d4d0c3b0 continue tweaking scanline render timing (fix some parallax regressions) 2010-03-30 02:11:04 +00:00
mtabachenko 2cc4debe55 oops :( 2010-03-28 20:20:29 +00:00
mtabachenko 51ad58c5b1 core:
- add support for 16Mbit, 32Mbit, 64Mbit, 128Mbit, 256Mbit, 512Mbit flash memory card :) (NAND not implemented yet);
- fix a "div by zero" flag; 

winport:
- now savetypes in menu create dynamically;
- fix x64 build;
2010-03-28 20:18:49 +00:00
zeromus 0f04ee8a90 fix fog tables more correctly by throwing away top bit and making write-only. add a new test for register tests 2010-03-27 19:18:57 +00:00
zeromus d7d270f52c dont checkin suo 2010-03-26 18:53:54 +00:00
yoshihiropsp 3c57a06635 Xbox Project 2010-03-26 18:51:37 +00:00
zeromus 9e776c48ca check in all the xbox compile fixes after tweaking some things. looks benign. need to test compilation in nix still 2010-03-26 18:22:46 +00:00
yoshihiropsp 68bc1d1901 #undef min max and fix forceinline for XBOX360 2010-03-26 15:38:56 +00:00
yoshihiropsp 5910c2f198 Added XBOX include 2010-03-26 15:37:25 +00:00
yoshihiropsp 855be2fac3 Added Forceinline fix on XBOX360 cannot be used with static 2010-03-26 15:36:22 +00:00
yoshihiropsp ce47b5e87b Fixed GFX3D reset on xbox hardware #define _XBOX 2010-03-26 15:33:46 +00:00
yoshihiropsp 39f549db47 #undef min max for XBOX360 2010-03-26 15:32:15 +00:00
yoshihiropsp 4d0593d1a8 Add _XBOX undefined 2010-03-26 15:30:35 +00:00
yoshihiropsp fb1921507e Added XBOX360 support for compactflash 2010-03-26 15:27:39 +00:00
yabause cbd71f0b71 Reverting the whole tree to revision 3423, please test to
make sure everything is back :)
2010-03-26 14:48:19 +00:00
yoshihiropsp 643fdd4552 Big endian argb 2010-03-26 14:09:25 +00:00
yoshihiropsp ae5b752001 2010-03-26 14:07:31 +00:00
yoshihiropsp a7e636e8b0 Version string fixed for XBox360 new def 2010-03-26 14:05:31 +00:00
yoshihiropsp 30a8f124f1 2010-03-26 14:03:43 +00:00
yoshihiropsp 9d49db9111 Added some define for the xbox360 support 2010-03-26 14:01:24 +00:00
yoshihiropsp b60c6a0cce 2010-03-26 14:00:06 +00:00
yoshihiropsp 390bc43513 Added xbox360 support to desmume Yoshihiro 2010-03-26 13:53:21 +00:00
yoshihiropsp 2902629632 2010-03-26 13:50:14 +00:00
yoshihiropsp 194f66e4e2 2010-03-26 13:48:41 +00:00
yoshihiropsp 1c3bcfbaf8 Added xbox360 support on desmume 2010-03-26 13:47:15 +00:00
mtabachenko fc480466b7 - move xbox360 stuff to new directory; 2010-03-26 13:45:24 +00:00
yoshihiropsp c448f604ad Added xbox360 support by Yoshihiro 2010-03-26 13:26:31 +00:00
zeromus c8210b838d fix dualscreen 3d frameskip screen cloning/flickering regression from r3422 2010-03-25 03:10:11 +00:00
zeromus e068592d6b tweak around lcd line timing: make 3d vblank more generous (is still unrealistically brutal since all the rendering happens instantaneously, unlike real HW); give scanlines more time to render (render at end of scanline instead of hblank begin); execute an additional hblank dma on vcount=262 (speculative; fixes jittery nsmb split-parallax clouds) 2010-03-24 23:13:36 +00:00
zeromus c9f278e00d rasterize: fix fog densities > 127 2010-03-23 21:56:24 +00:00
mtabachenko edb9ebda3f core:
- fix overflow in matrices, NDS using only 24 bits for fixed-point numbers (fixed minigame with carrot :) and dialogs with star in "M&L Bowser Inside Story");

tools:
- add matrix stack test;
2010-03-23 18:56:10 +00:00
zeromus dcb572a348 fix swi 0x0E (crc16); your dawn of sorrow savefiles are invalidated. 2010-03-18 22:19:31 +00:00
zeromus 298c5256e3 debug: get rid of excessive "Reading beyond end of cart" messages 2010-03-18 18:57:36 +00:00
zeromus ee66bde8a0 debug: add no$ message support 2010-03-17 22:45:33 +00:00
zeromus 6a27ce1264 gpu: fix 3d blending color effects being applied when they shouldnt be 2010-03-17 21:25:11 +00:00
zeromus 5916d00047 win32: add menu items for obj display toggle 2010-03-17 19:25:33 +00:00
mtabachenko ef10848729 winport:
- fix input feedback support;
2010-03-17 14:04:50 +00:00
mtabachenko 51d227bff5 core:
- fix matrix stack for Projection & Texture mode (fix bug #2910405);
- fix some typos;
2010-03-17 13:10:15 +00:00
riccardom de1c8aed5a Add gap and resize support to wx frontend
This patch adds gap up to 90px when the user resize
vertically the window.

Speaking of sizes we are losing the last entry in the menu
because it does not fit in the 256 px limit.

Patch #5 by yar-tour from #2969484
2010-03-16 20:33:47 +00:00
riccardom fbe279dbdf Add rotation to wxwidgets frontend
Add rotation to wxwidgets frontend, code derived from
gtk frontend.

rm: my changes are mostly cosmetics (how can you read
multiple statements in one line? a mistery to me :)
and some tidy up for gpu_screen_to_rgb. Let me left
this quote in my defense:
"If you want to go somewhere, goto is the best way to
 get there."

Patch #4 by yar-tour from #2969484
2010-03-16 17:34:53 +00:00
riccardom 59a8ea41ab Add audio to wxfrontend on !win32
I've verified that calling the SPU_* functions without
SPU_ChangeSoundCore() does not harm here.

Based on patch #3 by yar-tour in #2969484.
2010-03-16 14:43:26 +00:00
riccardom ea6222a941 Cleanup load / save states menu
This cleanup the load and save states menu by using
EVT_MENU_RANGE.
Slightly edited from patch #2 of yar-tour in bug #2969484
2010-03-16 14:23:27 +00:00
riccardom 55fdb1b562 Fixup event enum
Using straight standard wx defintion as values in the
enum for events is wrong because we end up reusing the
already defined standard values. Use the wx definitions
directly in the code so we start from 0 in the enum.
This fix the funny random icons in the menu.
Slightly edited from patch #1 by yar-tour in bug #2969484
2010-03-16 14:01:08 +00:00
riccardom 71db5c1c21 Use Destroy() instead of Close() to exit from the controls
dialog.
2010-03-15 10:38:30 +00:00
riccardom c85a15078c Let the wx frontend build without libagg, based on a
patch by Yar-Tour in bug #2969484.
2010-03-14 23:17:21 +00:00