emukidid
6d02b00711
Fixup to DVD reads
2010-05-26 13:59:48 +00:00
sepp256
9875de6cda
Added status icon for Wiimote.
...
Updated status bar to work with wiimote.
Fixed detection of connected wiimote both in status bar and in gc_input.
Updated Button Mapping frame for wiimote.
2010-05-26 12:32:47 +00:00
tehpola
b632fba03f
Fixing typo for C-Stick/Right analog stick's right direction.
2010-05-26 01:44:00 +00:00
emukidid
750e9294cd
Fixed DVDX detection
2010-05-25 22:22:13 +00:00
emukidid
5fdf0b59ea
DVD reads from PPC (Wii)
2010-05-25 22:17:29 +00:00
tehpola
a528bac6e8
Adding missing #include
2010-05-25 14:34:14 +00:00
tehpola
55ad2a387e
Added analog_fmt in configure for 'None' analog source which only reads buttons, adjusted tilt/wheel analog_fmts so that they only read accel since they're not available with nunchuk, and added IR to Wiimote-only analog sources.
2010-05-25 14:32:47 +00:00
emukidid
e4412d2fa9
Fixed issue where flashram was reset on ROM reset.
2010-05-25 13:35:55 +00:00
sepp256
1529cf3fa9
Added new graphics for Button Mapping Frame.
...
Note: Said graphics are incomplete.
2010-05-25 02:49:59 +00:00
tehpola
d9b9ce9ba1
Refactored WiimoteNunchuk to also define a Wiimote controller_t using mostly the same code. Removed init method from controller_t and defined the default controls inline in controller_t.
2010-05-24 23:52:26 +00:00
tehpola
5e388aeeb0
Protect against potential memory issues by making sure indices read from controller configurations fall within their bounds. Also, I had forgotten to load and save C-buttons.
2010-05-24 23:01:07 +00:00
tehpola
ecd758be71
Loading/saving configuration support in input plugin. This will still need to be called by the GUI to actually do anything.
2010-05-24 22:55:54 +00:00
emukidid
3d1d5244cf
Fixed ROMcache_pointer for Gamecube
2010-05-24 22:21:57 +00:00
sepp256
354820b28f
Refactored gc_input to separate controller assignment and controller init.
...
Button Mapping frame now called from Settings Frame.
Many bug fixes and tweaks relating to button mapping.
2010-05-24 14:47:32 +00:00
tehpola
efaa33c1a8
Modifying configure method of controller_t. This should now be called whenever a controller's configuration has changed.
2010-05-24 14:45:17 +00:00
tehpola
dc7b8d9d9f
Wiimote + Nunchuk now uses 1.1-style controls. It could probably use some button combinations for d-pad though.
2010-05-24 14:43:36 +00:00
tehpola
cb801caebc
Classic controller now uses 1.1-style controls and a bit of GC controller refactoring and commenting.
2010-05-24 14:42:07 +00:00
sepp256
e084c1deaa
Some improvements to the button mapping frame.
...
This is a WIP, so further tweaks are needed.
Classic & WMNC are incomplete and will crash if you try to map their buttons.
2010-05-24 14:38:47 +00:00
emukidid
6abf74f69b
MEM1 ROM cache for GC
2010-05-24 07:48:08 +00:00
emukidid
5aa1fe5d8b
Small fixup to the ARAM-blocks.c
2010-05-24 07:47:01 +00:00
sepp256
588d5d27af
Implemented Default, Load, and Save Button Mappings.
...
TODO: read/write button mappings to file in the input plugin.
2010-05-24 07:42:44 +00:00
sepp256
3afb16515e
Fixed "None" button mapping for GC pads.
2010-05-24 07:42:15 +00:00
sepp256
69fe20becc
Reverted some parts of input plugin to use controller_config_t* in virtualControllers[].
...
Now, the configs are saved in controller_t, virtualControllers[].config points to the one we're using.
Added index to button mappings, so that we can easily cycle through them.
Updated Button Configuration Frame.
Note: Classic and WM+NC still broken. Only GC controllers work.
2010-05-24 07:41:24 +00:00
emukidid
c443291153
Improved DVD read speed, reduced GC Recomp-Cache, increased GC texture cache
2010-05-23 22:19:06 +00:00
emukidid
0f52f3a704
Made ARAM-blocks cache have 8x4kb MEM1 cached blocks, fixes Dynarec performance on GC. Fixed ROM-Cache.c function header.
2010-05-23 22:17:41 +00:00
sepp256
288827860d
Rough implementation of reconfigurable button mapping in the menu.
...
Added default, current, and save config slots to the input plugin.
Currently only GC controllers work. Classic and WM+NC needs to be updated.
The menu layouts need a lot of tweaking, but I wanted to update SVN in case tehpola works on Classic/WM+NC code.
2010-05-23 04:40:07 +00:00
tehpola
6e7ffef1de
Adding invertedY flag
2010-05-23 03:29:08 +00:00
tehpola
014f16edf8
Demo implementation for fully configurable controls. This currently leaves WiimoteNunchuk and Classic as broken so those won't build until we've decided on this method or not.
2010-05-23 03:25:44 +00:00
tehpola
8e140b39f6
Removing constant propagation and an unfinished function from dynarec. It'll remain in the tehpola branch, but doesn't really need to be here now.
2010-05-23 02:26:22 +00:00
emukidid
fab771a95b
Fixup for GC and wrappers.c
2010-05-23 02:22:17 +00:00
emukidid
a6af2bf913
Ported dynarec from /tehpola (with func linking and constant propagation)
2010-05-23 02:20:16 +00:00
tehpola
0f5f64a1ab
Changing start_addr and end_addr in funcs to be 32-bit instead of the shortened 16-bit addresses previously used. This allows links_out to use func trees correctly (previously conflicts would arise between links that had overlapping 16-bit addresses).
2010-05-22 11:58:11 +00:00
sepp256
a16995ceed
Fixed PAL video mode issue which caused a crash on Load ROM.
2010-05-22 08:08:17 +00:00
emukidid
5d215b35f1
ROM-Cache-MEM2 bug fixup (length/4 would round much causing bad reads)
2010-05-21 16:03:38 +00:00
tehpola
5629955b53
Linking on the PS3 now uses CTR to branch to an absolute address so there are no issues if the code is too far apart.
2010-05-21 15:37:45 +00:00
tehpola
31cecb51b7
Adding DCFlushRange and ICInvalidateRange from libogc to make sure that code is properly flushed and invalidated when modified.
2010-05-21 15:36:06 +00:00
tehpola
aed2fe7c96
I recently realized that mtfsf uses a FPR as its source register, not a GPR, so I've adjusted the CVT_W_FP code to work properly based on that. Currently, however, this runs the risk of unsetting IEEE mode and/or enabling inexact exceptions.
...
Also, I've added the nonvolatile func register to the clobber list of dyna_run.
2010-05-21 15:33:10 +00:00
emukidid
5f5e7f7d46
Code formatting cleaned up in exception.c and interupt.c
2010-05-21 15:27:50 +00:00
tehpola
985b1e3ce3
Bringing ps3 branch up to speed with changes made locally on my PS3.
2010-05-19 00:14:08 +00:00
tehpola
e0511214d6
Porting over fix from r396 from ps3. I had ensured that the jump pad would be created of the last instruction in a block (usually a delay slot) is branched to.
2010-05-19 00:02:28 +00:00
tehpola
cfb476738d
Porting latest func linking LRU fixes to PS3 for further debugging.
2010-05-18 23:55:49 +00:00
tehpola
eca4bbffff
Fixing issues with previous committed code. The LRU preservation when linking still crashes for now.
2010-05-18 23:28:49 +00:00
emukidid
5160b54f8b
Fix TLB-Cache.c compile issues
2010-05-18 22:33:05 +00:00
tehpola
94c3efb75b
Refactored TLB-Cache to reduce code duplication.
2010-05-18 16:50:30 +00:00
tehpola
32df09cf36
Updating my ROM-Cache code which was somewhat missing from the repository.
2010-05-18 16:48:09 +00:00
tehpola
43cd92577a
Adding missing profiling defines and printing.
2010-05-18 16:46:49 +00:00
tehpola
95da7d5425
Attempt at maintaining LRU when linking. This adds 4 instructions to direct branches out. This hasn't been tested yet, but does compile.
2010-05-18 16:45:26 +00:00
tehpola
f8f923aebe
Changed the freed_funcs tree to a linked list so that there was no need to dereference the necessarily freed pointers. Func linking seems to work now, but LRU won't be preserved through links currently.
2010-05-18 16:43:28 +00:00
tehpola
06e1452165
Porting previous commit to PS3 branch so that it won't link from freed funcs.
2010-05-18 16:38:22 +00:00
tehpola
0e5d263187
In Recompile.c, I create a tree of freed funcs which I can test the source of a link against to avoid trying to link an old func with its new hole.
2010-05-18 16:33:30 +00:00