Commit Graph

2801 Commits

Author SHA1 Message Date
luigi__ d7e57c83bf Okay, re-add SNDDXThread. But newer system. Synchronous with main thread.
No more loopy playback while menus are opened. No more silent playback while
the emu is paused.
(when you open the menu, sound stutters for a quarter of second before
stopping but that's acceptable)
2009-10-09 17:27:45 +00:00
zeromus 1a4423e9c8 fix bug in cflash writing, thanks obcd 2009-10-08 20:13:34 +00:00
luigi__ d8578f1f58 Re-implement BIOS SoundBias function more correctly. Get rid of SPU_ReadLong.
(is the bias feature really used by many games anyway? I don't think so)
2009-10-08 19:58:15 +00:00
luigi__ 1fcd48722a Fix for sound still playing while menu is opened.
While I'm at it, make snddx.cpp more C++.
2009-10-08 19:19:36 +00:00
luigi__ 2a0edb3c90 SPU refactoring, step 1: Goodbye SNDDXThread.
Music doesn't continue playing anymore while the emu is paused.

Feel free to revert.
2009-10-08 18:20:14 +00:00
gocha 680c4b3b00 remove '#ifndef PUBLIC_RELEASE' which surrounds a part of wifi function. wifi function can be enabled/disabled by EXPERIMENTAL_WIFI. 2009-10-08 10:06:14 +00:00
gocha 72108f36d2 Lua: register entire LuaBitOp library. 2009-10-08 03:13:29 +00:00
luigi__ 07bc70c16f Rename GPU_ligne and some derivating functions to something more english.
Not that I'm against French but it makes code cleaner for people who can't read French.
2009-10-07 14:38:16 +00:00
nitsuja 931d45d026 added DTCM and ITCM to ram search 2009-10-07 07:19:46 +00:00
zeromus 20a9a469f6 i probably should not have checked in rand() test data in vectest 2009-10-06 20:49:53 +00:00
zeromus 1f076df6ce fix bug where backup memory resets when rom resets 2009-10-06 20:33:39 +00:00
zeromus 20fe8c2e8a attempt to emulate vectest, but leave logging in because i want a better test case. remove postest printf since i found a few test cases. 2009-10-06 20:31:35 +00:00
zeromus d3915c5f8b give boxtest ability to render the test boxes. now i am certain that games which the boxtest interacts with strangely are actually suffering from bad timing, and returning different boxtest results changes how much rendering they do and thus radically alters the timing. its a false lead, i think the box test is perfect. 2009-10-06 18:32:08 +00:00
zeromus 703a3266b2 preliminary implementation of clipper moved to gfx3d and used for box test. should have fixed all box test issues, but some cases will still fail due to unresolved timing problems 2009-10-06 08:42:55 +00:00
zeromus c986a7eb1a fix old bug causing inability to use gamepads for hotkeys 2009-10-04 22:23:05 +00:00
zeromus d4c5831828 add some emuloop performance diagnostics 2009-10-04 21:25:01 +00:00
nitsuja 385a2cdaa8 optimized fog table calculation 2009-10-04 21:18:59 +00:00
zeromus b2341c6137 re-add arm9 load average tracking, this time displayed in the OSD so that people arent confused by it in the window title. 2009-10-04 18:18:39 +00:00
zeromus 6c019ad77a gxstat shouldnt have a reset method. its constructor resets it. this happens when MMU_struct_new gets reconstructed. 2009-10-04 16:25:07 +00:00
mtabachenko 7e70ed64bb - ops, sorry, I forgot commit some stuff (bug #2868470); 2009-10-03 08:26:43 +00:00
mtabachenko 953ced2c6c core:
- fix bug #2868470 (Pokémon Ranger - freezing at the first battle);
- fix bug #2860505 (Pokemon Diamond/Pearl/Platinum In-game trades not working);

winport:
- fix change sound buffer size;
2009-10-02 17:16:24 +00:00
gocha 7bae874515 movie dialog: fixed subsecond calculation; added subsecond rounding code; expanded the width of frameCount/rerecordCount display. 2009-10-01 14:32:03 +00:00
zeromus 7c082ecaa3 win32: load wav file for mic instead of raw 2009-09-30 23:31:36 +00:00
gocha 3af6e8075b main windows can handle dropped lua script from now. 2009-09-30 04:52:52 +00:00
gocha bc1d031b29 Removed Update_RAM_Watch() lines because it's called from Update_RAM_Search() 2009-09-28 23:42:09 +00:00
gocha 9e8a66a006 win: upgraded hotkey code (ported from snes9x-rr) 2009-09-28 04:15:07 +00:00
zeromus 676c90a0f0 add new "random" mic noise which needed updating since the code which returns samples to the game software was corrected 2009-09-28 00:11:36 +00:00
gocha 32246bac4a close movie file when it's stopped 2009-09-27 06:26:18 +00:00
luigi__ 99473f8d9b Again a fix
Add a missing file again >.<
2009-09-26 11:51:12 +00:00
luigi__ 8fd41a18a6 Fix to VS2010 project: add two missing files. 2009-09-26 11:47:21 +00:00
nitsuja ecbdbf21df adding missing check to an optimization so it can be re-enabled 2009-09-25 15:48:17 +00:00
gocha ce279995de ramwatch: add more (ListView_GetSelectionMark() != -1) checks 2009-09-25 13:30:04 +00:00
zeromus bab64f3c94 gpu: revert an optimization which broke some edge handling in affine bg (fix NYT crosswords) 2009-09-25 05:16:54 +00:00
zeromus a570e7a054 fix a bad bug in savefile handling introduced a few revisions ago due to changes in initialization/reset code flow, always a desmume weakness and area of confusion.... but maybe not for long 2009-09-23 18:48:45 +00:00
zeromus 44ff6e97b4 fix another unhandled command 0xDD case. 2009-09-23 03:07:52 +00:00
zeromus e3b223d046 fix the undefined command 0xDD 00000000 which may have been causing undetected problems 2009-09-22 22:32:55 +00:00
zeromus 3a74300a72 fix regression in gxfifo 0x00 command handling (fixes galactik and nintendogs:dalmatian) 2009-09-22 16:59:33 +00:00
gocha ab8f50eae2 Modify my old comment to fit the current status. 2009-09-22 08:45:12 +00:00
nitsuja 0accc4eaf8 enabling cache emulation. this seems to fix timing bugs in several games. we can worry about the speed later. 2009-09-22 08:31:00 +00:00
zeromus 6cf200b1e1 fix glitches in dma and poor code in command unpacking which were causing some slowdown. clean up ioregview refresh triggering code and add a note about how to cut compile time of gpu.cpp in half. 2009-09-22 03:02:39 +00:00
zeromus 14c011d8de fix gcc compiling 2009-09-21 17:10:52 +00:00
zeromus 523d2713f9 rewrite dma, gxfifo, gxstat, command unpacking; old gxfifo removed; many games fixed, gta and dq4 broken; dma still not finished; your savestates will be broken; have coded 40 hours without checking performance, beware; add dma regs to ioregview, fix cpu selector in < vista; 2009-09-21 01:51:42 +00:00
zeromus 8c6e56e679 fix an annoying bug in mapview that made some layers not show up at all due to interference from blending logic in gpu 2009-09-20 20:20:18 +00:00
nitsuja cb1d7d2f23 - new memory access timing, should be more accurate. this fixes some games for me.
- this includes basic cache emulation, but that's disabled for now for performance reasons
- got rid of the fast fetch execute menu option
(switching between the two should no longer be needed and I don't think we should have things like that be options)
2009-09-20 20:11:16 +00:00
riccardom f78ce4e966 Enable sse/sse2 fast path
Apply patch from cwitty to enable sse/sse2 fast path with
gcc. Patch #2860351
2009-09-19 19:07:59 +00:00
riccardom 47910a5264 Look for modules in cwd instead of home
gmelquio suggests in bug #2862128 we should use cwd and
not force the home directory where looking for modules
like savefiles. Applied a modified patch which uses glib
and does not leak the string.
2009-09-19 17:14:50 +00:00
riccardom 8b7a7f9b50 Move preprocessor directives at column 0, cleanup some risky ifdef usage. 2009-09-19 16:44:20 +00:00
nitsuja 1d9c7c6bc4 some minor optimization and cleanup 2009-09-19 04:46:19 +00:00
zeromus 388c5253e3 add commandline handling for --bios-arm9 and --bios-arm7 and --bios-sw1=1 2009-09-17 21:37:32 +00:00
zeromus ea3e02d098 gpu: a very small speedup by templateizing the wrap logic in affineext modes which is not commonly used 2009-09-17 19:49:10 +00:00