Commit Graph

  • 011f857b24 Fix for r1600 missing parenthesis, which made it impossible to use an existing memcard Added set as default to rightclick menu of memcard manager compile fix for Jit64/Jit.cpp LPFaint99 2008-12-20 18:43:52 +00:00
  • 7de995c00c Even more code reorganization + first step towards being able to single step directly in JIT mode. hrydgard 2008-12-20 17:22:30 +00:00
  • 01598750b9 Cleanup the breakpoint code a bit, fix updating the breakpoint window when clicking in the bp column in the code view. hrydgard 2008-12-20 14:00:33 +00:00
  • 66853d6f1b Fix 32-bit lmw/stmw (well, disable). Merge the two dispatchers. hrydgard 2008-12-20 12:46:14 +00:00
  • 614dc1069e More code reorganization. hrydgard 2008-12-20 12:10:59 +00:00
  • f0bb8f430a small build fix in debug mode, misc cleanup hrydgard 2008-12-20 11:20:47 +00:00
  • 4f4edc05a0 stfsx is now implemented in 64-bit, too. hrydgard 2008-12-20 11:18:23 +00:00
  • 7adccb616f Implement lmw, stmw in jit hrydgard 2008-12-20 11:15:03 +00:00
  • c652c5e1f0 a few more changes, you can now set a default memcard to load, error messages made a bit more clear LPFaint99 2008-12-20 08:47:38 +00:00
  • c695ebd6f1 simplified EXI_DeviceMemoryCard.cpp, warning fix for WII_IPC_HLE_Device_usb.cpp, codecleanup and added the ability to create a formated 16Mb memcard in MemcardManager, calibrate button is now easier to read in nJoy Testing LPFaint99 2008-12-20 08:07:04 +00:00
  • a2a8be006a A couple of minor Linux compile fixes. magumagu9 2008-12-20 07:13:38 +00:00
  • 7ad6b0b5bb Add a missing include; this was causing a crash on 32-bit Linux because the _M_IX86 define was getting missed when this was included in JitAsm.cpp. magumagu9 2008-12-20 06:41:15 +00:00
  • c4f27aaae1 Avoid GetCR/SetCR in the cr bitwise ops hrydgard 2008-12-19 22:46:28 +00:00
  • 347fc18542 misc cleanup, bugfix for x86 display in jit window hrydgard 2008-12-19 22:21:29 +00:00
  • cd62fc5c0c Some stats for the jit window. hrydgard 2008-12-19 21:35:57 +00:00
  • 104acd5bc1 Turn the X86 emitter into a class, so the code pointer is no longer a global, yay! Created XCodeBlock that derives from XEmitter, and the Jit now derives from XCodeBlock so it can call all ADD SUB JNZ etc without having to prefix them with "emit.". I think someone's gonna like this. hrydgard 2008-12-19 21:24:52 +00:00
  • b5dcdcf779 More cleanup again I hope I didn't break anything, please check nakeee 2008-12-19 13:56:53 +00:00
  • db15121b5d Some cleanup Should affect windows tell me if it does nakeee 2008-12-19 11:46:52 +00:00
  • 2bb169ce37 Moved the wx anti debug flag to scons nakeee 2008-12-19 09:36:27 +00:00
  • 54c6a624ea fail array was too small nakeee 2008-12-18 23:38:07 +00:00
  • 27dce100f3 removed wxcode from core. Note that while that now logs will not have the date in natural format. it will have the standard sec since epoch notation. Which is faster to log, and not wx depended. nakeee 2008-12-18 23:02:19 +00:00
  • fa00041f77 Fix compile on osx Added SetTitle support to cocoa nakeee 2008-12-18 21:40:50 +00:00
  • 3d9c903a3b fix crash due to AR, remove LOGGING from Common.vcproj (Why won't njoy test build in debug?!) Shawn Hoffman 2008-12-18 16:06:27 +00:00
  • f80639218f small compile fix for previous commit nakeee 2008-12-18 15:10:23 +00:00
  • b8f619550d add ppc disassembly to jit results viewer windowTurn the JIT into a class. Indentation cleanup will be in a separate CL, and the block cache will later be split out into its own class. Cannot detect any speed difference whatsoever - the games spend 99.9% of their time in already jitted code anyway. I have a good reason for doing this - see upcoming changes. hrydgard 2008-12-18 13:21:02 +00:00
  • ad38602d35 added/changed some ini's and added some codes to the Smash ini thx to Vaporizer8 daco65 2008-12-18 11:58:56 +00:00
  • 74c1950495 Adjusted to fit some gcc weirdness nakeee 2008-12-18 11:51:11 +00:00
  • 772a29df28 add ppc disassembly to jit results viewer window hrydgard 2008-12-18 11:09:03 +00:00
  • 8cba6d933c remove a useless #define hrydgard 2008-12-18 10:52:55 +00:00
  • cbdcb536bf WXGL window nakeee 2008-12-18 10:52:06 +00:00
  • 50d72c1e59 Remove global state from PPCAnalyst.cpp. Little bit of cleanup. hrydgard 2008-12-18 10:44:03 +00:00
  • feb8dc7e6b fix 64-bit build hrydgard 2008-12-18 10:42:37 +00:00
  • 4ac1d4d2b3 SDLWindow also mainly for review nakeee 2008-12-18 10:30:20 +00:00
  • af378dd111 Fix/enable JIT for ps_muls0/ps_muls1. magumagu9 2008-12-18 09:39:05 +00:00
  • b43725d35f More JIT functions. Specifically, implementations of lfd and stfd for those of us on 32-bit without SSSE3, and an implementation of stfsx (32-bit only at the moment, but should be easy to fix up for 64-bit). magumagu9 2008-12-18 07:10:10 +00:00
  • b3389c593f Implement some more JIT functions. If only all functions were so easy to implement :) magumagu9 2008-12-18 06:58:12 +00:00
  • 97e01e31d0 Some small emitter enhancements; I was originally planning on actually using these, but I changed my mind. They could potentially be useful in the future, though. magumagu9 2008-12-18 06:46:32 +00:00
  • a6a279a7da fix for issue 411, njoy testing is re-enabled in windows, but not for debug config (it hates logging?) Shawn Hoffman 2008-12-18 01:21:56 +00:00
  • 6cadaa947a forgot to add the fastlog as legal flag nakeee 2008-12-18 00:45:55 +00:00
  • e6424f750b scons changes added fastlog flavour with LOGGING and -O3 changed debug to include _DEBUG changed devel to include DEBUGFAST for now wxonassert is disabled as I couldn't make it work nakeee 2008-12-18 00:37:24 +00:00
  • 4a879698ac First trial in backend, compiles but not checked or enabled (mostly for general review) nakeee 2008-12-17 23:49:35 +00:00
  • 8e127c38e2 Bit more BBA work. Still no idea what I'm doing Sonicadvance1 2008-12-17 22:55:03 +00:00
  • c0b5aaa995 Added not implemeted rendering backend chosing nakeee 2008-12-17 22:09:33 +00:00
  • 0159a027e4 remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang. Shawn Hoffman 2008-12-17 18:20:41 +00:00
  • 62d44c9166 Clear errors, fixed unload on linux nakeee 2008-12-17 17:49:38 +00:00
  • fb3c13588b compile fix for windows nakeee 2008-12-17 16:24:03 +00:00
  • eea2f0520b code clean up, for dll loading, note that this didn't add new errors just made old one visable, so complains about DllDebugger and missing symbols should be refered to the one who added the symbol without making sure the plugin actually has it. nakeee 2008-12-17 15:34:27 +00:00
  • 2a2a83b7c8 small clean up enabled njoy_test nakeee 2008-12-17 10:30:44 +00:00
  • ea2045e536 A couple of compile fixes; standard string screwups. magumagu9 2008-12-17 09:46:32 +00:00
  • 0944564cf0 Some more minor work on BBA, Seems I need a virtual network device sooner than I thought. Such a pain. Sonicadvance1 2008-12-17 09:11:03 +00:00
  • 4a5d9ded94 namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup Shawn Hoffman 2008-12-17 04:14:24 +00:00
  • 1e774a5db2 Added register struct defs for non-linux bushing 2008-12-17 02:08:11 +00:00
  • af501556b3 Comment out slightly annoying error message - not even sure that creating a directory that exists should be called an error. hrydgard 2008-12-17 00:57:55 +00:00
  • 5241b51d5f More work on BBA. Endianess problems are yes. I have no idea what I'm doing Sonicadvance1 2008-12-16 07:24:04 +00:00
  • f2686589e9 Just a few spelling mistakes in both the DX9 and GL shader, probably won't change anything for games, but it's best to be correct in the code Sonicadvance1 2008-12-16 03:34:06 +00:00
  • 7b4f6ba255 remove annoying error message when state saving hrydgard 2008-12-16 00:44:50 +00:00
  • b3fc3b16da small ps bugfix and another couple of instructions implemented hrydgard 2008-12-16 00:21:17 +00:00
  • a4fc0da8cc activate code reordering for better branch merging... it seems to work :P let me know if this breaks something. hrydgard 2008-12-15 23:11:42 +00:00
  • 3de4df29a3 merge cmp/branch when possible. smaller than expected (nearly unnoticable) speedup :P slightly bigger if you enable line 291 in ppcanalyst.cpp, but that's not fully tested yet. hrydgard 2008-12-15 22:57:11 +00:00
  • 060523a805 Consolidate all jit integer compare ops into one function. hrydgard 2008-12-15 21:05:37 +00:00
  • a44c421d01 Somewhat faster CR flag storage. Doesn't really make that much of a difference - but opens a possibility to merge cmp instructions with their following conditional branches in an efficient way. hrydgard 2008-12-15 20:41:59 +00:00
  • 5c831a934b More CR usage cleanup. hrydgard 2008-12-15 19:40:12 +00:00
  • 866d4e6bc8 Consolidate some compare instructions in JIT, preparations for separate CR flag storage, misc other cleanup in cpu core. hrydgard 2008-12-15 19:22:34 +00:00
  • 4b5cfed314 forgot include nakeee 2008-12-15 11:03:02 +00:00
  • 7f8cc4ec62 more nowx fixes disabled njoy test build nakeee 2008-12-14 23:52:01 +00:00
  • 7790afb1f3 add (disabled) instruction reordering pass to PPCAnalyst. intent is to move cmp instructions towards their conditional branches, and merge them wherever possible. hrydgard 2008-12-14 23:22:56 +00:00
  • 31ef2be0e0 more ppcdisasm bugfixes hrydgard 2008-12-14 23:15:57 +00:00
  • b0f17043bd new MsgHandler replacing common Most things moved to macros nakeee 2008-12-14 22:00:18 +00:00
  • a46392f243 linux build fix, hopefully hrydgard 2008-12-14 21:55:10 +00:00
  • 1a8cbd7b95 Cleanup AOSoundStream, fix audio pitch in linux hrydgard 2008-12-14 20:18:21 +00:00
  • 64a74c2ba4 Only initialize the Wiimote plugin if booting in Wii mode. hrydgard 2008-12-14 20:01:01 +00:00
  • 0412d0811a Fastmem for linux. Not yet activated, Cg goes nuts, for some reason. hrydgard 2008-12-14 18:25:33 +00:00
  • bddc78383e Fullscreen option temporarily removed from Linux build since it doesn't actually work. hrydgard 2008-12-14 17:37:59 +00:00
  • 7eefb7743b Get the "MemTools" and backpatching code to build on linux. Not yet activated. hrydgard 2008-12-14 17:29:13 +00:00
  • f3eda7d85a GL: Don't create a new texture every time the contents of one is updated. Probably not a noticable speed boost, but still .. it's good to be nice to GL :P hrydgard 2008-12-14 14:28:41 +00:00
  • b5b43f9408 Change PanicAlert for _dbg_assert_msg_ in case of PI_RESET_CODE (i122). memberTwo.mb2 2008-12-14 13:55:12 +00:00
  • 03088eee2f returned WXpanicalert it should be extended to get a message and the code in common.cpp cleaned up nakeee 2008-12-14 12:30:37 +00:00
  • 162351d832 Fix a number of bugs in the ppc disassembler, causing valid instructions to show up as (ill). Also fix some broken indentation. Plus a panicalert for illegal instructions in ppctables. Remove some deprecated compiler flags. hrydgard 2008-12-14 11:57:35 +00:00
  • cdf64b8199 wxgl works sometimes on dual core but hardly ever on single nakeee 2008-12-14 11:19:02 +00:00
  • 77aaf18d21 use opengl_makecurrent before save and 2 small sdl/wx changes nakeee 2008-12-14 00:31:47 +00:00
  • bb817fbced scon fixes SDL compiles nakeee 2008-12-13 23:19:56 +00:00
  • 2c66b9d36f wxgl fixes nakeee 2008-12-13 22:40:10 +00:00
  • f225f92f4d Tatsunoko has DVD trouble. This prevents it from corrupting RAM. This doesn't make the game work, though. hrydgard 2008-12-13 19:55:04 +00:00
  • 3c2a41c290 linux compile fix nakeee 2008-12-13 19:49:19 +00:00
  • 522752c77d small speedup of logmanager, minor logging improvements, misc code standard improvements, replace a crash with an error message in ppcanalyst hrydgard 2008-12-13 16:58:06 +00:00
  • 4355c37397 make "illegal instructions" visible in disassembly hrydgard 2008-12-13 15:07:23 +00:00
  • 82cd659638 Fix time in some games (AC and ZWW at least). Many games doesn't use RTC but TBRs. So a TB offset is initialized at boot with localtime now. There are, indeed, side effects since time is CPU cycle dependent in this case. memberTwo.mb2 2008-12-13 11:57:01 +00:00
  • d1712f15ca MemcardManager and GCMemcard fixes/code cleanup LPFaint99 2008-12-13 11:30:00 +00:00
  • 984a3ad699 Disable ETH device so that games that use it do not crash, mariokart GC should boot now. thanks to Chilango for testing the fix. Also rearange functions in GCMemcard to a more logical order LPFaint99 2008-12-13 07:07:52 +00:00
  • 0d424e109c might fix up nJoy, thanks sl1nk3 hrydgard 2008-12-12 20:35:46 +00:00
  • 4e1e220e71 Cleanup, some BOOL removal. tested to work, unlike a certain other change :p hrydgard 2008-12-12 17:59:33 +00:00
  • 537cf69cce Revert 1513 hrydgard 2008-12-12 17:36:12 +00:00
  • 8fa5b24472 made BOOL into s8 I tried hard not to break windows code but please check nakeee 2008-12-12 12:56:11 +00:00
  • d61cbd747f Small linux fix nakeee 2008-12-12 11:57:15 +00:00
  • 8149e1481a revert omegadox 2008-12-12 11:27:50 +00:00
  • 13acef8793 compile fix nakeee 2008-12-12 10:42:18 +00:00
  • 2c9f66e3b2 some fixes omegadox 2008-12-12 10:33:02 +00:00
  • bd1aa13182 can someone test it on win? nakeee 2008-12-12 08:53:15 +00:00
  • 45201abb9e PanicAlert, PanicYesNo, AskYesNo now use wxMessageBox. Also some very minor fixes in Fill'N'Slide. omegadox 2008-12-12 08:47:13 +00:00
  • ffae8c51d6 Fill 'N' Slide fixes. omegadox 2008-12-12 08:12:09 +00:00