Commit Graph

4060 Commits

Author SHA1 Message Date
lainz 5f92953103 Improved Spanish Translation. 2011-06-11 21:49:01 +00:00
riccardom 8032d4dee4 configure: better libagg detection
user heftig says that he can't find Agg_init() at link time when he uses
--enable-hud. Fix AM_CONDITIONAL to check for the proper variable and to
set in true only if --enable-hud was set.

Relayed by zeromus in a comment in #3250391
2011-06-08 10:03:30 +00:00
riccardom 93304143f9 gtk-glade: Fix wrong savestate slot, bug #3305716
satelight reports the menu item position for savestates does
not match the slots they are saved.
As zeromus explains the pattern should be:

F1 saves to ds1
F2 saves to ds2
F10 saves to ds0
recent savestates list looks like:
1 myfile.ds1 F1
2 myfile.ds2 F2
...
0 myfile.ds0 F10

Based on a patch from satelight.
2011-06-05 21:33:29 +00:00
riccardom b140005236 wx: Add ability to clear recent file list
From Jan Bücken (nooris), #3301520
2011-06-05 17:29:08 +00:00
riccardom 31027b491d Changelog: oops, remove duplicated line :) 2011-06-05 16:57:58 +00:00
riccardom 4761353f94 List Jan's contributions to wx frontend in Changelog. 2011-06-05 16:53:53 +00:00
riccardom c7e6149f1f gtk: remove variable set but not used reported by gcc 2011-06-05 16:46:48 +00:00
riccardom 8348f883bf gtk: call launch after rom reset
Jan reports that if you call reset when a game is paused
the statusbar would wrongly report the game as playing
when it is actually paused. Jan's attached patch removes
the call to desmume_resume() and the status bar update.
I think the intent here is different and the plan was to
reload the game so just call Launch directly as already
Jan noticed it would do the right thing.

Based on a patch from Jan Bücken (nooris), #3288654
2011-06-05 16:43:18 +00:00
riccardom 2691463d4a gtk: open recent should behave the same as open
If running, pause before loading a new rom

From Jan Bücken (nooris), #3288654
2011-06-05 16:28:48 +00:00
zeromus 59ec9700c6 win: fix [3311520], which causes MPCF path to get initialized wrongly and the whole c:\ drive to get scanned sometimes 2011-06-04 17:04:46 +00:00
riccardom 9b2821de3a wx: Pause spu and emulation before loading a rom
xrmx: kept only the hunk that pause and not the one
that reenable the previous state, i think we should
stay paused and the user should act to continue 
playing.

Based on a patch from: Jan Bücken (nooris), #3301520
2011-06-03 17:41:41 +00:00
riccardom 0a5a3c383c wx: Change rotation after setting the menu bar
I need to set the menu bar before setting the window size.
Otherwise it is a little bit too short.

From: Jan Bücken (nooris), #3301520
2011-06-03 17:29:57 +00:00
riccardom 073c8844e0 wx: Fix recent file list
From: Jan Bücken (nooris), #3301520
2011-06-03 17:24:41 +00:00
riccardom 4c0c82c92f wx: fixup window icon
Make it work here and maybe even in a portable way.
2011-06-03 17:16:40 +00:00
riccardom fae159d2ec wx: Add window icon
This is not portable on windows and actually it's not even
working here. Anyway it should be working for Jan
otherwise it wouldn't have posted the patch right? :)

From: Jan Bücken (nooris), #3301520
2011-06-03 16:58:08 +00:00
riccardom b7a9d5085f wx: keep execute and SPU_Pause together
execute=false and SPU_Pause(1) belongs together (avoid sound problems).

From: Jan Bücken (nooris), #3301520
2011-06-03 16:40:09 +00:00
riccardom 3503f1cc56 wx: reorder some code
Spring cleanup:
After this patch the file wxMain.cpp is ordered as follows:

1) header
2) includes
3) vars (and defines)
4) the wx oninit function that every wx project needs
5) the desmume class functions
        5a) for functionality and events (e.g. for clicks on buttons, etc...)
        5b) to load the menu
6) the wx event table

[xrmx: i hate these labels before code :)]

From: Jan Bücken (nooris), #3301520
2011-06-03 16:33:51 +00:00
riccardom 1d43b346fe wx: remove duplicated code for the GUI menu
We have a fair chunk of duplicated code to build the GUI
menus, remove the monolithic one in favour of the one
splitted in smaller functions.

