Commit Graph

2987 Commits

Author SHA1 Message Date
nitsuja a3fd06019e some small cleanup of audio output code 2009-10-22 08:59:13 +00:00
zeromus c5e9f51523 fix a bit of a boneheaded performance-slaying bug in spu synch mode 2009-10-21 07:53:22 +00:00
gocha 2a46b30940 luaconsole: add vertical scrollbar 2009-10-20 08:17:56 +00:00
zeromus 38217c032f add synch mode to spu and add necessary dialog configuration. (this is a spu option which fixes most streaming audio). it may become the default after we perform more analysis and refinement. also straighten out all the volume slider bugs. 2009-10-20 06:52:07 +00:00
zeromus 959d551b34 fix clipper to handle output of 10 verts, instead of 8 2009-10-20 05:19:53 +00:00
gocha ab20fa00ca Replace LuaBitOp function definitions with DEFINE_LUA_FUNCTION 2009-10-20 01:12:39 +00:00
gocha ce78157274 Fix timeBeginPeriod-timeEndPeriod nesting 2009-10-20 01:01:34 +00:00
gocha 651aa9e4a5 win32: improved Edit action of Lua console. it tries to open a script by other ways if there is no association with "edit" action. 2009-10-19 04:39:19 +00:00
gocha 2db8e74050 win32: Edit button of Lua Console now opens a script with "edit" rather than "open" on ShellExecute. 2009-10-19 03:49:50 +00:00
yabause 06b13db0e5 Another update to the pt_BR translation by Felipe2 2009-10-18 20:15:40 +00:00
yabause 40ea3c8435 Updated pt_BR translation by Felipe2. 2009-10-18 12:39:46 +00:00
riccardom 72b3c8d375 Disable --enable-memory-profiling since it does not compile. 2009-10-16 20:12:40 +00:00
riccardom e1424ba86c Add Norwegian (Bokmål) Translation to glade frontend from Stian Drøbak, patch #2872647. 2009-10-16 19:22:08 +00:00
yabause 9cd9f8ab58 #ifdef protected lua function calls. This fixes linking problems. 2009-10-16 15:47:24 +00:00
yabause d4c92e2f8a Fixed two compilation errors with g++:
- added typename to iterator definitions
- g++ doesn't like using an anonymous variable as a reference,
  added a local variable to make it happy
2009-10-16 15:46:36 +00:00
zeromus 583fa3089d change relative vertex submission to use the same overflow logic as boxtest, although i have no test csae for this. fix bugs in matrix stack which broke sims apartment pets. 2009-10-16 08:55:48 +00:00
zeromus ca086a3b85 add more flexible mic configuration and add rand() mode for m&l 3 (could be changed to another builtin sample instead if we find one we like). remove alternate flush mode configuration from UI since it isnt even hooked up anymore. 2009-10-15 22:39:52 +00:00
zeromus 9b7fd520cb tighten the 3d timing even more to fix marvel nemesis. this is now clearly at epic compatibility hack level as 3d takes virtually no time to execute, but lets gather data on whether there are any negative consequences. 2009-10-15 18:10:18 +00:00
nitsuja 711d596793 disabling a printf 2009-10-15 10:59:09 +00:00
zeromus f8972f1772 fix boxtest once and for all by correctly emulating the addition overflow, which strawberry shortcake and garfields nightmare were actually relying on. also tighten the 3d timing a bit since strawberry shortcake was expecting the gxfifo to be emptied earlier than it was. 2009-10-15 08:07:01 +00:00
nitsuja 91ced7c47f moved CallRegisteredLuaMemHook into a header so that it doesn't slow down release fastbuild quite so much 2009-10-15 06:34:41 +00:00
gocha e6c0897328 win32: main window now accepts dropped *.lua and *.wch files. 2009-10-15 06:12:02 +00:00
gocha ab70394898 Lua: add memory.getregister and memory.setregister, fix memory.registerexec. 2009-10-15 05:35:59 +00:00
gocha 0ebac3b4af Lua: add memory.registerwrite, memory.registerread, and memory.registerexec. 2009-10-15 04:58:17 +00:00
zeromus 451366ab66 spu: fix the ancient bug in looping adpcm sounds which slew performance. this is what made the adpcm caching option necessary as a workaround. so--get rid of adpcm caching. 2009-10-12 07:41:16 +00:00
riccardom 715b2a0c4c Add --enable-macosxhack to let zero compile the gtk frontend as macos x package. 2009-10-11 21:32:32 +00:00
zeromus 53622dc5f0 just a little cleanup to one of my debug OSD, nothing to see here. 2009-10-11 18:08:25 +00:00
nitsuja 16e20312dd temporary compile fix (until we can clean up this wifi stuff) 2009-10-11 07:32:14 +00:00
nitsuja 7e1c184144 - fixed a bug in MatrixStackInit
- fixed various other savestated variables not getting cleared on reset
- fixed game staying frozen after loading a savestate after the game crashes
- added emu.reset Lua function
- removed a few unused values from savestates
2009-10-11 07:14:35 +00:00
nitsuja 1a7bb26c39 so far I haven't seen this timing option have any effect whatsoever (even in timing-sensitive games) besides slowing down the emulator a lot. I think the result it calculates gets max'ed away the vast majority of the time. And the thing it enables probably isn't very accurate anyway. So let's see if we can get away with leaving it disabled for the time being... 2009-10-11 04:23:13 +00:00
nitsuja 66d36f5989 optimized the clipper 2009-10-11 04:11:41 +00:00
riccardom 481642bc65 Readd glib checks which are needed to build on linux. Then force the dependency on pkg-config because without it we don't have glib which is mandatory. 2009-10-10 20:32:25 +00:00
riccardom dd0286c96c glib is not a local include. 2009-10-10 20:14:35 +00:00
nitsuja 391f277360 fixed backface culling of non-convex quads 2009-10-10 06:14:36 +00:00
zeromus fd4aa08333 modifications for osx gtk building. not sure about the safety of the sdl modifications, and had to temporarily remove the configure check for glib. can someone help me make it bypassed on osx? my gtk/glib setup cannot be detected by the glib detector 2009-10-10 00:39:28 +00:00
zeromus 0589adbb56 fix bug where ramwatch would not update without ramsearch open (thanks cwitty) 2009-10-09 21:33:35 +00:00
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