Commit Graph

3297 Commits

Author SHA1 Message Date
riccardom 4433cec8fc Show the view3d stuff and move it under tools. 2010-02-03 13:43:42 +00:00
riccardom 1721251fcb Avoid to link wxlibs with frontends that does not use them
The only frontend that may use wxwidgets library is the
gtk one so there is no need to link the others against
a tons of wxwidgets libs when calling configure with
--enable-wxwidgets.
2010-02-03 13:21:23 +00:00
riccardom 1f745442b8 Use memset to initialize data instead of a loop. 2010-02-02 17:06:55 +00:00
riccardom 7a6c1e5fd7 Plug file pointer leak, spotted by cppcheck. 2010-02-02 16:58:32 +00:00
riccardom 9ade0bd991 Fix a memory leak on error path, spottend by cppcheck.
While at it cleanup a static vs const misuse.
2010-02-02 16:46:44 +00:00
riccardom 8875c7d302 Fix allocation / deallocation mismatch, found by cppcheck. 2010-02-02 15:52:15 +00:00
riccardom 3db430b2bf Fix allocator / deallocator mismatch, found by cppcheck. 2010-02-02 15:47:42 +00:00
riccardom 26c12949b0 Remove some missing bits of disable limiter and sound in
cli frontend.
2010-02-02 13:53:36 +00:00
riccardom a5bbd83c8e Move disable sound and disable limiter switches to common
code.
2010-02-02 09:14:41 +00:00
zeromus 4e7172ac4a win32: fix x64 zlib link error 2010-02-02 05:38:35 +00:00
riccardom aed5f82988 Does not need GTK_CFLAGS here. 2010-02-01 20:46:04 +00:00
riccardom 69bf4a0b03 Don't link unconditionally against libosmesa
fix cli frontend --opengl-2d when libosmesa is available.
2010-02-01 20:22:30 +00:00
zeromus 568e0548e5 gpu: fix broken bg regression 2010-02-01 18:47:35 +00:00
riccardom bfaa92649e SDL_GL_DOUBLEBUFFER is not a valid SDL_SetVideoMode flag. 2010-02-01 17:05:23 +00:00
riccardom 907889d756 Whitespace cleanup. 2010-02-01 15:57:03 +00:00
riccardom 06a820969c Convert cli frontend to common command line handling. 2010-02-01 15:55:15 +00:00
riccardom ed9c5eb8f5 Cflash image file is handled by common code, remove unused variables. 2010-02-01 15:03:58 +00:00
riccardom 541348deda Fix indentation. 2010-02-01 14:51:46 +00:00
mtabachenko 66ec4060e4 core:
- add support for patched firmwares;
2010-02-01 14:47:01 +00:00
zeromus 7abcb201e6 win32: use faster zlib with asm optimizations 2010-02-01 06:37:47 +00:00
zeromus d042d84840 forgot to checkin a file. also, add some little gpu speedups 2010-02-01 05:34:43 +00:00
zeromus a440388cda core: don't execute builtin SWI when intvec is relocated to an abnormal location 2010-02-01 05:23:20 +00:00
gocha b18a6d62ab add lua51.dll and lib 2010-01-31 11:18:27 +00:00
riccardom 1cb3ae44ee Handle the B button again, fix bug #2942776. 2010-01-30 19:59:47 +00:00
riccardom 5df8e5548f Mode desmume_config.* in common dir
Move desmume_config.* in src/ since we are now using it
in three frontends.
2010-01-30 18:07:01 +00:00
riccardom 5a8ec614ba Revert previous commit, should take a rest indeed. 2010-01-30 18:03:33 +00:00
riccardom 7d79980fb0 Oops, write config file in gtk-glade frontend instead of
reading it again.
2010-01-30 17:22:09 +00:00
zeromus d5d24cbb88 gpu: fix some (all?) sprite priority regressions 2010-01-29 20:04:38 +00:00
riccardom 950c6c7460 SoftAP_RXHandler may be static. 2010-01-29 13:43:14 +00:00
riccardom 27484f074f Iniatilize _spu_advanced othwerise we read uninitialized
memory as reported by valgrind.
2010-01-29 11:14:35 +00:00
riccardom 9b8a0dc52c Add a note about using a common place for config and
saves. While at it give credits to OpenAL patch author.
2010-01-29 10:59:41 +00:00
riccardom 269d1940c4 Store config and save*s in user specific config directory
Apply patch #2936906 from Jan Steffens to save config,
saves and savestates in a common dir instead of having
them in the current dir.

The config file is moved automagically but you need to move
the saves and savestates inside ~/.config/desmume/ by hand.
2010-01-29 10:52:53 +00:00
riccardom 9b1d5c4ef2 Convert gtk-glade frontend to gtk config machinery 2010-01-29 10:45:38 +00:00
riccardom 7fefaca661 Add an entry about the OpenAL microphone support 2010-01-28 16:45:56 +00:00
riccardom 540ad3d357 Use DoQuit() when exiting. 2010-01-28 16:34:56 +00:00
riccardom 98f88f2aca gtk / cli frontends update. 2010-01-28 16:33:17 +00:00
riccardom 22d77183f5 Add joystick configuration gui for the gtk frontend
There's no reason why we can't have one too :)
2010-01-28 16:28:31 +00:00
riccardom 16e047c8e9 Implement set_get_joy_key(), set_get_joy_axis() as wrapper
around a get only version of the same. These will be used
in the gtk frontend where we want to have the luxury of
discarding changes.
2010-01-28 16:19:20 +00:00
zeromus 45e95b1a8a gpu: fix sprite rendering order to be front to back 2010-01-28 04:30:58 +00:00
riccardom 136f3a8642 Cleanup ALSA mic initialization
ALSA microphone code still suck but now a little bit less.
Cleanup the initialization:
- use default device
- don't force a buffer size and a period which some drivers
can't support, instead query the driver for them

The next step would be to add use interrupt driven capturing
on a separathe thread but ALSA is a bitch...
2010-01-26 20:47:36 +00:00
zeromus 1d7b5994ee win32: fix background pause menuitem 2010-01-26 17:52:18 +00:00
zeromus 7a96bc7c3a win32: fix occasional race condition crash in subsequent rom loads 2010-01-26 17:47:56 +00:00
riccardom 752a660b7d Whitespace fixup. 2010-01-26 16:20:24 +00:00
riccardom b5b2729ad0 Remove path for local includes
We have src/ in our path so no need all these ../
2010-01-26 15:35:25 +00:00
riccardom 5d6a64797f Read configuration from ini file
Use gtk frontend desmume_config.* machinery to read the ini
file. This should fixup joystick not working correctly as
reported in #2897620.
2010-01-26 15:33:45 +00:00
riccardom 3b9af24780 Make desmume_config.* frontend agnostic
Remvoe references to gdk and gtk frontend specific
configurations.
2010-01-26 15:31:33 +00:00
riccardom 6c996f8993 Init glib threads
We actually does not use them but there's a plan to do so.
2010-01-26 14:38:24 +00:00
zeromus 823030cbaf wifi: fix bugs in winpcap init; gdb: don't emulate hardware while stalled 2010-01-26 09:10:21 +00:00
zeromus 0d47349db8 win32: fix default command in pathconfig dialog to be OK instead of Cancel 2010-01-25 20:59:42 +00:00
zeromus ce0342e702 add capture registers to soundview; emulate remainder of spu mixing functionality; add "advanced spu" sound configuration and --spu-advanced=1 to unlock new features, since they are running a little slow right now. 2010-01-25 07:23:54 +00:00