Commit Graph

2725 Commits

Author SHA1 Message Date
zeromus 3f3e086d61 win32: what's this..? is it..? could it be..? indeed, it is! a multicore optimization! now featuring all final display logic triple-buffered in another thread. offloads to another thread: rotation, color conversion, filter scaling, and directdraw buffer copy. this makes filter scaling effectively costless. 2009-07-21 01:55:16 +00:00
zeromus f95c64cc6a win32: enable gthreads 2009-07-21 00:08:52 +00:00
zeromus 0d36fecf93 reconfigure sse optimizations. all asm routines have been rewritten with intrinsics so that they are more neatly inlineable; this speeds them up by a couple of FPS; also, they work in gcc; and they can be enabled separately with ENABLE_SSE and ENABLE_SSE2; 95% of the optimizations come from the SSE optimizations, meaning that SSE2 will not be necessary to enjoy the bulk of the optimizations. I think. 2009-07-20 23:33:39 +00:00
zeromus 3abc58ae36 change loadrom() to use FILE* instead of std::ifstream. sidesteps mbcs path issues 2009-07-20 22:55:51 +00:00
p989 17fe2472a2 win32: cursor doesn't get stuck when dragged outside window 2009-07-20 16:03:00 +00:00
gocha 6d4e256d2b Fixed movie length info (60.00fps -> 59.82fps) 2009-07-20 04:37:07 +00:00
zeromus 81b885777c fix some rom loading things 2009-07-20 01:41:22 +00:00
zeromus a61483d87d fix linux compile bug 2009-07-20 01:06:06 +00:00
luigi__ 06e4bcfbb1 zeromus,
(l706) I am okay with these optimizations, even if they don't help much.
But you really, really should avoid giving your macros/variables such...
terrible names. This really looks terrible and unclear.

