Commit Graph

3700 Commits

Author SHA1 Message Date
riccardom d1e2adbbab Apply single screen patch from #2998869 by noodlebox. 2010-05-15 15:22:40 +00:00
zeromus da6af1be95 remove poopy hack 2010-05-15 14:32:26 +00:00
riccardom 85d94c07e4 Window size bugfix from noodlebox. 2010-05-14 08:28:28 +00:00
luigi__ bf6392079a screw default arm7 binary. The whole part about loading ELFs will be done differently. This is unneeded. 2010-05-13 16:41:38 +00:00
luigi__ 4885c6588b Fix WinPCap loading. No idea why zeromus made it load pcap_send() instead of pcap_sendpacket(), but now it supports both, and if pcap_send() can't be found, pcap_sendpacket() is loaded instead. 2010-05-13 16:12:12 +00:00
luigi__ 04d9bec939 Add in default ARM7 binary from libnds, under both raw and ELF format. 2010-05-13 14:54:34 +00:00
riccardom a6c6f6b354 Make some global variable with a common name static to
avoid clashes.
2010-05-13 13:43:24 +00:00
riccardom 7e3c80e1d8 gtk frontend: nds_screen.size_ratio is not needed anymore. 2010-05-13 11:52:56 +00:00
riccardom 02b5aa97e5 List enhancements from needlebox's patches. 2010-05-12 19:11:46 +00:00
riccardom c43184b77b make distcheck does not like file supposed to be
translated which are not. So for now add wx frontend
related strings to the skip list.
2010-05-12 16:33:58 +00:00
riccardom ad1dc864fc Fix make distcheck
Add wx to DIST_SUBDIRS as suggested by Guillaume.
2010-05-12 16:24:03 +00:00
riccardom be3000353b gtk frontend: Ignore initial mouse clicks from outside the
touchscreen, but allow dragging outside of it once touch
is started.

Patch from #2998869 by noodlebox.
2010-05-12 16:11:10 +00:00
riccardom 77024d3b82 On glib > 2.14 save screenshots on XDG specified dir for
pictures.
2010-05-12 16:02:08 +00:00
riccardom 1c31be8a5c Don't crash taking a screenshot on non default rotation / orientation
Patch from #2998869 by noodlebox.
2010-05-12 15:20:11 +00:00
riccardom 0e61c45d5f Add option to swap screens to gtk frontend
Code taken from patch #2998869 by noodlebox.
2010-05-12 14:55:11 +00:00
riccardom b68eac1b42 Add Horizontal orientation to gtk frontend
Code extracted and cleaned up from patch #2998869 by noodlebox.
2010-05-12 14:44:44 +00:00
riccardom dd77b3aeda Make sdl mandatory, build fails anyway as found by Guillame. 2010-05-12 14:23:56 +00:00
mtabachenko b2af2527fe - add some docs;
- add IDA PRO NDS loader;
2010-05-12 10:24:47 +00:00
riccardom 73bf5e3467 Merge r3618 from 0.9.6 release branch
Remove wxdlg from DIST_SUBDIRS to unbreak dist-gzip.
2010-05-11 23:15:59 +00:00
mtabachenko aaf0092a4a GBA slot:
- fix detect savetype;
2010-05-11 16:59:04 +00:00
riccardom fe0f471812 More housekeeping in sdl controller stuff, remove stuff
that is not used and make static if it is only used in
ctrlssdl.cpp.
2010-05-09 22:35:48 +00:00
nitsuja 960d3514be typofix 2010-05-09 19:05:10 +00:00
nitsuja d8df35d418 rasterize: hack to avoid obvious regression of edge mark quality compared to in 0.9.5 (the transparency was not there to compensate for the colors being too dark). should revisit this when working out how antialiasing really works on the ds. 2010-05-09 18:51:23 +00:00
riccardom 9912b1b04d Convert rotation menu to a GtkRadioActionEntry
And one atoi less in the wild :)

Code change extracted from patch #2998869 by noodlebox.
2010-05-09 16:24:35 +00:00
riccardom 65151a3094 Cleanup the code a bit, make some loops more natural and
merge two duplicate functions.

Again the compiler does not care about the changes :)
2010-05-09 15:42:40 +00:00
riccardom e1f7f155a2 Cleanup REG_IME cases in MMU.cpp to have a correct coding
style and a bit more compact code. No functional changes,
compiled object is the same.
2010-05-09 15:29:52 +00:00
riccardom d25ec2d119 Apply patch #2998037 from noodlebox:
1) Larger dead zone for analog controls.  Also fixed possible
 issue where negative side of dead zone might not be applied.
 (right bitwise shift applied to negative integers, implementation seems to vary)
2) Analog controls can now be assigned to buttons, and
 non-analog controls can now be assigned to the directional controls.
3) Differentiates between positive and negative movement
 for analog controls.
