2010-05-10

DeSmuME SVN r3615

EmuCR:DeSmuMEDeSmuME SVN r3615 is released.DeSmuME is a freeware emulator for the Nintendo DS(NDS).

DeSmuME SVN Changelog:
r3607
Remove write only variable old_val.
r3608
Remove redundant declaration of void armcpu_exception(armcpu_t*, u32)
we already have in armcpu.h.
r3609
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.
r3610
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.
r3611
Cleanup the code a bit, make some loops more natural and
merge two duplicate functions.
Again the compiler does not care about the changes :)
r3612
Convert rotation menu to a GtkRadioActionEntry
And one atoi less in the wild :)
Code change extracted from patch #2998869 by noodlebox.
r3613
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.
r3614
typofix
r3615
More housekeeping in sdl controller stuff, remove stuff
that is not used and make static if it is only used in
ctrlssdl.cpp.

Download: DeSmuME SVN r3615 32bit
Download: DeSmuME SVN r3615 64bit
Source:Here

0 Comments

Post a Comment