After waiting a while for you or somebody else to rename those vars/macros, 
I finally decided to do it myself because they were bugging me. It's okay 
for this time, but the next time I see such terrible names in a commit, I'll
just revert it.
2009-07-19 23:13:09 +00:00
p989 2a90946ff5 win32: load archives without temp files 2009-07-19 21:42:15 +00:00
gocha 488fc951d0 Quick fix that should disable autohold while movie playback 2009-07-19 13:07:03 +00:00
zeromus c24caade3e gpu: fix rotozoomed 2d mapped direct color bmp sprites. fixes knights in the nightmare credits intro 2009-07-19 09:41:05 +00:00
zeromus 4a19bac748 gfx3d: i've realized that the poly sorting must happen after clipping. there is no way to do this now, so to approximate really well, it, we will perspective divide the y values. fixes island of happiness shop menus. 2009-07-19 08:23:14 +00:00
zeromus 119deba104 old gxfifo: fix bug which broke galactik football 2009-07-19 07:07:58 +00:00
zeromus 7a2b970aff revert my earlier changes to 0x8000 handling in display capture. i changed my mind, it is working the way it needs to. hotel dusk is broken for other reasons 2009-07-19 02:05:07 +00:00
shashclp 2d6477ce1b - Fixed emulator crash on sample loading failure 2009-07-19 01:23:43 +00:00
zeromus 6c00a49806 gpu: rework capture opaque flag handling a bit. this is a risky change and may break some other capture and layer blending scenarios, but the old way of doing it (writing 0x8000 to vram for opaque black pixels from capture blending) is simply wrong and unworkable. fixes hotel dusk. 2009-07-18 20:24:20 +00:00
zeromus e9d75ad573 rasterize: fix bug in sse texture sampling optimization, fixes ridge racer sky 2009-07-18 18:52:11 +00:00
zeromus f9592ea6d1 gpu: fix layer blending regression, fixes yoshi touch and go 2009-07-18 18:32:10 +00:00
zeromus d8b3a0581d rasterize: fixes to shadows 2009-07-18 18:19:17 +00:00
riccardom 706af15ebe Remove dumplicate double dummy backend from SNDCoreList. 2009-07-18 16:50:24 +00:00
riccardom e96e14d8e6 Shut up gcc's deprecated conversion from string constant to ‘gchar*’ warning. 2009-07-18 13:26:04 +00:00
riccardom 305da3d38a Remove -Wshadow from --enable-hardcore because it triggers so much inside libagg code. 2009-07-18 13:14:23 +00:00
riccardom 2d9bd66224 Declare nds_savestate and nds_loadstate in a proper place. 2009-07-18 13:02:53 +00:00
riccardom 894458bc53 Make some functions static and remove a couple of unused variables. 2009-07-18 12:52:44 +00:00
riccardom a3cbf8ea01 Add missing enum value in switch. 2009-07-18 12:13:45 +00:00
riccardom 194ee3f339 Make a few functions static. 2009-07-18 12:11:36 +00:00
riccardom ec25feee98 Add missing header for memset. 2009-07-18 12:04:36 +00:00
zeromus 062a228877 grab bag of optimizations: many optimizations to sse functions, now using intrinsic functions. this would enable these functions to work on gcc (i think) if our configuration supported it, but it will fail for some vc++ express installations. those guys will have to either #define SSE2_NOINTRIN or help me figure out which installations are broken and why and how to fix it. also, collapse BG layer pixel blenders into a single function, so watch for regressions there. 2009-07-18 09:15:41 +00:00
riccardom baef153e05 Make clear that at least for now antigrain library is mandatory. 2009-07-18 08:57:51 +00:00
zeromus f71921404c win32: screenshot: fix failure to save pngs and failure to respect user specified path 2009-07-17 21:04:42 +00:00
p989 087e9ae5ed display stylus coordinates 2009-07-17 20:33:41 +00:00
zeromus ca6c0db294 dont crash when exiting program 2009-07-17 20:23:17 +00:00
zeromus dd505213be fix path building for archived roms 2009-07-17 17:32:39 +00:00
mtabachenko f6d2ca247e new gxFIFO:
- rewrite GE functions;
winport:
- fix GBAslot dialog;
2009-07-17 09:06:23 +00:00
zeromus ecf5b68df6 a grab bag of optimizations good for about 4fps on my system 2009-07-17 08:33:35 +00:00
zeromus dbe2226498 newemuloop: change main loop to 32bit math for a little speedup and fix a goofup that was costing a small amount of speed 2009-07-17 05:16:07 +00:00
zeromus ccf3535154 newemuloop: fix bug in instruction disassembly logging 2009-07-17 04:51:04 +00:00
zeromus b5d9628a7d newemuloop: bump diagnostic counter up to 22 2009-07-17 04:22:59 +00:00
zeromus bb8e239206 man, i am getting sloppy 2009-07-17 04:17:44 +00:00
zeromus b4c4d55ce2 win32: fix a bug in the last checkin 2009-07-17 04:17:07 +00:00
zeromus 6297f00247 fix screenshot path bugs and add some string utility functions 2009-07-17 04:09:07 +00:00
p989 68cf6f1e5e rework and integrate path settings 2009-07-17 02:37:51 +00:00
zeromus 3c5ad7c896 newemuloop: comment that a little better so i dont forget 2009-07-17 00:15:48 +00:00
zeromus e482c772e2 newemuloop: handle an edge case in timing logic better 2009-07-17 00:09:33 +00:00
zeromus 24a040ef2b gpu: emulate display capture while frame skipping 2009-07-17 00:04:35 +00:00
zeromus ffa4adfc47 newemuloop: add diagnostic code for timer calculation 2009-07-16 23:31:25 +00:00
zeromus 3e9dd9d6c0 newemuloop: fix bug in cascaded timers. fixes shrek streamed music 2009-07-16 23:21:21 +00:00
mtabachenko 980a06f871 - cleanup; 2009-07-16 11:17:23 +00:00
zeromus 00d535f9d3 gpu: fix 128-wide captures. fixes hotel dusk 2009-07-16 09:31:06 +00:00
mtabachenko d8fde20f85 new gxFIFO:
- fix execute 3D commands;
new emuloop:
- add reset ticks counters;
2009-07-16 08:49:32 +00:00
zeromus 55a208d0ee core: remove last traces of MMU_RenderMapToLCD, the heinous function which should never have been used. prevents crash in megaman star force 2009-07-16 08:05:00 +00:00
zeromus 3f291c8e6a newemuloop: fix some timing regressions; win32: improve map view 2009-07-16 07:39:21 +00:00
zeromus 3c0646c423 win32: fix bug where screen scale and size are not correctly handled when relaunching emulator 2009-07-16 05:10:39 +00:00
zeromus 71441a541d newemuloop: bump a quirk detector from 16 to 18. 2009-07-16 04:47:13 +00:00
zeromus 646998871e win32: scalers: add a slightly optimized case for non-filtered. probably doesn't add up to much 2009-07-16 04:45:04 +00:00
p989 da1bc169a1 win32: bilinear filter 2009-07-16 04:08:18 +00:00
zeromus 9735a8a1fd new gxFIFO: fix tags on savestate struct (crazymax: these must be different for each thing in the group! its poopy, i know.) 2009-07-16 04:05:25 +00:00
mtabachenko aa84f1529e new gxFIFO:
- fix for work with new emuloop;
- add early implementation of pipeline;
2009-07-15 22:46:33 +00:00
zeromus 6275b5d746 newemuloop: fix read of timers which aren't turned on. fixes staff of kings launching 2009-07-15 21:57:23 +00:00
zeromus 7f13b77a78 zzz reduction surgery 2009-07-15 20:44:07 +00:00
zeromus 28435d9334 totally rewrite main emulation loop! YOUR SAVESTATES ARE INVALIDATED. your timing is all different. but, your timing is more precise, a few hidden old bugs surfaced and were smashed, and some games work that didn't used to. INSTRUCTIONS_PER_BATCH is a thing of the past. crazymax and luigi, I may have broken your parts, but hopefully only a little bit. your new hookups into the emulation loop are more complicated but potentially faster and definitely more precise. 2009-07-15 19:42:32 +00:00
p989 b54420e5a7 win32: save and load filter settings 2009-07-15 18:41:29 +00:00
zeromus 2e592dca73 oops 2009-07-15 17:52:34 +00:00
zeromus 215a6cb6fa win32: make scanlines look more like lcd scanlines. 2009-07-15 17:44:06 +00:00
p989 8ea1fc16c7 win32: upscaling image filters 2009-07-15 16:50:52 +00:00
p989 47bea83c76 win32: more refactoring 2009-07-14 23:30:51 +00:00
p989 cb09cf5170 win32: some presentation refactoring 2009-07-14 21:15:06 +00:00
riccardom 633a5638a7 Apply workaround patch for compiling against nvidia headers posted as
#2819332 by larryhaja. It reports that the patch fixes compilation for him
and it doesn't break it for me so hopefully there aren't regressions.
Said that i've tried to define GL_GLEXT_PROTOTYPES at configure time but
it breaks compilation and making OGLRender.cpp:133 not optional looks way
more risky.
2009-07-14 19:02:15 +00:00
riccardom c0fc487be3 Add a note for alsa microphone to Changelog. 2009-07-14 18:27:58 +00:00
riccardom 5c61957e10 Fix typo, sorry. 2009-07-14 18:06:13 +00:00
riccardom 8b4736e078 Add chinese translation to gtk-glade frontend done by F.E. Nebula, shouldn't hurt :) 2009-07-14 16:59:07 +00:00
mtabachenko a6b05cf101 - fixes in new gxFIFO (NSB, FFx, Arcanoid and others work now)
- fix 3D flush;
2009-07-14 16:13:50 +00:00
riccardom 01af8a7453 More work on the alsa microphone so that it is near an usable state. Actually it
does a pretty good job recognizing when i clap hands, decent when i blow,
epic fail when speaking. Progress nonetheless! \o/
2009-07-13 19:27:25 +00:00
zeromus f152bd98bb gpu: fix the ancient comment which deceived me into making that mistake in the first place 2009-07-13 07:40:16 +00:00
zeromus 875d4ae2a6 gpu: fix 256B granularity sprite addressing for sub gpu (fixes pinball deluxe) 2009-07-13 07:38:04 +00:00
zeromus 048d2318a0 gfx3d: cache rendering params at flush time, instead of using values which happen to be current at scanline=0 when we do 3d rendering. fixes trouble pop bubble 2009-07-13 06:35:33 +00:00
zeromus 319f68ac68 gpu: correctly(?) handle case where backdrop is requested as a top blend layer. fixes ff3 fading text 2009-07-13 05:15:25 +00:00
zeromus b7ffd2a806 rasterize: fix an alpha blending case 2009-07-13 04:19:42 +00:00
p989 80a2a480c3 agg lua bindings 2009-07-13 02:03:21 +00:00
riccardom 218319d5f9 Add license header to microphone stuff. 2009-07-12 19:47:40 +00:00
p989 3453ac71d4 transformations 2009-07-12 19:41:15 +00:00
riccardom 075455d407 More fixes to alsa microphone, still not enough. 2009-07-12 19:34:54 +00:00
p989 8f1eb173e5 general attributes 2009-07-12 17:32:05 +00:00
riccardom 4fc72bb5e2 Remember to free g_filename_to_uri() result. 2009-07-12 14:04:36 +00:00
riccardom 6739397035 Some configure scripts fixup for libagg, we can check for HAVE_LIBAGG for checking agg library availability. 2009-07-12 10:01:43 +00:00
zeromus 67010790e1 win32: fix screen rotation 2009-07-12 07:47:34 +00:00
yabause 69ac706959 Added support for application/x-nintendo-ds-rom mime type
in gtk desktop file.
Also added some (un)install hooks so that mime type
database is updated when (un)installing the gtk port.
Those two changes let users double-click on a rom to open
it with the gtk port.
2009-07-12 06:22:41 +00:00
gocha ff2de2bc58 win32: fix a glitch that the GetOpenFileName dialog for AVI doesn't appear when the last character of avi output path is '\\'. 2009-07-12 06:01:30 +00:00
p989 e5979f2bc1 fixed a blending bug 2009-07-12 04:55:58 +00:00
p989 9c6426aae4 win32: fix screenshots, path setting disabled temporarily 2009-07-12 04:36:11 +00:00
zeromus 7365c9e6ea fix r,g,b ordering in 555 antigrain renderer 2009-07-12 04:13:22 +00:00
zeromus c87812a0db refactor save slot display; first example of hud operating in linux 2009-07-12 03:52:02 +00:00
zeromus dd05ece216 fix linux compiling and add hud to gtk. wont display anything until someone adds menu items for CommonOptions toggles, but it will eventually. 2009-07-12 03:43:28 +00:00
p989 2802c9a16f savestate slot display 2009-07-12 03:38:20 +00:00
zeromus 1e28d6aebe reorganize hud drawing and move it to the core 2009-07-12 03:18:16 +00:00
p989 6cd699f684 new stylus display 2009-07-12 02:04:22 +00:00
zeromus 64350887cc change hud to use antigrain, fix antigrain compiling in linux (for now, libagg is mandatory; give me a preprocessor symbol and i will make it optional) and move antigrain source back into windows directory 2009-07-12 01:34:27 +00:00
yabause 04f79fb224 recent files now use a better mime type (at least,
something that's already used)
2009-07-11 22:07:35 +00:00
riccardom 71a84795b1 oops, missing backslash. 2009-07-11 21:41:43 +00:00
riccardom 187bb950f3 Removing unwanted file that slipped in. 2009-07-11 21:41:08 +00:00
zeromus 7246a12ced change cocoa to use swrasterize. there are still other bugs... 2009-07-11 21:10:14 +00:00
yabause 2d31b5bb8d Added some #ifdef protection for recent files feature that
require gtk 2.10 when desmume only require 2.8
2009-07-11 19:44:29 +00:00
riccardom 4ccb09d36d Use freetype font backend on !WIN32 2009-07-11 18:46:36 +00:00
riccardom 3307f91dcf More makefile work for libagg, disable libagg dependant stuff until it compiles. 2009-07-11 18:45:54 +00:00
p989 0b9b7dab23 basic shapes 2009-07-11 17:51:34 +00:00
riccardom 1cf0998d34 Add libagg detection machinery. 2009-07-11 17:48:24 +00:00
riccardom 7647ebbccd Put fake mic toggle under FAKE_MIC ifdef. 2009-07-11 17:43:03 +00:00
p989 073b71a46e more drawing funcs 2009-07-11 17:09:43 +00:00
yabause d0200bdbcd Added "recent files" support:
- when loading a rom, the filename is saved in recent files
  with "application/x-nds-binary" mime type
- a new "open recent" submenu let you choose a recent file
  with the "application/x-nds-binary" mime type
2009-07-11 16:08:38 +00:00
riccardom fbc2d8e296 Add alsa cflags / libs to makefiles. 2009-07-11 15:24:53 +00:00
riccardom ba33e8aa6b Brown paper bug: use plughw:0,0 as device instead of default, this is actually an error i introduced and not on the original.
Then check snd_pcm_readi return since it can fails and actually it is doing so.
2009-07-11 15:15:57 +00:00
riccardom fd20b10c90 Need to initialize stuff in Mic_Init(). 2009-07-11 14:37:50 +00:00
riccardom f63909b1d9 Add the alsa microphone implementation done by Heptaeon and posted in the
forum. Dear contributors please don't do that, write to the list, come on
irc, post a patch in sf.net instead.
Anyway this is made the default if you have alsa, tested a bit and haven't
managed to get it working. Since I don't know if it is our bad or common code
issue please test and maybe report back on irc.
2009-07-11 14:21:09 +00:00
zeromus b6c16bdb0c antigrain: add raster font rendering 2009-07-11 08:22:17 +00:00
zeromus 867c17d7a3 more antigrain refactors 2009-07-11 06:46:46 +00:00
zeromus e2a29f6c3e antigrain refactors, need an intermediate checkin 2009-07-11 04:27:03 +00:00
zeromus 11983ace12 move antigrain to core and build with make 2009-07-11 02:51:16 +00:00
zeromus f6f4719115 win32 agg: build with vs2005 instead of 2008; for some reason 2008 produces a lib in this case that 2005 can't handle 2009-07-10 22:41:37 +00:00
zeromus 078ac3bea0 remove the optional gpc component from antigrain, which is licensed under a retarded homemade non-commercial license 2009-07-10 22:27:36 +00:00
wntrmute 2288f5fdf4 remove cflash.cpp/.h add guitarGrip.cpp, enable universal binary 2009-07-10 22:03:59 +00:00
zeromus 0211a78a8e spu: last checkin with spu controls was bad. i guess i committed from the wrong directory. this fixes it 2009-07-10 19:29:05 +00:00
zeromus c2751af7f5 spu and win32: add individual channel muting capability 2009-07-10 18:46:50 +00:00
zeromus 5d40f08ce2 apply patch 2816373 which fixes extension dot parsing for creating save paths from rom paths 2009-07-10 18:15:45 +00:00
mtabachenko 09c7e4bf2c winport:
- fix config load for Guitar Grip addon;
2009-07-10 10:46:16 +00:00
mtabachenko 275cf18417 winport:
- added config keys for Guitar Grip;
2009-07-10 10:34:49 +00:00
riccardom c0e17f2a2b Add addons/guitarGrip.cpp to compilation. 2009-07-09 18:54:27 +00:00
p989 b9e0eee019 marker renderer 2009-07-09 15:52:22 +00:00
p989 082b8a1e92 line renderer 2009-07-09 15:11:48 +00:00
zeromus 7459a4a0db win32: add demo of agg compositing separate lua and emuscreen layers 2009-07-09 08:16:10 +00:00
zeromus d4b9473034 win32: fix vcproj again 2009-07-09 07:36:21 +00:00
zeromus 4eb59b05c1 win32: refactor agg drawing 2009-07-09 05:17:29 +00:00
p989 740fbdf6f6 agg_draw_line_pattern 2009-07-09 03:35:26 +00:00
zeromus 24b0d4cc74 fix vcproj files from antigrain addition 2009-07-09 02:25:39 +00:00
mtabachenko 5d2a46c1ad addons:
- add Guitar Grip device;
2009-07-08 23:26:35 +00:00
p989 20bbb21f56 antigrain geometry renderer and static lib 2009-07-08 23:01:43 +00:00
zeromus b671d2dc37 update version info to 095 and also port changed dsm spec from 094 branch 2009-07-07 23:05:30 +00:00
zeromus 8f2825ca2f rasterize: tweak around alpha blending again, mostly reverting to the older form 2009-07-06 06:54:41 +00:00
zeromus 2a9f14b516 win32: fix map view tool to display more modes, taking advantage of more evolved gpu code. also port changelog from 094 branch 2009-07-06 05:54:02 +00:00
zeromus 6e05ab43a1 rasterize: fix clear image support; gpu: fix a 2d obj mode; and a fix to vram diagnostics printing 2009-07-06 00:21:45 +00:00
zeromus a0c9689b6f rasterize: experimental edge marking; also mess around with alpha blending a bit 2009-07-05 20:02:41 +00:00
luigi__ 8495cce7d8 VS2010 project: Added pathsettings.cpp and pathsettings.h. 2009-07-04 11:09:50 +00:00
riccardom 9fd39b42be Sopt hardcoding dTools_list size. 2009-07-04 09:08:09 +00:00
riccardom b6e6cfd1f0 Remove hardcoded ioregtool in tool menu creation by adding a shortname field in the dTool_t struct. While at it cleanup a bit the names and shrink a bit name field. 2009-07-04 08:56:14 +00:00
mtabachenko 40ac90fa14 gfx3d:
- add SSE2 fix2float (some speedup);
new gxFIFO:
- fix timing for SwapBuffers (Homebrew apps work correct now);
2009-07-04 08:20:56 +00:00
riccardom a30f22976a Fixup whitespace. 2009-07-03 21:06:58 +00:00
riccardom 02915ec2d6 The tileview depends on gtkglext so just make it a stub, not nice but works. gtk-glade is such a mess this isn't goind to be noticed :) This should fix sf.net #2813691. 2009-07-03 19:06:13 +00:00
riccardom 4c42b9ebaf Remove a chunk of double zero-ifdeffed code. 2009-07-03 18:51:10 +00:00
riccardom 52340b1f18 Force lua disabled. 2009-07-03 18:40:32 +00:00
zeromus a266b8239d gpu: fix a couple of obj final pixel rendering regressions 2009-07-03 18:01:59 +00:00
zeromus 04af01a1ef core: emulate dma access to TCM by reading 0 and discarding writes. also fix a bug in the newer (extremely verbose) instruction logging 2009-07-03 09:52:32 +00:00
zeromus fb1bde8d41 gpu: overhaul sprite final pixel rendering to fix bugs and reduce code bloat. I may have broken some things (there are many rarely used configurations in here) but the code is in a final compact form now. also fix some win32 rom path related bugs. 2009-07-03 07:15:17 +00:00
p989 da7cb2fede lua: multiple vms with callbacks, string printing and console output, editing a script has immediate effects, clean up some libs and win32 menus 2009-07-03 06:28:39 +00:00
zeromus 1119a788ef fix a bug in vram mapping diagnostics printing 2009-07-03 02:27:53 +00:00
zeromus 11509592e4 win32: repair path-related things 2009-07-02 05:12:34 +00:00
p989 4dea9cc186 win32: fix lua path 2009-07-01 19:50:06 +00:00
mtabachenko 321873924b sorry, forgot commit resource file; 2009-07-01 10:23:07 +00:00
mtabachenko 9445a175fc - some fixes in gbaslot; 2009-07-01 09:46:41 +00:00
zeromus 7500bd0611 add packing attributes to another fat struct 2009-07-01 06:37:04 +00:00
zeromus 2b83987056 gbaslot is no longer experimental. old cflash system removed. clean up (hopefully) gbaslot cflash configuration system. common command line parsing for cflash. fix bug in cflash path mounting involving struct packing which failed in gcc (fat image mounting remains untested). 2009-07-01 05:51:42 +00:00
zeromus 5a0f4d989a add ideas-style debug console printing commands 2009-07-01 01:27:45 +00:00
p989 a57fd04002 lua: stylus.read 2009-06-30 18:01:31 +00:00
p989 c3d97b7854 move the stylus display to the bottom screen 2009-06-30 15:41:02 +00:00
p989 fa63c0da88 win32: path settings on one page, manual edits saved 2009-06-29 06:59:21 +00:00
p989 515d4e9987 win32: applied hicoder's path settings dialog patch. the default path behavior has changed from putting/looking for files where the rom is to putting/looking for files where the exe is 2009-06-28 18:44:00 +00:00
mtabachenko 8074480ba4 opps 2009-06-28 16:21:31 +00:00
mtabachenko 0046fa5c41 zeromus: sorry, i fix rev.2449 (reverted and fixed); dogs look fine now :) 2009-06-28 16:19:12 +00:00
gocha 845917c43b reset lag counter when reset rom, add reset lag counter hotkey 2009-06-28 06:25:17 +00:00
zeromus 6016b74e94 fix lua engine warnings 2009-06-28 04:15:25 +00:00
zeromus 572365617d clean up auxspicnt emulation 2009-06-28 03:19:48 +00:00
gocha ceea17083d win32: fix turbo start/select 2009-06-28 01:57:38 +00:00
zeromus cb75fa85fb reset frame counter when resetting rom 2009-06-28 01:55:23 +00:00
zeromus bc91ee7d50 crazymax: reverted packed command handling outside of USE_GEOMETRY_FIFO_EMULATION; check wandering dogs on nintendogs intro kennel chooser. im not sure why your approach didnt work. but good work on all the other stuff! i also suggest decoding commands written to registers (including packed commands) and putting them in the fifo since i bet that is how it works (it will simplify the logic as well). ill do this eventually if you dont. 2009-06-28 01:34:16 +00:00
zeromus b194f3566b win32: fix vs2010 vcxproj 2009-06-28 00:03:04 +00:00
zeromus bff9cfdd5e win32: change everything away from fastcall. its not so much faster since all the important stuff is inlined, and it is a huge headache and was going to end badly eventually anyway. also shrink some libs and fix some build errors. 2009-06-27 23:49:59 +00:00
zeromus f99e9e1456 fix a case in the rom header validation 2009-06-27 22:50:48 +00:00
p989 9facabe8a1 win32: 7z, rar, bz2 support, dialog for selecting a file from an archive with multiple files, lua console dialog 2009-06-27 18:41:37 +00:00
mtabachenko 44d89dfcc5 core:
- removed GE IRQ hack from new gxFIFO;
2009-06-27 18:06:12 +00:00
mtabachenko 52f43889b3 core:
- many fixes in experimental GEOMETRY_FIFO_EMULATION (now work many 3D games - Castlevania, M&L - TiP, MetalSlug 7 and many, but glitches in full 3D games: NSMB, FFx, Sonic etc.). need to test.
2009-06-27 15:50:55 +00:00
zeromus c742ca7c82 blahhhhhh update the chinese version of that dialog. 2009-06-26 22:35:10 +00:00
zeromus 8a099f51be win32: fix sound view to show volumes with datashift builtin optionally, and other misc cleanups 2009-06-26 22:32:49 +00:00
zeromus d3ccd7e968 win32: fix vs2008 more. fastcall needs to be removed eventually, it is an epic struggle to continue using it, which will culminate in failure once we start using glibc in more than one file 2009-06-26 20:16:45 +00:00
zeromus f6b07a41e8 win32: fix vs2008 release build 2009-06-26 20:07:07 +00:00
riccardom c5e0f2500e Add the alternative cf implementation from the addons. The plan is to have more instruments to sort out what's wrong with not being able to run pythonNDS demo under linux. 2009-06-26 19:30:08 +00:00
riccardom 78d17e31e8 Compile lua engine on linux if lua is available, still not hooked in gui. 2009-06-26 19:12:23 +00:00
mtabachenko 1af7d5e9ec winport:
- added Lua 'fastcall' library in VS2008; :)
2009-06-26 13:35:05 +00:00
zeromus a18ecb3527 remove <TexCache_TexFormat format> which caused compile errors on one lone person's system. why only him?? 2009-06-26 06:17:20 +00:00
zeromus faa55cf1f7 win32: add lua-engine.cpp to vs2005 vcproj 2009-06-26 06:14:57 +00:00
p989 20b89b2b49 lua scripting 2009-06-26 06:10:28 +00:00
zeromus 918afdcb2b win32: add static lua library 2009-06-26 05:57:05 +00:00
zeromus eac2b05c70 gfx3d: fix advance wars invisible tiles yet again. 2009-06-25 17:08:52 +00:00
luigi__ 92464f0c84 Re-enable wifi usec trigger which was accidentally(?) commented out.
Also, I changed my way so it's more like zero's one, but the decrement value for nds.wifiCycle makes more sense to me. zero, could you consider it please?
Also added some comments.
2009-06-24 23:20:17 +00:00
riccardom 3c184e0cfd make FCEUSS_SaveSRAM static and fixup whitespace on a line. 2009-06-24 21:14:48 +00:00
p989 07df6a630a reset recording 2009-06-24 21:10:10 +00:00
zeromus bcf3b9be14 win32: fix danish language menu selection as reported in forums 2009-06-24 20:35:37 +00:00
zeromus d647b9f481 gfx3d: a refinement to poly sorting 2009-06-24 19:23:37 +00:00
zeromus fc43f75b70 gpu: change affine bg drawing to use more accurate vram mapping. fixes some display issues, costs some speed. 2009-06-24 06:03:19 +00:00
zeromus 8ca0cddb7c gfx3d: add a default clear depth of maximum value (most distant) for games which never set it. 2009-06-24 05:17:32 +00:00
zeromus 1b44158f75 gfx3d: fix an ancient bug in matrix set position. fixes some mispositioned verts e.g. diddy kong racing 2009-06-24 00:40:40 +00:00
riccardom d489599bc6 Add X includes on darwin platform to allow cli frontend build on mac os x out
of the box. .lart^Wthanks giskard for the help.
2009-06-23 18:15:00 +00:00
zeromus 7789ebb3f1 oops 2009-06-23 04:45:47 +00:00
zeromus 263617e84b add some persons's osx chinese translation 2009-06-23 04:24:55 +00:00
zeromus 6b9f3f6b5b osx: apply save type selection patch 2009-06-23 04:14:17 +00:00
zeromus dd704aa865 win32: add background pause 2009-06-23 03:56:38 +00:00
zeromus 197392788a win32: fix bug in rc and add 2.5x window size 2009-06-22 20:50:24 +00:00
zeromus d8cb1ea638 rasterize: fix depth buffering again. 2009-06-22 18:05:47 +00:00
riccardom e9ebd7df18 Fix compilation with EXPERIMENTAL_GBASLOT defined. 2009-06-22 07:53:38 +00:00
zeromus af53b8e106 gpu: add experimental handling for a case of translucent bmp obj blending 2009-06-22 06:09:37 +00:00
zeromus 41a953f4a6 rasterize: fix highlight rendering 2009-06-21 19:26:13 +00:00
matusz 15b2a7cbc1 gtk-port WIP: building cheat searching dialog 2009-06-21 17:26:27 +00:00
riccardom 643d8f460c Shut up a couple of signed vs unsigned gcc warnings. 2009-06-21 09:14:10 +00:00
zeromus 83d9d24747 rasterize: remove a recent depth buffering regression in advance wars tile rendering 2009-06-21 06:26:09 +00:00
p989 642cbae742 store ext bios / swi settings 2009-06-20 21:47:58 +00:00
zeromus 4489fcd31f win32: fix svn version reporting in some cases 2009-06-20 21:29:04 +00:00
zeromus 0340f67a5f rasterize: fix toon shading when no texture is set (mario kart star powerup) 2009-06-20 19:27:22 +00:00
zeromus 6550d01a86 shut up gcc 2009-06-20 17:58:12 +00:00
zeromus a410b2f610 win32: fix warning in rc 2009-06-20 17:50:13 +00:00
matusz 7dc2c12bc8 include added parameters in save_movie 2009-06-20 17:49:59 +00:00
zeromus ec3a46782a rasterize: fix battles of prince of persia display failure regression 2009-06-20 17:45:39 +00:00
luigi__ 869ecc2788 Fixed PSG sound which would sometimes not play (regression).
By the way, SPU.cpp should be cleaned up. Some parts are messy and it takes hours to get compiled.
2009-06-20 13:55:56 +00:00
luigi__ c46ab0ca31 uh? need to commit again? 2009-06-20 13:18:50 +00:00
luigi__ f192604d10 Changed intermediate directory to '.VS2010'. 2009-06-20 13:15:07 +00:00
riccardom 35b67fb337 Add a toogle to disable / enable fps limiter while playing. The purpose of this is to fast
forward attack animations from. We don't have patience :) 

