Commit Graph

2916 Commits

Author SHA1 Message Date
nitsuja 97dd427407 possibly-slightly-better-behaving autoframeskip logic. It's still not completely immune to FPS drops, however (because that seems to require either knowledge from the future, systematic over-estimation, or complete disregard for visual consistency, although it can surely be improved somehow). 2009-11-15 00:49:02 +00:00
zeromus a6eb5c11d9 win32: remove zziplib, no longer necessary with 7z included; remove vs2010 project, hopelessly broken and out of date; cleanup main rom openfiledialog usage w.r.t. suggested extensions; use a zlib which is built more robustly 2009-11-14 19:16:27 +00:00
luigi__ bbcda495e5 SPU:
Oops. After my previous change, sounds couldn't stop playing. Fixed now.
2009-11-13 22:15:09 +00:00
luigi__ 33640517af SPU:
- emulate sound start timings (http://nocash.emubase.de/gbatek.htm#dssoundnotes)
- fix KeyOn condition (KeyOn happens when changing status bit from 0 to 1)
2009-11-13 22:06:13 +00:00
luigi__ 7a650d67ff SPU: since SPU_Emulate_core is called once per hline and resets buf_pos at every call, it doesn't need a whole 740-sample buffer. ceil(samples_per_hline) (currently 3) is enough. 2009-11-13 19:51:32 +00:00
luigi__ 5d362c9409 SPU: small fix to PSG noise. 2009-11-13 17:31:07 +00:00
mtabachenko 38a687eed8 winport:
- add cheats disable menu item;
2009-11-13 10:00:19 +00:00
normmatt234 53fb4ac616 Remove useless wIRQ variable.
Some Made In Ore cart commands added.
2009-11-13 02:46:44 +00:00
zeromus 926ac850ba fix compile error? 2009-11-13 01:56:10 +00:00
luigi__ 3d353ce490 Remove an useless include. 2009-11-12 22:24:23 +00:00
riccardom 9c9b01cb62 And the oldmode should be moved upper too. 2009-11-12 21:13:00 +00:00
riccardom 03214b3848 Move wait4IRQ before intrWaitARM since it used by the latter. 2009-11-12 21:12:05 +00:00
luigi__ f65d5965a5 SPU: correct the framerate to 59.8261 instead of 60. Thank you zeromus ;) 2009-11-12 21:07:06 +00:00
luigi__ 9ce1236c21 SPU: Change the computation of samples_per_hline to something more simple and therefore more precise.
With zeromus's complicated way, the core SPU used to mix 737.something samples per frame... now it should always be 735 samples per frame.
2009-11-12 20:59:20 +00:00
mtabachenko b438ec39b7 core:
- another fix SWI 4/5 (fixed bug #2781521);
2009-11-12 17:29:18 +00:00
nitsuja e3276828f6 new logic for autoframeskip, and new options to limit the maximum consecutive frames it's allowed to skip. the old logic would skip frames in an arbitrary pattern, the new logic prefers to keep the skipping rate steady. 2009-11-11 17:47:18 +00:00
zeromus bbc0a1d6d6 spu synchronizer bugfix: dont perpetually enqueue samples when there is no audio output driver active to dequeue them! 2009-11-10 23:24:45 +00:00
zeromus c7ed3cbc8c remove windows from autotools dist generation. it produces a unbuildable windows port anyway, as many megabytes of additioal headers and static libraries need including. we'll need to package that as an svn export. also update linux build scripts to survive going through a source tarball 2009-11-10 05:53:47 +00:00
zeromus 0ce2f29016 work on changelog. we will be making a release soon. let me know asap if I should give anyone more time. 2009-11-09 07:58:58 +00:00
zeromus f7111cd07a fix inability to toggle between 3d cores (multithread util class couldnt restart) 2009-11-09 07:32:33 +00:00
nitsuja 2d4c9d19e8 fix for hotkeys pressed quickly in a row not working if they use different modifier keys, fix for F10 pulling down the menu if it's been assigned to a hotkey 2009-11-08 22:40:15 +00:00
nitsuja b971c6b4fd disabling WifiComInterface Adhoc for now, I don't think it works yet so there's no reason to let it open network ports 2009-11-08 21:36:42 +00:00
nitsuja 0771dd39cb maybe fixed some sort of wifi shutdown crash 2009-11-08 20:44:49 +00:00
nitsuja 00ef096082 fix for input display and frame counter resetting to off every time you start desmume if you turn them on with hotkeys, fix for "play movie" and "record movie" hotkeys not actually doing anything, fix for "pause" hotkey toggling pause rapidly if held down, dimmed the green (future/physical) textual input display letters 2009-11-08 20:23:41 +00:00
nitsuja e010e03b9c fix for 3d lighting sometimes being screwed up on the frame after loading a savestate 2009-11-08 19:46:09 +00:00
zeromus 58c56aca0b reconfigure wifi configuration so that register emulation is always enabled, and the actually experimental communication is all that is optionally enabled (i.e. softAP/libpcap) 2009-11-08 19:09:15 +00:00
nitsuja 07331b522e shutting down some threads explicitly on app close in hopes that this will reduce the frequency of random shutdown crashes 2009-11-08 19:03:05 +00:00
nitsuja 00b28e5807 add some things to maybe help debug sound quality issues (developer option to record user SPU to WAV, define the sample rate 44100 in a single place, printout on audio buffer clear) 2009-11-08 17:04:07 +00:00
nitsuja 1b7d14c178 removing a workaround for a rasterizer bug that I believe was fixed for real in r3015 2009-11-08 15:50:12 +00:00
nitsuja 09c69e5a2c a slight quality improvement to the slow-motion handling part of the N audio synchronizer method (for an example, mario's jump sounded all crackly before) 2009-11-08 06:22:52 +00:00
nitsuja 19e82b56f8 fix for frameskip making the same image often appear on both screens in dual-screen-3D scenes that run slowly 2009-11-08 05:36:55 +00:00
nitsuja f0a986eeef fix occasional crash or corruption when starting up the audio synchronizer 2009-11-08 04:54:58 +00:00
nitsuja d7d3e9f21b preventing frameskip from affecting frame advance except when also fast-forwarding, and fixing a bug where the very first frame advance would not pause the game 2009-11-08 02:30:42 +00:00
nitsuja 89e4e948c3 reworked frameskipping logic to hopefully fix frameskipping in dual-screen-3d games 2009-11-08 02:27:25 +00:00
nitsuja b0895ec82f fix screwed-up LCD display if you set a rotation and then switch to horizontal layout
(rotation is still not supported in non-vertical layouts)
2009-11-07 20:58:16 +00:00
nitsuja 907657f63b disable border drag gap editing when in a gapless layout 2009-11-07 19:16:48 +00:00
nitsuja 18b7aefa78 - fix border drag gap editing
- double the default sound buffer size back to what it used to effectively be (this will reset your setting once)
2009-11-07 19:13:55 +00:00
luigi__ 09641d27ff Missed a few 5-wide tabs... 2009-11-06 18:03:37 +00:00
luigi__ 829ca50a7a Yet another cleanup:
- change f*cking weird indentation to tabs
- reorganize, put opcodes of same kind together
2009-11-06 17:45:29 +00:00
nitsuja 60534b840d excluding non-4-byte-aligned addresses from 4-byte size value ram searching when "check misaligned" is disabled, because such values should always be 32-bit aligned on the ds and it's confusing to always see unaligned ones mixed in 2009-11-05 08:26:14 +00:00
nitsuja 5902173ae0 fix for sound sometimes looping endlessly if you pause and bring up a menu or dialog,
possible fix for an occasional crash when changing synchronizer mode,
fix for sound.clear not actually working,
fix for screen gap settings messing up certain alternate LCD layout calculations (I thought I already checked this in)
2009-11-05 07:45:31 +00:00
zeromus 7d450e5a13 win32: fix svn rev scanner, which was scanning too deep through all tags and branches and sometimes making VS freeze before proceeding with a build 2009-11-05 04:12:57 +00:00
nitsuja b8625a6f20 possibly fixing a bug where frame advance can run out of control sometimes, and disabling a throttle setting that didn't seem to add much 2009-11-04 11:31:45 +00:00
gocha b117ca793d change the behavior of menu item "Emulation > Pause" to call TogglePause() rather than Pause(); add Increase/Decrease Volume hotkey. 2009-11-04 08:41:43 +00:00
zeromus 961264bd1b win32: fix bug in cflash configuration 2009-11-04 07:47:38 +00:00
zeromus 3411a9c9ca clean up mic configuration and only enable mic when physical mic mode is selected 2009-11-04 03:51:01 +00:00
zeromus a9e0617180 fix 2891025 (random display of black lines polygon?) in rasterizer due to misuse of a global across the multiple SLI threads 2009-11-04 01:57:20 +00:00
luigi__ 2cdc3b828d Cleanup:
- fix indentation so it's tabs everywhere (or almost) instead of some weird mix
- fix some weird namings
- and some others...
2009-11-04 01:34:40 +00:00
nitsuja 71022e6920 various improvements to the new LCDs settings.
- you can select "main screen first" to automatically put the main GPU screen on top. combining this with the "one LCD" setting lets games like NSMB and Sonic Rush be playable on a single screen (it auto-switches to the screen that has the character on it).
- fully exclude screen gap from calculations when in single screen or side-by-side mode
- make OSD elements stay consistently located when flipping the LCDs around
- possibly improved the stylus-dragged-offscreen behavior for the alternate layouts
2009-11-03 17:51:28 +00:00
mtabachenko 2c8473e761 winport:
- fix bug with stylus in vertical swapped screens layout;
2009-11-02 12:22:38 +00:00