From: Jan Bücken (nooris), #3301520
2011-06-03 16:28:57 +00:00
mtabachenko 1cbd6afa28 cheats:
- fix bug for import from R4 cheats base (removing empty codes from list);
2011-06-03 10:38:46 +00:00
mtabachenko f8408fdab2 DING! :D 2011-05-25 17:40:35 +00:00
zeromus 4c8c0e0b72 win32: caca en espanol 2011-05-25 02:37:08 +00:00
zeromus 8c69f8ac3a win32: remove redundant "default size" menu item which didnt always work (size 1x should be used instead) 2011-05-24 21:31:11 +00:00
riccardom 0a40273b16 Spring cleanup, remove CRLF from Makefile.am 2011-05-24 17:18:04 +00:00
riccardom c922d67e86 Fix make distcheck 2011-05-24 17:06:58 +00:00
mtabachenko 8d51fdfbbe slot1:
- add support retail cartridge with NAND flash (Made in Ore/WariWare D.I.Y.);
winport:
- add choose Slot 1 device (Menu: Emulation->Slot 1);
- fix change type of R4 cheats base;
- fix printlog function;
2011-05-24 12:51:36 +00:00
mtabachenko 13ae3664ab cheats:
- add support R4 encrypted cheats base;
cheats (winport):
- fix GUI bugs;
- add boxcheck in export dialog;
- add convert internal cheats to AR;
- add select R4 cheats base format (Path Settings);
- cheats base file moved to cheat folder (CHEAT.DAT/USRCHEAT.DAT);
2011-05-19 12:54:00 +00:00
zeromus 10f649e843 potentially fix a ton of bugs in the cheat system by going through the correct memory access APIs. also potentially break some cheats, because i didn't test any of it. 2011-05-17 19:47:37 +00:00
riccardom 6009d46485 NDSSystem: Merge NDS_LoadROM common code
Move the path stuff that is different between platforms
to an helper in order to share the common code.

The !WINDOWS should receive a bit more love though.
2011-05-15 22:05:57 +00:00
riccardom 3c92ad957e iNDSSystem: fix call to DLDI::tryPatch in !WINDOWS NDS_LoadRom 2011-05-15 17:55:51 +00:00
riccardom 29fa5037bf NDSSystem: call fillGap() after loading romdata in NDS_LoadRom !WINDOWS 2011-05-15 17:47:03 +00:00
riccardom 1b1d4acdd3 NDSSystem: fixup indendation in NDS_LoadROM for windows 2011-05-15 17:32:29 +00:00
riccardom 0aa0b07733 NDSSystem: cleanup NDS_LoadROM()
Rearrange and update some code in !WINDOWS NDS_LoadROM() so
that it is easier to see the difference with the WINDOWS one.
2011-05-15 17:27:36 +00:00
riccardom 64d9792067 wx: don't crash on pause if no rom is loaded
A different version of a patch from Jan Bücken (nooris), #3288648
2011-05-15 16:41:51 +00:00
riccardom 18110b0db2 wx: white space cleanup
Taken from a patch by Jan Bücken (nooris), #3288648
2011-05-15 16:21:49 +00:00
riccardom 60e8ec45bd NDS_LoadRom: Use gameInfo.romdata to store the rom for !WINDOWS
This makes NDS_FreeROM() works properly and avoid to
allocate the buffer for the ROM data twice.

Thanks to Jan Bücken for reporting the issue.
2011-05-15 15:33:10 +00:00
riccardom 5fc80d83aa wx: Make spu mode and audio driver changeable
From Jan Bücken (nooris), #3288648
2011-05-15 14:35:11 +00:00
hi-coder 961a467f92 win32: add "paused" text to caption 2011-05-11 02:36:43 +00:00
zeromus b1e92e6cb0 win32: get rid of some broken cruft leftover from the last console checkin 2011-05-09 05:46:33 +00:00
zeromus b26e760d2c win32: allow stdio redirect in some cases where it was broken before 2011-05-01 05:49:25 +00:00
riccardom 9432c70bd2 Update Changelog 2011-04-30 16:06:03 +00:00
mtabachenko 2d1a6d34bf OpenGL:
- fix alpha blending (fixed storm clouds in NSMB at the beginning);
2011-04-29 11:36:47 +00:00
zeromus cd38ecbd34 vio2sf: add updated patch 3026630 with newer features and fix a bug in sound viewer tool dialog management 2011-04-27 05:14:40 +00:00
zeromus c28b2423cc win32: add hicoder patch 3292481 "Windows File Association patch" (its optional) 2011-04-27 04:14:38 +00:00
riccardom 1b647bc46a cocoa: Update xcode project files
From rogerman, #3259154
2011-04-20 16:21:08 +00:00
riccardom 88c7d5d906 emufile: Fix compilation on big endian systems
From rogerman, #3289150
2011-04-20 07:02:42 +00:00
zeromus 3014da89b3 use EXCEPTION_UNDEFINED_INSTRUCTION instead of magic number 0x04 2011-04-20 06:26:42 +00:00
riccardom fb317f2717 slot2_gbagame: fix include path of path.h 2011-04-19 07:00:15 +00:00
riccardom 7312b2844d gtk: Fix some typos in metaspu modes
From Tobias Jakobi
f3a9682499
2011-04-18 21:38:22 +00:00
riccardom 625c8c270f wx: Add licence header file to wxMain.cpp
Please double check it's correct :)
2011-04-18 21:15:11 +00:00
riccardom 5fa0218104 wx: fix compilation with libsoundtouch
The way we are building right now we have to link against
libsoundtouch even if the frontend does not use it.
Read: we have to build SPU and metaspu per frontend and
not globally.

From Jan Bücken, #3288648
2011-04-18 21:00:20 +00:00