Commit Graph

1805 Commits

Author SHA1 Message Date
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
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