Commit Graph

1447 Commits

Author SHA1 Message Date
mtabachenko f15e3c1b6a - added display FIFO data to savestate; 2009-01-18 13:48:18 +00:00
mtabachenko 38bdc6c2f2 core:
- added display memory FIFO;
2009-01-18 13:43:05 +00:00
luigi__ 5b53b8c73e I made the first correct implementation ever for sprite blending!
(Transparency for bitmap sprites isn't supported yet... tell me if you see sprites that still don't blend correctly)
2009-01-18 12:47:53 +00:00
mtabachenko c4a0542ad3 winport:
- fix crash when close the input config dialog and on exit (on systems where no feedback game devices);
2009-01-18 08:07:53 +00:00
luigi__ 45ee9f6bb5 Changed the sprite drawing functions to save sprite type & alpha.
I've figured out how to implement sprite blending, I'll do it soon.
2009-01-18 00:39:24 +00:00
riccardom 4447955558 Fix strange usage of decrement operator. 2009-01-17 20:09:53 +00:00
luigi__ bf5ca69394 Reverted the save file extension to sav.
Why was it changed to dmc ? I can't find a good reason, it's only annoying.
2009-01-17 17:29:47 +00:00
mtabachenko 081a269f94 core: - cleanup LoadROM and adden paths variables; I changed file saves extension for different with others emuls. :)
for saves (memory cards): dmc (DeSmuME memory card);
for quick saves: dsx (DeSmuME saves when x-number of slot);
for cheats: dct (DeSmuME cheats).