4) In the GTK and Glade ports, directional buttons can now
 be set independently of their "twins".
5) Hat/POV/D-Pad controls are usable now.
6) Differentiates between multiple controllers.
7) Slightly modified method of storing joypad key codes, in
 a way similar to VBA-M's method of configging controls, though
 I kept the codes as u16's.  The way it's arranged now will allow
 for up to 16 unique joypads, and up to 128 axes, 64 POV hats,
 and 256 Buttons per joypad, which should probably be enough.
 The method of determining a key code is explained in ctrlssdl.cpp.
 Basically, it starts with 0x1000 * joypad_index.
 For buttons, add 0x200 + button_index.
 For hats, add 0x100 + 4 * hat_index + (0, 1, 2, or 3 for R, L, U, D). 
 For axes, add 2 * axis_index + (0 or 1 for negative or positive). 
 Maybe there's a way to get the config file to save these values in
 a hexadecimal representation for easier editing, but I didn't really
 mess with the configs.

So, the reason I decided to try this was that I was having some issues
with my wired XBox 360 controller in the Linux GTK, Glade, and CLI ports
(The controller works fine otherwise).
It seemed to be very sensitive, so it was impossible to "zero" the axes,
which leads to constantly scrolling through menus, etc.  The slightest
touch would trigger the input.  Also wanted to be able to use the D-Pad
and Analog triggers for something useful. The distinction between multiple
"joypads" should also help anyone with any other odd input devices being
recognized, like accelerometers. 

[rm: removed clear_events() from ctrlsdl.cpp since it is unused ]
2010-05-09 15:21:17 +00:00
riccardom fb7ebf22f4 Remove redundant declaration of void armcpu_exception(armcpu_t*, u32)
we already have in armcpu.h.
2010-05-09 15:10:12 +00:00
riccardom a84b35c819 Remove write only variable old_val. 2010-05-09 14:50:49 +00:00
mtabachenko 39692de722 - fix typo in MC READSTATUS register; 2010-05-08 17:26:57 +00:00
riccardom 20ed74f6d5 Fix click and drag, patch #2998460 from noodlebox. 2010-05-08 16:35:48 +00:00
riccardom 80625f4229 Fix compilation using the right variable name. 2010-05-08 16:27:54 +00:00
normmatt234 1ff0161d4e Add support for loading .srl files
Fix a few bugs in spi handling.
Update vs2010 project file.
2010-05-07 09:57:41 +00:00
zeromus d6cc212f0f fix gdb stub in trunk, make wifi warning more severe, fix some occasional link errors, and some other cleanup 2010-05-04 19:44:38 +00:00
zeromus dae6fcbd0f add libelf and libdwarf for potential fun times. none of the elf examples were working for me so i didnt even get a chance to test dwarf, but i dont think the problem is with the libs 2010-04-29 20:12:21 +00:00
mtabachenko 8c4d4bb3a1 core:
- a bit fixes on THUMB opcodes;
2010-04-26 22:33:08 +00:00
mtabachenko d6b75e99ac core:
- fix bug in Geometry Engine when in packed commands latest command is undefined (bug #2973143);
2010-04-25 17:53:47 +00:00
mtabachenko 0ca0356432 core:
- fix SMLABB instruction;
2010-04-25 16:02:18 +00:00
zeromus de4ff111bb fix obviously broken code in the RTC dayofweek calculation. Is it correct now? Not sure, but i think it fixes animal crossing at least 2010-04-24 20:10:24 +00:00
mtabachenko f535f9ac58 - fix overflow flag in ADCS/SBCS/RSCS; 2010-04-24 16:47:53 +00:00
riccardom fc0c459391 Add missing parens. 2010-04-24 15:55:21 +00:00
riccardom ce8d525928 Add missing include header. 2010-04-24 15:46:40 +00:00
riccardom d2434c3bd9 strdup needs string.h. 2010-04-24 14:31:42 +00:00
riccardom 7c420765a9 Fix "suggest parentheses around comparison in operand of ‘&’"
warnings.
2010-04-24 14:28:16 +00:00
mtabachenko ed419e6a3a core:
- a lot work on fix CPU emulation but not finished yet. Report to bugtracker if it break something.
2010-04-24 13:37:29 +00:00
zeromus 53a76b5be5 win32: save type menu was completely broken. awesome. 2010-04-24 07:24:18 +00:00
zeromus 882d05895e more chinese gobbledegook 2010-04-24 07:23:37 +00:00
zeromus bf2c15b24d critical bugfix!@! 2010-04-24 06:23:06 +00:00
zeromus c2ecb37c26 commit whatever pokefan did to chinese translation 2010-04-24 05:50:01 +00:00
zeromus 68588dd964 piano controller emulation. maybe youll want to use the mouse anyway once you try the game... 2010-04-24 00:54:44 +00:00