Commit graph

  • a528bac6e8 Adding missing #include tehpola 2010-05-25 14:34:14 +00:00
  • 44fb13303e 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. tehpola 2010-05-25 14:32:47 +00:00
  • 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. tehpola 2010-05-25 14:32:47 +00:00
  • dd09998075 Fixed issue where flashram was reset on ROM reset. emukidid 2010-05-25 13:35:55 +00:00
  • e4412d2fa9 Fixed issue where flashram was reset on ROM reset. emukidid 2010-05-25 13:35:55 +00:00
  • 26762771fa Added new graphics for Button Mapping Frame. Note: Said graphics are incomplete. sepp256 2010-05-25 02:49:59 +00:00
  • 1529cf3fa9 Added new graphics for Button Mapping Frame. Note: Said graphics are incomplete. sepp256 2010-05-25 02:49:59 +00:00
  • 794f9434e9 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. tehpola 2010-05-24 23:52:26 +00:00
  • 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. tehpola 2010-05-24 23:52:26 +00:00
  • 3e84423068 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. tehpola 2010-05-24 23:01:07 +00:00
  • 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. tehpola 2010-05-24 23:01:07 +00:00
  • 0a4de887fc Loading/saving configuration support in input plugin. This will still need to be called by the GUI to actually do anything. tehpola 2010-05-24 22:55:54 +00:00
  • ecd758be71 Loading/saving configuration support in input plugin. This will still need to be called by the GUI to actually do anything. tehpola 2010-05-24 22:55:54 +00:00
  • 9f24738a5d Fixed ROMcache_pointer for Gamecube emukidid 2010-05-24 22:21:57 +00:00
  • 3d1d5244cf Fixed ROMcache_pointer for Gamecube emukidid 2010-05-24 22:21:57 +00:00
  • 941c61d68d 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. sepp256 2010-05-24 14:47:32 +00:00
  • 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. sepp256 2010-05-24 14:47:32 +00:00
  • 4e90488712 Modifying configure method of controller_t. This should now be called whenever a controller's configuration has changed. tehpola 2010-05-24 14:45:17 +00:00
  • efaa33c1a8 Modifying configure method of controller_t. This should now be called whenever a controller's configuration has changed. tehpola 2010-05-24 14:45:17 +00:00
  • 951acc8fdd Wiimote + Nunchuk now uses 1.1-style controls. It could probably use some button combinations for d-pad though. tehpola 2010-05-24 14:43:36 +00:00
  • dc7b8d9d9f Wiimote + Nunchuk now uses 1.1-style controls. It could probably use some button combinations for d-pad though. tehpola 2010-05-24 14:43:36 +00:00
  • 576d489365 Classic controller now uses 1.1-style controls and a bit of GC controller refactoring and commenting. tehpola 2010-05-24 14:42:07 +00:00
  • cb801caebc Classic controller now uses 1.1-style controls and a bit of GC controller refactoring and commenting. tehpola 2010-05-24 14:42:07 +00:00
  • b263b9b534 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. sepp256 2010-05-24 14:38:47 +00:00
  • 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. sepp256 2010-05-24 14:38:47 +00:00
  • 0eec8d4f6a MEM1 ROM cache for GC emukidid 2010-05-24 07:48:08 +00:00
  • 6abf74f69b MEM1 ROM cache for GC emukidid 2010-05-24 07:48:08 +00:00
  • 668deb174e Small fixup to the ARAM-blocks.c emukidid 2010-05-24 07:47:01 +00:00
  • 5aa1fe5d8b Small fixup to the ARAM-blocks.c emukidid 2010-05-24 07:47:01 +00:00
  • aaa1b6671d Implemented Default, Load, and Save Button Mappings. TODO: read/write button mappings to file in the input plugin. sepp256 2010-05-24 07:42:44 +00:00
  • 588d5d27af Implemented Default, Load, and Save Button Mappings. TODO: read/write button mappings to file in the input plugin. sepp256 2010-05-24 07:42:44 +00:00
  • de1edd4524 Fixed "None" button mapping for GC pads. sepp256 2010-05-24 07:42:15 +00:00
  • 3afb16515e Fixed "None" button mapping for GC pads. sepp256 2010-05-24 07:42:15 +00:00
  • 8e40334112 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. sepp256 2010-05-24 07:41:24 +00:00
  • 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. sepp256 2010-05-24 07:41:24 +00:00
  • e275008963 Improved DVD read speed, reduced GC Recomp-Cache, increased GC texture cache emukidid 2010-05-23 22:19:06 +00:00
  • c443291153 Improved DVD read speed, reduced GC Recomp-Cache, increased GC texture cache emukidid 2010-05-23 22:19:06 +00:00
  • f9c7388099 Made ARAM-blocks cache have 8x4kb MEM1 cached blocks, fixes Dynarec performance on GC. Fixed ROM-Cache.c function header. emukidid 2010-05-23 22:17:41 +00:00
  • 0f52f3a704 Made ARAM-blocks cache have 8x4kb MEM1 cached blocks, fixes Dynarec performance on GC. Fixed ROM-Cache.c function header. emukidid 2010-05-23 22:17:41 +00:00
  • 90f9bfd816 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. sepp256 2010-05-23 04:40:07 +00:00
  • 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. sepp256 2010-05-23 04:40:07 +00:00
  • 5889f80b1b Adding invertedY flag tehpola 2010-05-23 03:29:08 +00:00
  • 6e7ffef1de Adding invertedY flag tehpola 2010-05-23 03:29:08 +00:00
  • ed645a3d03 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. tehpola 2010-05-23 03:25:44 +00:00
  • 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. tehpola 2010-05-23 03:25:44 +00:00
  • 0b5b958c07 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. tehpola 2010-05-23 02:26:22 +00:00
  • 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. tehpola 2010-05-23 02:26:22 +00:00
  • 28a586169a Fixup for GC and wrappers.c emukidid 2010-05-23 02:22:17 +00:00
  • fab771a95b Fixup for GC and wrappers.c emukidid 2010-05-23 02:22:17 +00:00
  • 413b5ac54e Ported dynarec from /tehpola (with func linking and constant propagation) emukidid 2010-05-23 02:20:16 +00:00
  • a6af2bf913 Ported dynarec from /tehpola (with func linking and constant propagation) emukidid 2010-05-23 02:20:16 +00:00
  • a566906496 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). tehpola 2010-05-22 11:58:11 +00:00
  • 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). tehpola 2010-05-22 11:58:11 +00:00
  • d2517f1aea Fixed PAL video mode issue which caused a crash on Load ROM. sepp256 2010-05-22 08:08:17 +00:00
  • a16995ceed Fixed PAL video mode issue which caused a crash on Load ROM. sepp256 2010-05-22 08:08:17 +00:00
  • 177d91f4bf ROM-Cache-MEM2 bug fixup (length/4 would round much causing bad reads) emukidid 2010-05-21 16:03:38 +00:00
  • 5d215b35f1 ROM-Cache-MEM2 bug fixup (length/4 would round much causing bad reads) emukidid 2010-05-21 16:03:38 +00:00
  • 6000d79074 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. tehpola 2010-05-21 15:37:45 +00:00
  • 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. tehpola 2010-05-21 15:37:45 +00:00
  • cd59adb039 Adding DCFlushRange and ICInvalidateRange from libogc to make sure that code is properly flushed and invalidated when modified. tehpola 2010-05-21 15:36:06 +00:00
  • 31cecb51b7 Adding DCFlushRange and ICInvalidateRange from libogc to make sure that code is properly flushed and invalidated when modified. tehpola 2010-05-21 15:36:06 +00:00
  • 3773b81ad7 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. tehpola 2010-05-21 15:33:10 +00:00
  • 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. tehpola 2010-05-21 15:33:10 +00:00
  • 6f7100349c Code formatting cleaned up in exception.c and interupt.c emukidid 2010-05-21 15:27:50 +00:00
  • 5f5e7f7d46 Code formatting cleaned up in exception.c and interupt.c emukidid 2010-05-21 15:27:50 +00:00
  • 04c028f83b Bringing ps3 branch up to speed with changes made locally on my PS3. tehpola 2010-05-19 00:14:08 +00:00
  • 985b1e3ce3 Bringing ps3 branch up to speed with changes made locally on my PS3. tehpola 2010-05-19 00:14:08 +00:00
  • e19d688ed9 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. tehpola 2010-05-19 00:02:28 +00:00
  • 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. tehpola 2010-05-19 00:02:28 +00:00
  • 116b75dd6b Porting latest func linking LRU fixes to PS3 for further debugging. tehpola 2010-05-18 23:55:49 +00:00
  • cfb476738d Porting latest func linking LRU fixes to PS3 for further debugging. tehpola 2010-05-18 23:55:49 +00:00
  • fa3e2a1c29 Fixing issues with previous committed code. The LRU preservation when linking still crashes for now. tehpola 2010-05-18 23:28:49 +00:00
  • eca4bbffff Fixing issues with previous committed code. The LRU preservation when linking still crashes for now. tehpola 2010-05-18 23:28:49 +00:00
  • 211da540b7 Fix TLB-Cache.c compile issues emukidid 2010-05-18 22:33:05 +00:00
  • 5160b54f8b Fix TLB-Cache.c compile issues emukidid 2010-05-18 22:33:05 +00:00
  • 93792d9db2 Refactored TLB-Cache to reduce code duplication. tehpola 2010-05-18 16:50:30 +00:00
  • 94c3efb75b Refactored TLB-Cache to reduce code duplication. tehpola 2010-05-18 16:50:30 +00:00
  • ec7683478e Updating my ROM-Cache code which was somewhat missing from the repository. tehpola 2010-05-18 16:48:09 +00:00
  • 32df09cf36 Updating my ROM-Cache code which was somewhat missing from the repository. tehpola 2010-05-18 16:48:09 +00:00
  • cd99c6766d Adding missing profiling defines and printing. tehpola 2010-05-18 16:46:49 +00:00
  • 43cd92577a Adding missing profiling defines and printing. tehpola 2010-05-18 16:46:49 +00:00
  • 703791b844 Attempt at maintaining LRU when linking. This adds 4 instructions to direct branches out. This hasn't been tested yet, but does compile. tehpola 2010-05-18 16:45:26 +00:00
  • 95da7d5425 Attempt at maintaining LRU when linking. This adds 4 instructions to direct branches out. This hasn't been tested yet, but does compile. tehpola 2010-05-18 16:45:26 +00:00
  • 7830f3d09d 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. tehpola 2010-05-18 16:43:28 +00:00
  • 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. tehpola 2010-05-18 16:43:28 +00:00
  • a15955386c Porting previous commit to PS3 branch so that it won't link from freed funcs. tehpola 2010-05-18 16:38:22 +00:00
  • 06e1452165 Porting previous commit to PS3 branch so that it won't link from freed funcs. tehpola 2010-05-18 16:38:22 +00:00
  • 54cb59b3cd 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. tehpola 2010-05-18 16:33:30 +00:00
  • 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. tehpola 2010-05-18 16:33:30 +00:00
  • 11a1681d8f Looks like I had written the unlinking code before I added the func field to the link node structure because I was testing whether the branch of a potentially outgoing link resided in the func's code rather than just checking whether the link belonged to this func. tehpola 2010-05-18 14:15:51 +00:00
  • a7282f94c6 Looks like I had written the unlinking code before I added the func field to the link node structure because I was testing whether the branch of a potentially outgoing link resided in the func's code rather than just checking whether the link belonged to this func. tehpola 2010-05-18 14:15:51 +00:00
  • 579f0fb723 Fixing some typos from previous commit tehpola 2010-05-18 14:13:34 +00:00
  • 97a5010e1c Fixing some typos from previous commit tehpola 2010-05-18 14:13:34 +00:00
  • 2de0f6c276 Replacing direct branches to external functions with lis/ori/mtctr/bctrl in generated code. tehpola 2010-05-18 14:10:14 +00:00
  • a27820ee71 Replacing direct branches to external functions with lis/ori/mtctr/bctrl in generated code. tehpola 2010-05-18 14:10:14 +00:00
  • 15e8bec60d LWC1 / LDC1 FASTMEM ported to googlecode emukidid 2010-05-18 14:05:11 +00:00
  • 9333e6f4c0 LWC1 / LDC1 FASTMEM ported to googlecode emukidid 2010-05-18 14:05:11 +00:00
  • f7d39bcee2 Fastmem LWC1/LDC1 tehpola 2010-05-18 12:02:28 +00:00
  • 98e311e261 Fastmem LWC1/LDC1 tehpola 2010-05-18 12:02:28 +00:00
  • 06825138b0 Tweak to fog parameter calculation. sepp256 2010-05-18 05:28:26 +00:00