may need later add import saves (memory card) from another emuls.
2009-01-17 16:12:46 +00:00
luigi__ e271c6c4eb Reverted the direct sprite blitting as it causes problems when sprites are behind translucent backgrounds.
Added a new param to the sprite rendering funcs, meant for proper sprite blending.
2009-01-17 15:08:55 +00:00
mtabachenko fd69a0e0aa ops... forgot update file :( - fix winport compile 2009-01-17 14:16:07 +00:00
luigi__ 17f285d455 Changed sprite blitting to draw them directly on GPU_screen instead of a separate buffer.
We'll now be able to do proper sprite blending.
2009-01-17 13:48:58 +00:00
luigi__ f538364e3b Added support for disabling the sound speakers (bit1 of POWCNT2) 2009-01-17 12:12:42 +00:00
mtabachenko 2efd0e19e0 core:
- fix lid folding;
- fix rumblePak addon;
winport:
- added feedback support & analog joysticks;
2009-01-17 11:47:13 +00:00
riccardom 02b6c46751 Add needed header osmesa_3Demu.h, remove unneeded stdio.h and move stdlib.h on top because. 2009-01-16 23:04:09 +00:00
luigi__ 26c2dd2ec9 Fixed a possible bug with 256-color backgrounds not using extended palettes. 2009-01-16 22:41:01 +00:00
luigi__ f035b9d331 Removed some hacks that were supposed to force blending for sprites and that actually cause glitches. 2009-01-16 22:07:58 +00:00
luigi__ 171b4aeeba Fixed a bug with scrolling on 16-color text backgrounds.
Fixed a possible bug with 3D layer scrolling.
2009-01-16 20:35:40 +00:00
riccardom 519711e6f8 Add enable / disable audio switch to gtk frontend. 2009-01-16 20:04:00 +00:00
riccardom 58ac31761a This is more useful not commented, desmume handles the error fine. 2009-01-16 19:52:08 +00:00
luigi__ 747cc72948 Fixed scrolling for 3D layer (it would scroll backwards).
Plus, we can now get rid of the start/end params in the 3D GetLine func.
2009-01-16 15:25:12 +00:00
riccardom 6740cc3b7d Put brackets around a possible noop inside an if. 2009-01-15 21:09:43 +00:00
riccardom e8b3a77331 This is static in NDSSystem.cpp so declaring it extern here does not make sense. 2009-01-15 21:02:47 +00:00
riccardom b57533998a Move MAX_PATH definition for _GNU_C platform to types.h since it's used more than once. 2009-01-15 21:01:35 +00:00
riccardom daa2d26ff6 Add chetSystem to compilation and fix compilation. 2009-01-15 20:59:37 +00:00
zeromus 3b32a1cb4e fix texture debug dumping to flip bmp so that they are wysiwyg 2009-01-15 20:16:49 +00:00
zeromus c3e28a662f mount empty memory for tex and tex palette memory when slots are unmapped. provide diagnostics when unmapped slots are referenced by textures. 2009-01-15 19:33:04 +00:00
mtabachenko 92fb5e378f minor fix in cheat system 2009-01-15 11:43:25 +00:00
mtabachenko 8a9103ed33 core:
- add cheat system (i will Action Replay & Codebreaker parser later :( )
winport:
- add cheats finder and cheats editor;
2009-01-15 00:46:18 +00:00
luigi__ 0bdad85503 Added a table for alpha conversion from 5-bit to 4-bit. Avoids having the 3D layer slightly transparent where it should be opaque. 2009-01-14 22:33:43 +00:00
zeromus f5556d2a16 fix more of the same &0xF instead of &0x1F in shift ops problem, this time in arm opcodes. 2009-01-14 19:03:15 +00:00
zeromus 066681fce4 never mind; i have concluded that anyone who says they need the directx sdk is building an old version of the source. 2009-01-14 01:22:59 +00:00
zeromus dd9524bd3c try fixing directx sdk dependencies 2009-01-14 01:11:41 +00:00
luigi__ f49c15fdec Commented out the "depth write for alpha poly" stuff as it causes glitches more than everything else.
Changed the first depth func from GL_LESS to GL_LEQUAL, it fixes Z-fighting in some cases where the depth func is GL_LESS and two elements have the same depth.
2009-01-13 19:58:54 +00:00
riccardom 84e4fa02d3 Comment a variable used for already commented code. 2009-01-13 19:54:13 +00:00
luigi__ 1d9ba5599d Added the pos test coords to the savestate struct. 2009-01-13 19:44:33 +00:00
luigi__ 4ad158ce2f Implemented PosTest (I'm rapid, amn't I ? :P )
It fixes some mini-games in RRR2.
2009-01-13 19:29:47 +00:00
riccardom dc88d927bd Even more hardcore --enable-hardcore. 2009-01-13 19:25:51 +00:00
luigi__ 120d8f29eb Hooked up the gfx3d_glGet{Pos/Vec}Res funcs as I plan to implement these tests soon. 2009-01-13 19:19:40 +00:00
luigi__ 9a49138493 Changed the vertex transformation method so now we don't have to pass the projection matrices to OpenGL.
(I left the proj matrix cache commented so if this change causes problems, we can revert it easily)
2009-01-13 17:32:56 +00:00
gecko_reverse 30eb7eb773 added mic and addon files to cocoa port project files 2009-01-13 12:25:09 +00:00
zeromus 52b49c17e7 fix recently added bugs in texture caching and 4x4 textures 2009-01-13 05:58:06 +00:00
mtabachenko ec0b4547c6 core:
- more correctly IPC FIFO implementation;
2009-01-13 00:59:16 +00:00
riccardom 3f9c4cf341 Cleanup Modify_Layer() a bit more. 2009-01-12 22:41:19 +00:00
riccardom aa62c44724 White space cleanup. 2009-01-12 22:39:51 +00:00
riccardom af7702bb20 tiny style fix. 2009-01-12 21:10:35 +00:00
riccardom 70a8db3231 Try to fix rake compilation for mac port at least :) 2009-01-12 21:07:08 +00:00
riccardom 6340db8150 Move stub mic implementation for not win32 platforms to a separate file. 2009-01-12 20:48:31 +00:00
mtabachenko fd52754682 -fix windows port compiling; 2009-01-12 17:53:01 +00:00
luigi__ 840952a06a Fixed microphone problem 3 : the emu doesn't freeze anymore when closing it. 2009-01-12 16:41:57 +00:00
luigi__ a28d6c1d23 Surprise! Added support for microphone emulation, but only for Win32.
There are 3 problems : 
1. the sound crackles a bit
2. the microphone amplifier isn't supported
3. the emu freezes if you don't close it by the console
2009-01-12 16:17:18 +00:00