Commit Graph

2725 Commits

Author SHA1 Message Date
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
matusz 8d4a505f72 gtk-port: unhide cheat menu items
limit cheat size option to 1-4
2009-06-17 18:04:10 +00:00
riccardom 7ca7824ebf Hook fake mic in cli frontend: use m to toggle. 2009-06-17 17:23:52 +00:00
riccardom a2b08efbd7 Random cleanup: fix whitespace in config check, remove commented debug code. Cleanup a bit initGL. 2009-06-17 17:19:06 +00:00
zeromus 2a86619492 ditto 2009-06-17 05:07:52 +00:00
zeromus ff8be953a9 update dsm spec 2009-06-17 01:23:43 +00:00
p989 e2206215bf parenthesis 2009-06-16 19:44:46 +00:00
zeromus 0579983459 adding these files seems to help vc++ express build. i think it doesnt break full vs because their builtin versions have higher priority? 2009-06-16 19:43:19 +00:00
p989 eb05c12759 preliminary lid recording 2009-06-16 19:39:21 +00:00
zeromus e91c8f89c1 resource.h instead of resource1.h 2009-06-16 19:38:22 +00:00
zeromus 8a020c11ba try fixing rc to work in 2010 and 2005 2009-06-16 18:58:58 +00:00
p989 5688e953ca ported previous 2009-06-16 18:43:36 +00:00
mtabachenko 08628592cf - sse2 optimizations (speed test http://www.turboupload.com/uzmjnuzfbvf1/test_matrix_SSE2_09-06-16.ZIP) 2009-06-16 18:01:56 +00:00
luigi__ b7f41c4ff1 Remove including of targetver.h. 2009-06-16 17:36:43 +00:00
luigi__ f02500bf67 Fixed the first (and hoefully, the last) problem. 2009-06-16 17:25:14 +00:00
zeromus 827322a013 try fixing resources for vs2005 2009-06-16 17:19:05 +00:00
luigi__ 1382b51492 Saved resources from VS2010 resource editor. Please check that nothing was broken.
If everything went fine, then WE DON'T NEED RESEDIT ANYMORE!!! EVERYTHING IS LIKE BEFORE!!! EVERYBODY CAN NOW EDIT DIALOGS!!!
2009-06-16 17:06:33 +00:00
zeromus 5b83d55092 integrate from release branch 2009-06-16 05:50:48 +00:00
gecko_reverse ae6f134406 compile fix for cocoa port 2009-06-15 10:54:27 +00:00
mtabachenko 3ed0604e12 winport:
- fixed search after load savestate and reset game;
- fixed grayed 'OK' button in GBAslot dialog;
2009-06-14 16:44:00 +00:00
matusz 728db76bde gtk-port: cheat-window size-column bug-fix 2009-06-14 01:53:55 +00:00
matusz 4175f299d3 remove a stray variable 2009-06-14 01:31:53 +00:00
riccardom 9000a56039 Add recent cli improvements. 2009-06-13 15:36:09 +00:00
riccardom 8aa6cce8cb Hide cheat system directly in the gui. 2009-06-13 15:27:00 +00:00
matusz a8bed32619 gtk-port: fix a few bugs in cheat window
keeping cheats disabled (until release)
2009-06-13 14:14:43 +00:00
matusz 99e1e3b5d5 defer cheating in gtk until after release 2009-06-13 10:13:35 +00:00
riccardom 808c6f8d3d Fix up annoying warning about declaration vs initialization order. 2009-06-13 09:50:37 +00:00
riccardom d6532cfbe2 No need for extern here. 2009-06-13 08:23:57 +00:00
riccardom d6e495da98 Don't need 100 chars for win title, while at it use snprintf instead of sprintf. 2009-06-13 08:05:34 +00:00
matusz e2e74e9b3e gtk-port: Hook up cheating engine
cheat searching not hooked yet
2009-06-13 08:05:10 +00:00
riccardom 1019c9bb46 Exit when pressing escape, patch by szigor from #2801291. 2009-06-12 20:15:20 +00:00
riccardom 748c4c810b Add auto pause option to cli frontend by szigor from #2801291. 2009-06-12 20:12:08 +00:00
riccardom 9ac2a2a48f Commit a modified version of szigor cli input refactoring patch from #2801291.
The change from the original are mainly moving the input update to an helper
 and calling it in the frameskip loop like it is done on other frontends.
2009-06-12 19:40:30 +00:00
riccardom 27e9db8c6b Add frameskip for cli frontend, patch by szigor from #280129. The FIXME could be easily resolvable so we should fix it shortly :) 2009-06-12 08:03:51 +00:00
riccardom 1de4517874 Fixup whitespace. 2009-06-12 07:25:50 +00:00
riccardom 63a893a277 atoi needs stdlib.h 2009-06-12 07:16:11 +00:00
zeromus b18e0dcb15 gtk: fix movieplaying and add minimal play/record/stop menu support 2009-06-12 07:11:40 +00:00
mtabachenko 45f129f229 - fix bug in init & reset OpenGL engine; 2009-06-11 20:25:27 +00:00
zeromus 0ef0afed15 try a little hack to fix tomb raider underworld savefile which was writing past its 512B limit 2009-06-11 04:33:11 +00:00
p989 1c1dd8bb30 win32: reset mic button buffer pos if not pressed 2009-06-11 04:14:42 +00:00
zeromus 947356fbe1 clean up rom info collection and mix it up with the movie system 2009-06-11 03:40:56 +00:00
zeromus 5e3e6f8676 win32: work around unknown glitch with stdio attachment in visual studio command prompt 2009-06-10 20:59:57 +00:00
zeromus 7d69942bbb gdb stub fixups 2009-06-10 20:30:15 +00:00
zeromus 71eac340d5 work on changelog 2009-06-10 06:49:51 +00:00
zeromus d5dc1f45b1 spu: handle word writes to length register; fixes freeze during maxmod reverb (reverb still isnt supported, though) 2009-06-10 02:04:30 +00:00
zeromus 3cf5ec430a fix a certain pattern of ipc register writes which was breaking devkitpro touch input 2009-06-09 23:14:26 +00:00
zeromus 53aaa6850f set up a system to handle detection of bogus roms by header instead of by extension. fix poly sorting which was broken when changed to a stable sort (will make some invisible gui elements reappear) 2009-06-09 21:15:00 +00:00
zeromus 1828745e5d win32: add commandline handling for play-movie, record-movie, and load-slot 2009-06-09 05:21:58 +00:00
zeromus 28164e5bb2 fix screenshot bugs with rotation and accidentally including hud. rotation is fixed by writing screenshot unrotated since rotation is handled by platform code now and screenshotting is in the core. 2009-06-09 03:50:58 +00:00
zeromus 333a10a655 win32: add ability to disable each gpu, for speedup by halting render of useless screens 2009-06-09 03:35:37 +00:00
zeromus 7dbe16b4c4 only display X when input display is on 2009-06-09 03:06:15 +00:00
p989 952440b17d adjusted mic command number 2009-06-08 22:53:58 +00:00
p989 1b24d34ad2 removed main.h 2009-06-06 15:22:10 +00:00
p989 8ff221a8fa moved ShowInputDisplay 2009-06-06 15:08:13 +00:00
riccardom d38623350f Use tabs for whitespace consistently in MMU_struct. 2009-06-06 13:22:58 +00:00
riccardom 817e6af268 One should be enough :) 2009-06-06 12:41:20 +00:00
riccardom f9caa9490a stricmp is not available on !WIN32, use strcasecmp that is not available on WIN32 but it's already defined as _stricmp in types.h. 2009-06-06 12:33:51 +00:00
gocha d8d593d048 stylus display from rr-branch + minor change 2009-06-06 05:54:25 +00:00
p989 7d7a6c4bfa hotkey config doesn't center 2009-06-06 05:50:06 +00:00
zeromus 38fca0bb3c fix loading of zipfiles 2009-06-06 05:22:00 +00:00
gocha 77a8d25a13 win32: the updown control in ram watch now works well 2009-06-06 05:13:29 +00:00
luigi__ a208def471 For immediate LDR, if we're loading from [PC + 0xXXX], print final offset instead of [PC + 0xXXX]. 2009-06-05 21:09:35 +00:00
luigi__ 72f363a4fb Fixed crash when loading files that aren't ROMs (for example when accidentally dragging some file on DeSmuME's window). 2009-06-05 12:11:09 +00:00
luigi__ 343c013385 Fix two bugs with emulation settings dialog. 2009-06-05 11:52:03 +00:00
luigi__ b95d041976 Oops... the prevoius attempt was fucking horrible. This should be better. 2009-06-04 21:34:25 +00:00
luigi__ 7cb5d48907 Re-add writing to firmware because I need it for testing wifi stuff. 2009-06-04 21:27:31 +00:00
gocha 20c2734317 win32: changed avi framerate very slightly because it seems to have less audio desync. (old one wasn't so bad, anyway...) 2009-06-04 15:06:36 +00:00
riccardom b3a1dde141 Fixup linux build. 2009-06-03 19:10:13 +00:00
zeromus 3499207db6 fix crash in cheat search involving loading state in the middle of a search session 2009-06-03 15:32:51 +00:00
normmatt234 cd5560b966 Fix some broken stuff. 2009-06-03 05:24:23 +00:00
luigi__ ad8fe45f83 Hack a bit the power-on stuff. Fixes some problems with Nintendo WFC config util. 2009-06-02 20:28:38 +00:00
p989 d5aef7da1d preliminary mic recording 2009-06-02 20:22:58 +00:00
riccardom f4fb58d0ff Define empty macros as {} to avoid problem with empty macros inside if statements. 2009-06-02 19:11:09 +00:00
riccardom 327dc2c2b9 Remove unused parameters from NDS_LoadROM(). 2009-06-02 18:52:54 +00:00
zeromus fb6bf65dfd wifi: a timing tweak that may help luigi 2009-06-02 17:42:36 +00:00
luigi__ 7f483fcab4 Cleanup in wifi core:
- removed socket shit (which is anyway not suited to our needs)
- Added a logging system configured by a logging level
- Some other stuff...
2009-06-02 17:10:39 +00:00
zeromus 43b31e3f0c fix (new?) wifi crash 2009-06-02 04:32:21 +00:00
luigi__ 19fa692af8 Clean up packet managing in SoftAP. 2009-06-01 21:52:50 +00:00
luigi__ c2f70995b4 Oops... forgot to undo a hack I had added.
Also added comments about the packet length field in RX header.
2009-06-01 21:33:27 +00:00
luigi__ 5e51f9f1b4 After some fixes into SoftAP I managed to get the Nintendo WFC config util to see SoftAP. But unfortunately the connection test that follows will never end. Another problem to solve.
But first I should clean up the wifi core and add a logging system that I can disable without having to commenting everything :P
2009-06-01 21:12:19 +00:00
luigi__ 37fdc95e87 Wifi writes are written to MMU.MMU_MEM, so I can see wifi memory in the mem viewer. 2009-06-01 20:34:26 +00:00
zeromus 84f01716a1 fix linux builds 2009-06-01 15:10:36 +00:00
zeromus 40d5c4a485 more work on the sav system. see forum for details 2009-06-01 08:40:46 +00:00
zeromus 1ce2cb86f5 fix bugs in wifi no-winpcap handling. make vs2008 debug build able to load savestates. add some notes for luigi with "luigi:" 2009-05-31 23:53:38 +00:00
gocha 9c2369fac6 OOPS, sorry guys 2009-05-31 13:57:00 +00:00
gocha f1aa73d511 59.8261 or 33513982/(6*355*263)? I'm not sure which has less audio-desync, anyway I commented out the alternative framerate for now. (no behavior changes) 2009-05-31 06:45:45 +00:00
zeromus 3ae63b6a0a gpu: fix some probably inaccurate math in 3d blending against 3d. the effects of this are subtle, but see if you think it helps any 2009-05-30 23:25:14 +00:00
zeromus 814078f2ae gpu: blend 3d with whats beneath it in more cases. not entirely sure about the correctness of this, so keep eyes peeled for regressions in 3d/2d compositing 2009-05-30 22:17:05 +00:00
mtabachenko a5ea4e0cc8 - fix bug #2798680 (load & save message display interfere with gameplay) 2009-05-30 20:06:44 +00:00
zeromus 92ded778aa print rom crc32 when loading 2009-05-30 19:00:47 +00:00
zeromus d55b3836ee win32: fix icproj 2009-05-29 09:39:31 +00:00
zeromus 26302fda39 win32: odds and ends to get things compiling in all cases 2009-05-29 08:39:36 +00:00
zeromus f3a0332bc3 i wish i couldve done it right the first time 2009-05-29 08:27:03 +00:00
zeromus 2d622d98e0 core: add a preliminary core commandline parser component. please note that temporarily linux cli may depend on gtk--we should change it to a bare glibc dependency.
win32: add glib. this is a rather behemoth checkin, but I think it will be worth it, as it is a necessary step for unification of some of the linux and windows parts.
2009-05-29 08:26:18 +00:00
zeromus 7b4804b878 win32: attach to existing console (from commandprompt) if it exists instead of always creating a new one. still needs a bit more work 2009-05-29 08:13:06 +00:00
zeromus 29ac31a5a4 win32: redirect stderr to console in addition to stdout 2009-05-29 06:15:29 +00:00
gocha d8d3cd7dc0 GPU_OSD.h -> GPU_osd.h 2009-05-28 22:09:28 +00:00
riccardom 5c7d20450f Revert sputrunc to u32 and change the struct field to u32 too. 2009-05-28 18:20:07 +00:00
riccardom f33e81f7c3 We compare the result of sputrunc alwyas with s32 type so just return it. Well, the real reason is that i'm so tired of that 50 lines warning. 2009-05-28 18:10:50 +00:00
riccardom beecc55eb0 Putting 5000 (OSD_TIMER_SIZE) in a u8 is no fun. 2009-05-28 17:51:09 +00:00
riccardom fa588a6abb Need header for strlen(). 2009-05-28 17:42:37 +00:00