This patch is a modified version of the one from szigor from bug #2806869. Please note i've
used the already available boost key (SDLK_o) instead of the tab.
2009-06-20 10:02:37 +00:00
zeromus 1dcbe7b83a oops, left a hack uncommented 2009-06-20 08:02:54 +00:00
zeromus 959207cbeb rasterize: add clear image emulation 2009-06-20 07:57:52 +00:00
p989 c64e50151e starting a movie from sram 2009-06-20 06:28:23 +00:00
zeromus 6cc044c496 win32: add chinese translation 2009-06-20 03:56:12 +00:00
riccardom 1f0cadcfe8 Add enable-wifi switch and proper check for pcap 2009-06-19 22:42:41 +00:00
riccardom e89c997958 Fixup declaration vs initialization order warning. 2009-06-19 22:24:13 +00:00
yabause 792d1ba728 Added some files to distribution. 2009-06-19 21:11:18 +00:00
zeromus 3f80c39f33 win32: fjx types.h and add version.h to vcproj files 2009-06-18 20:14:58 +00:00
riccardom fa2afc6386 Fixup compilation and remove duplicate stuff rom types.h 2009-06-18 20:10:56 +00:00
riccardom b9f520a85a Allow compilation of linux cli without glib since it does not need it. Probably there is a cleaner
way but since desmume still compiles fine with glib it is not regressing. Guillame take a look at
this and remember we should take a serious look at configure.ac ;).
2009-06-18 19:50:51 +00:00
riccardom 6d66840326 define SVN_REV_STR as SVN_REV if is set. 2009-06-18 19:33:51 +00:00
riccardom bd0f5f9eb2 Define SVN_REV filled with latest svn revision. Code kindly taken from geany project. 2009-06-18 19:21:28 +00:00
luigi__ 05b10e8faa Added a project file for VS2010.
Note: this project is a converted version of the VS2008 project because I'm too lazy to replicate all the settings of the VS2008 project in a new VS2010 one. Please check that it works. I may have omitted important files :P
2009-06-18 16:27:51 +00:00
zeromus 8477368c41 add wificycle to savestate (probably an unimportant bug)
add write_enable=FALSE to backupdevice init (possibly an important bug)
2009-06-18 15:25:41 +00:00
zeromus 33e735a926 hoepfully fix atma's build error 2009-06-18 15:07:13 +00:00
matusz 8028559d84 s/#include "disassembler.h"/#include "Disassembler.h"/
(case sensitive filesystem here and it is capitalized everywhere else)
2009-06-18 10:50:50 +00:00
gocha fbf63505cf AutoHold for L and R 2009-06-18 08:43:58 +00:00
zeromus a55e58a804 update makefile with version.h 2009-06-18 06:51:06 +00:00
zeromus a2897ac198 core: move all desmume version #defines to version.h so that less stuff depends on it;
win32: add svn revision detection and print it in console and title etc.
2009-06-18 05:25:20 +00:00
zeromus caf0952774 win32: fix a ~1month old bug which made memview not able to see dtcm; fix a rerecording desynch bug involving the framecounter being wrong, which causes rtc reads during movies to yield the wrong value at the wrong time 2009-06-18 00:21:46 +00:00
yabause f7e9eb8598 Added some missing file to distribution. 2009-06-17 22:02:06 +00:00
zeromus ada3cc8c59 add a common commandline option --start-paused for when a rom is specified on commandline (but you dont want it to start immediately) 2009-06-17 21:52:40 +00:00
zeromus 258f1fb2c3 move the possibly useless backup memory flushing code to core to make sure that everyone gets it. 2009-06-17 20:30:28 +00:00
zeromus c248dd4f1d ok 2009-06-17 20:22:53 +00:00
riccardom f60a8de07d Make wifi compiles for !WIN32, now the only missing bits are configure check for libpcap and runtime testing :).
It is possible that i've made a typo or similar mistake in the wrappers, i'm sorry for that but should be easy to spot and fix.
2009-06-17 20:21:20 +00:00
riccardom b481b8d5d9 Fix warnings and add libpcap include for !WIN32, need more fixes to compile. 2009-06-17 18:59:43 +00:00
zeromus dfcbea4161 win32: fix bugs which made compling without EXPERIMENTAL_WIFI fail 2009-06-17 18:55:03 +00:00