Commit Graph

1918 Commits

Author SHA1 Message Date
zeromus 964e164d2a substantial core peformance improvements of a few FPS: remove checks for 0 parameters in operand ROR which was a big waste of time; also rearranged MMU read/write routines inlinedness and added some early outs for DTCM and main mem. The MMU read/writes are a mess and will be overhauled soon in separate checkins. 2009-03-03 02:01:38 +00:00
zeromus 91b27d48fa rasterize: clean up a little bit and speed up some 2009-03-01 16:40:19 +00:00
luigi__ 45d7d54c40 Some bugfixes here and there. Also, better timing.
And mostly, very incomplete implementation of SoftAP. ATM, it sends beacons every 100 ms, and tries to reply to probe request frames. But it doesn't work yet. If somebody can find what's wrong, he's welcome.
2009-02-27 13:37:29 +00:00
zeromus 3fc3cb346f rasterize: unexpected necessity: render any convex polygon without triangulating (more complex polygons can be created by culling) 2009-02-27 08:53:03 +00:00
zeromus 51ed1af70f rasterize: quads are now directly supported 2009-02-27 07:15:34 +00:00
zeromus 222664eb8c win32: default keyboard config was wrong for L and R buttons 2009-02-27 04:06:58 +00:00
zeromus a1ea7c6c62 rasterize: continue formulating new triangle engine into a form that will be easier to extend to quads 2009-02-27 04:01:26 +00:00
zeromus e7c46f12a0 rasterize: continue formulating new triangle engine into a form that will be easier to extend to quads 2009-02-26 09:06:24 +00:00
luigi__ cfc4dfe53d Coorected errors with WIFI_triggerIRQ. 2009-02-25 21:47:20 +00:00
luigi__ ba617f9b7e More correct emulation of the power registers.
(Tested, doesn't seem to break anything)
2009-02-25 21:32:56 +00:00
luigi__ e05df5f15f Hacked two regs, so most games don't freeze anymore when using wifi functionality.
But I'm perfectly conscient that it isn't correct emulation. I'll try to implement these correctly.
2009-02-25 19:20:47 +00:00
zeromus 2ac6e00def also ifdef my debugging code which only works on windows 2009-02-25 09:58:14 +00:00
zeromus b804bd6ebc add a hotkey to switch gpu cores. add a new triangle rasterizer (currently disabled) which should yield more accurate results once we wrestle with it some more. split the pixel ops out of the rasterizer so that it can be worked on mostly independently. 2009-02-25 09:57:06 +00:00
luigi__ 33ec203f93 Some fixes to the wifi core, mostly to the BB writes, but also a very inaccurate random generator (uses rand() atm), and saving all the I/O values to a buffer, for unsupported I/O ports, and support for 32-bit reads/writes to wifi I/O ports.
Games still freeze on wifi transmission but now they send stuff to the wifi core.
2009-02-24 22:59:41 +00:00
zeromus f0e0d21227 defer installation of polyattr until a begin command, and give a warning when you try to set polyattr inside a begin/end pair since this is probably a mistake. 2009-02-24 20:33:15 +00:00
gecko_reverse 5c158071b8 cocoa port codeblocksproj/rakefile put their stuff in the build folder now 2009-02-24 08:25:50 +00:00
gecko_reverse 714e2b445b added Italian translation to cocoa port thanks to Paolo Bernini. move cocoa translation files to their own folder to simplify things 2009-02-24 03:22:12 +00:00
gecko_reverse 127e0066f2 cocoa compile fix (needed texcache) 2009-02-24 02:19:41 +00:00
luigi__ 2e2f0428ab Fixed a bug with screen gap of 64 pixels. 2009-02-24 00:41:48 +00:00
luigi__ 25a144e820 Display should now work for people who have their desktop color depth set to 16bpp (RGB 565).
Also added more correct handling of unsupported desktop colour depth.
2009-02-17 00:59:35 +00:00
luigi__ 20ff3c2e0f The WM_LBUTTONDBLCLK message is now handled.
This makes the SPP puzzle mini-game much easier to play.
2009-02-16 22:07:37 +00:00
luigi__ 52fc632ec7 Enabled the lid open/close key. 2009-02-16 00:30:59 +00:00
luigi__ f9c98a3202 Fixed a possible bug with read/write flag of big-endian commands. 2009-02-15 12:12:37 +00:00
zeromus 448161a65c windows: change debug builds to use fast floating point. since thats what we want final builds to use. also, prevent hotkeys and input keys from working while the game window is not foreground 2009-02-15 02:22:26 +00:00
luigi__ 40eaf9f5d6 Added support for viewport. 2009-02-15 01:38:48 +00:00
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