Commit Graph

3415 Commits

Author SHA1 Message Date
zeromus e48bd707f3 wx port vcproj 2010-02-04 06:22:54 +00:00
wntrmute 99401dd1f4 fix about dialog 2010-02-04 03:11:08 +00:00
wntrmute fbd2bceab4 emulate 8bit REG_AUXSPIDATA writes 2010-02-04 01:16:08 +00:00
wntrmute ca4912c0f2 fix type error on OSX 2010-02-03 22:30:00 +00:00
wntrmute 20d1adf7b4 use --enable-wxwidgets for wx build as per help text 2010-02-03 22:14:09 +00:00
wntrmute b40dcdf3f7 use __APPLE__ for OSX specifics 2010-02-03 21:55:22 +00:00
riccardom 7d557512be Now that it build we can add the wx frontend, beware it
will hurt your kittens if you try to run it.
2010-02-03 21:29:51 +00:00
riccardom b0596ab4a2 Oops, missed icon and desktop file. 2010-02-03 21:28:09 +00:00
riccardom 8af1a93e77 Rename binary to wxdesume to avoid name clash with gtk
frontend. Add icon and desktop file.
2010-02-03 21:27:00 +00:00
riccardom 87f110db0b Fixup includes and add missing pieces needed for linkage. 2010-02-03 20:58:41 +00:00
riccardom 5b3f629a8d Add missing files to wx build. 2010-02-03 20:57:56 +00:00
riccardom 1743b0b81b More string fixup. 2010-02-03 20:28:52 +00:00
riccardom 83aad21779 Correctly use _T() to convert const char * to wxString
instead of a simple cast.
2010-02-03 20:16:32 +00:00
riccardom 13283cdf8f A few more const char * to wxChar * cast. 2010-02-03 19:49:33 +00:00
riccardom fd16c41514 Rename switch and description for wxwidgets. 2010-02-03 16:03:43 +00:00
riccardom cb63fb4d98 Add a makefile for wx frontend
The frontend will not build automatically from top dir,
you have to type make inside wx until it starts to compile
fine.
2010-02-03 15:35:46 +00:00
riccardom ec455a15aa Tentative fix for "conversion from const char * to const Wstring ambiguos" error, please review.
While at it define lstrlen as strlen which is not available
on !WIN32. Pretty sure it will not handle unicode chars
correctly but we can fix that issue later.
2010-02-03 15:32:39 +00:00
riccardom 144d049898 First batch to have wx stuff compiling
This is mostyle missing includes, includes with the wrong
case and wrong path, also there is that PanicAlert 
function that is not defined.
2010-02-03 14:19:10 +00:00
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