Commit Graph

3709 Commits

Author SHA1 Message Date
Jean-Philip Desjardins
dc7e9edc40 Hook up EvDev input provider. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
d69c6e1c5c Filter out auto repeat key events. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
c6985d1f9c Build fix. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
d5e8689feb Add InputProviderEvDev. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
7806972328 Make simulated axis binding work again. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
9bd3dc5698 Cleanup. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
71c2f33178 Fix build. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
4d38cc7183 Fix POV hat binding. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
1cbb60525a Fix some multi threading shenanigans. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
97847009b8 Simplify input event selection dialog. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
c22257b28a Define POVHAT_MAX. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
c0f6cd8a4a Remove GamePadUtils from generic part. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
2b53dd29d4 Display POV hat binding value. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
e473daaec6 Fix some issues with saving/loading preferences. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d0103dfcd4 Add support for more than 1 pad config. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d498a0ac0c Make some definitions private. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
34f1a4b812 Reduce number of preferences used for input bindings. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
13c715b577 Rename function. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
c4161eff7f Another build fix. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
457614abb5 Move macOS HID input provider. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
7a18cd26b4 Fix restore defaults. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d69f52a4c1 Fix build issues. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
75ba6f5256 Major reshuffling of input handling code. Still WIP.
Goals:
- Make InputBindingManager platform independant.
- Make Qt input configurator work without knowing which type of input system is being used.
- Add support for more than 1 pad.
2018-11-30 12:23:28 -05:00
Jean-Philip Desjardins
42aa2372d7 Make sure Q temp is reset when GIFtag is read. 2018-11-22 08:25:44 -05:00
Jean-Philip Desjardins
a63accc287 Move macOS specific files to a separate folder. 2018-11-19 13:33:53 -05:00
Jean-Philip Desjardins
3c84ef41f6 Display Pov Hat binding ref value. 2018-11-12 13:17:16 -05:00
Jean-Philip Desjardins
e1601cd494 Add sleep to prevent high CPU usage. 2018-11-12 13:15:08 -05:00
Jean-Philip Desjardins
3787352528 Code style fixes. 2018-11-09 13:13:26 -05:00
Jean-Philip Desjardins
7b606110b3 Fix stability and performance issues with OSX GamePadDeviceListener. 2018-11-09 12:42:00 -05:00
Jean-Philip Desjardins
68987dc43d
Merge pull request #722 from Zer0xFF/qt_osx_gamepad_dev
Qt OSX Gamepad
2018-11-09 12:39:35 -05:00
Jean-Philip Desjardins
5f109ff50c Update RSQRT code to update D flag properly. 2018-11-07 12:43:59 -05:00
Jean-Philip Desjardins
043f918f40 Use define instead of hardcoded value. 2018-11-07 12:42:46 -05:00
Jean-Philip Desjardins
8d498f65b0 Set D flag when division by 0 is encountered. 2018-11-07 12:23:15 -05:00
Jean-Philip Desjardins
658c257a58 Remove hard-coded values. 2018-11-07 12:22:46 -05:00
Jean-Philip Desjardins
d99b3a0a6d Handle RSQRT by 0. 2018-11-06 13:10:02 -05:00
Jean-Philip Desjardins
dc8a20599d Get the absolute value before computing square root. 2018-11-06 13:10:02 -05:00
Jean-Philip Desjardins
3de66332bb Make sure Etag is read properly.
NSUrlRequest seems to normalize header names.
2018-11-02 08:11:17 -04:00
Jean-Philip Desjardins
ce09f825a2 Allow signaled events to trigger interrupts after unmasking. 2018-10-29 13:16:11 -04:00
Jean-Philip Desjardins
503c9fa804 Make sure writes to IMR are 64-bits. 2018-10-29 13:16:11 -04:00
Jean-Philip Desjardins
d849cfcb09 Log writes to IMR. 2018-10-29 13:16:11 -04:00
Jean-Philip Desjardins
f70a5b12ac Make sure GS interrupts only occur when events occur. 2018-10-29 13:16:10 -04:00
Jean-Philip Desjardins
5b9b9ed5e8 Fix IMR reset value. 2018-10-29 13:16:10 -04:00
Mahmood - Zer0xFF
98a16a4041 Qt: OSX: fix filter condition for DS3/4 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
b3a1fd0c3e Qt: OSX: check pointer value validity 2018-10-27 13:55:07 +01:00
Mahmood(Thunder07)
d020214f3b Disconnect input from game when gamepad config dialog is opened 2018-10-27 13:55:07 +01:00
Mahmood(Thunder07)
4f38c284f5 Qt: Linux: pass m_filter as a reference to CGamePadInputEventListener 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
2097d0b0ad Fix linux build 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
1cabcd195a Cleanup 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
7c75f1403c Cleanup 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
c544ce4754 Qt: OSX: set binding when using raw hid input 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
232b2f392f Qt: OSX: DS3 BT support 2018-10-27 13:55:07 +01:00
Mahmood - Zer0xFF
ae56ba7afb Cleanup 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
152b61992b Qt: OSX: refactoring to support many custom HID configs 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
434ad840b7 Qt: OSX: cleanup 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
55d1404bb4 Qt: OSX: DS4 BT support 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
59d3b6390d Qt: Simplify type report, as we wont have IOHIDElementRef when using raw hid data 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
e0889998fd Cleanup 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
bf3609b025 Qt CGamePadDeviceListener filter is toggable 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
9f930dbc9d Qt: reuse the same instance of CGamePadDeviceListener for gamepad configuration 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
c912160b5d Qt_OSX: Set initial pad values on gamepad connect 2018-10-27 13:55:06 +01:00
Mahmood - Zer0xFF
16e3b06210 initial OSX Qt GamePad support 2018-10-27 13:54:40 +01:00
Jean-Philip Desjardins
5e3a652d48 Code style fixes. 2018-10-26 13:29:31 -04:00
Jean-Philip Desjardins
e80cdbc520 Add Exit button on iOS. 2018-10-26 08:14:14 -04:00
Jean-Philip Desjardins
669fd22686 Add ptrace call on iOS to simulate debugger.
This allows JITed code to work even though the application is not running through Xcode.
2018-10-25 18:27:59 -04:00
Jean-Philip Desjardins
be868c3c3f Qt - Generate Win32 executable 2018-10-24 20:43:37 -04:00
Jean-Philip Desjardins
5d31bb814e Update DVD L1 handling code. 2018-10-19 12:53:50 -04:00
Jean-Philip Desjardins
aa580e89ff Make IDEC seek to start code.
When a start code is detected, we need to seek to its proper byte-aligned position.
2018-10-19 12:37:57 -04:00
Jean-Philip Desjardins
f1b0d2c01a Decode DCT type in IDEC when needed. 2018-10-19 12:37:57 -04:00
Jean-Philip Desjardins
a93c78c5be Call SIF call RPC end function. 2018-10-19 12:37:57 -04:00
Jean-Philip Desjardins
d6cb020ebf DL disc support improvements. 2018-10-19 12:37:56 -04:00
Jean-Philip Desjardins
c82ac400cf Cleanup. 2018-10-19 12:36:46 -04:00
Jean-Philip Desjardins
0d8333235e Implement ReadDvdDualInfo in CDVDFSV. 2018-10-19 12:36:46 -04:00
Jean-Philip Desjardins
72a2db040b Change prints to warnings. 2018-10-19 12:36:46 -04:00
Jean-Philip Desjardins
d543d4049b Move SH_OpenAL stuff to its own CMakeLists.txt 2018-10-18 21:37:55 -04:00
Jean-Philip Desjardins
1959ee9c23 Use SH_WaveOut on Win32. 2018-10-18 21:37:55 -04:00
Jean-Philip Desjardins
ae679faeb0 Fix iOS build. 2018-10-18 21:37:55 -04:00
Jean-Philip Desjardins
7ee26f2f09 Move OpenAL config out of PlayCore. 2018-10-18 21:37:55 -04:00
Jean-Philip Desjardins
940ad5e627 Remove old/unused macOS code. 2018-10-17 19:32:38 -04:00
Jean-Philip Desjardins
810275e6ee Cleanup. 2018-10-17 19:04:16 -04:00
Jean-Philip Desjardins
023589d6b1 Add menu item to open up S3 File Browser.
Not visible since it's still an experimental feature.
2018-10-16 13:08:52 -04:00
Jean-Philip Desjardins
65fef48e64 Build fix (yet again). 2018-10-15 22:12:04 -04:00
Jean-Philip Desjardins
316c30b3bd Fix Unix build. 2018-10-15 19:41:02 -04:00
Jean-Philip Desjardins
983f909b91 Create file system when creating a DVD. 2018-10-15 19:38:59 -04:00
Jean-Philip Desjardins
d8b10ac911 Update CMakeLists.txt. 2018-10-15 18:34:57 -04:00
Jean-Philip Desjardins
85e67762dc Hook up MDF/MDS loader. 2018-10-15 18:34:57 -04:00
Jean-Philip Desjardins
ed61fa0f03 Update MdsDiscImage. 2018-10-15 18:34:57 -04:00
Jean-Philip Desjardins
24fc2410c0 Initial version of MDS support. 2018-10-15 18:34:57 -04:00
Jean-Philip Desjardins
88f7f1b946 Build fix attempt. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
7f3fd04b64 Code style fixes. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
fe70f02014 Fix build. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
c11ae907cd Save last bucket name. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
0b8ba585eb Add search filter. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
a6c365566e Cleanup. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
b105e0ceb1 Cleanup. 2018-10-15 12:53:33 -04:00
Jean-Philip Desjardins
6a83d11281 S3 file browser initial version. 2018-10-15 12:53:32 -04:00
Jean-Philip Desjardins
eae1eceee1 Make S3ObjectStream's config accessible externally. 2018-10-15 12:53:32 -04:00
Jean-Philip Desjardins
f12b5d7f8b Reorder stuff. 2018-10-15 12:53:32 -04:00
Jean-Philip Desjardins
9d2cd1603b Move continuation checking logic for Qt to a reusable object. 2018-10-15 12:53:32 -04:00
Jean-Philip Desjardins
5273a53899 Cleanup. 2018-10-15 12:53:32 -04:00
Jean-Philip Desjardins
e134feca03 Fix parameters not being passed properly in ExecPS2. 2018-10-11 12:41:37 -04:00
Jean-Philip Desjardins
68ca2a283d
Merge pull request #720 from Zer0xFF/qt_args
Qt: Add cmdline options
2018-10-08 11:52:16 -04:00
Mahmood - Zer0xFF
75127bdd1e Cleanup 2018-10-08 02:44:23 +01:00
Mahmood - Zer0xFF
cec5322444 Qt: Add cmdline options 2018-10-08 02:43:23 +01:00
Jean-Philip Desjardins
64c403d5a1 Code style fixes. 2018-10-04 17:07:48 -04:00
Jean-Philip Desjardins
4f7f899443 Handle case when SetupThread is called on an already setup thread. 2018-10-04 16:05:33 -04:00
Jean-Philip Desjardins
1a3d3c8d81 Add "Boot from cdrom0" menu item. 2018-10-01 13:13:53 -04:00
Jean-Philip Desjardins
026b58dd9c Remove unused function definition. 2018-10-01 13:13:53 -04:00
Jean-Philip Desjardins
646916fa6c Fix some naming. 2018-10-01 13:13:53 -04:00
Jean-Philip Desjardins
fa754f0403 Moved check for symbol ref type. 2018-09-30 10:40:10 -04:00
Jean-Philip Desjardins
15d7909c9c Code style fix. 2018-09-28 17:22:08 -04:00
Jean-Philip Desjardins
db7c18b75d Restrict framebuffer search on D3D9 GS Handler.
Keep it the same as OpenGL.
2018-09-28 17:21:05 -04:00
Jean-Philip Desjardins
4659aff384 Restrict/clarify when framebuffer's alpha can be used as indexed texture. 2018-09-28 17:17:09 -04:00
Jean-Philip Desjardins
61f4ca3d73 Allow reading from alpha as indexed texture. 2018-09-28 17:17:09 -04:00
Jean-Philip Desjardins
8471270e10 Fix texture matrix handling in D3D9 GS handler. 2018-09-28 17:17:09 -04:00
Jean-Philip Desjardins
e584f5d639 Update for CodeGen's new external symbol ref handler. 2018-09-28 13:31:24 -04:00
Jean-Philip Desjardins
d081019c71 Copy DLLs in output folder. 2018-09-26 13:16:50 -04:00
Jean-Philip Desjardins
d02ac904d9 Enable HighDpiScaling.
Fixes UI being too small on high DPI screens on Windows.
2018-09-26 12:50:25 -04:00
Jean-Philip Desjardins
4d460a4f4a Code style fixes. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
5ae6fc478d Move path splitting code. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
b99cfa341e Make GetStat work with directories. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
c7eca744bd Add basic support for directory read functions in IOMAN. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
2dcc319b2b Cleanup. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
6ab1fb655c Improve log message. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
b993c0e9bb Implement PADMAN's close function. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
bd0dc92353 Add open mode flag support. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
271726cf64 Cleanup. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
6141c0af46 Add enum for CAUSE register. 2018-09-26 12:34:43 -04:00
Jean-Philip Desjardins
d4cdd226c5 Cleanup. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
622b5e3845 Make sure all interrupts are masked when calling ExecPS2.
Invoking the interrupt handler before SetupThread is called can cause issues.
2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
612f35b5d8 Add enum for BADVADDR register. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
db8aaeaa69 When loading a state, make sure HLE modules are properly registered. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
0a1c120c68 Add some register definitions. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
e4d6f7609d Implement GetStat in FILEIO. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
ee8f11612a Cleanup. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
4841dd702a Add stubs for TLB handler setters. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
868b2e64f1 Fix trace display bug. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
1b3a23d250 Cleanup. 2018-09-26 12:34:42 -04:00
Jean-Philip Desjardins
64f27c458d Fix build. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
e529b48755 Code style fixes. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
6a683d4ee0 Store paths in filesystem::path. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
a89d6a4bfd Make sure we properly handle QString<->filesystem::path conversions. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
87fc13d2de Store a filesystem::path in LastOpenCommand. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
e2fb43ce57 BootElf takes a filesystem::path now. 2018-09-26 12:25:25 -04:00
Jean-Philip Desjardins
94012ec71e Code style fixes. 2018-09-02 13:11:09 -04:00
Jean-Philip Desjardins
6592c2a186 Reset executor before loading state. 2018-09-02 13:08:36 -04:00
Jean-Philip Desjardins
645c9d982e Add support for CSM2 in 8-bit CLUT. 2018-09-02 13:08:29 -04:00
Jean-Philip Desjardins
7b7f724790 Fix SetupThread to set the proper stack top address. 2018-09-02 13:08:23 -04:00
Jean-Philip Desjardins
9cf664c024 WAITP needs to flush pipeline. 2018-08-31 18:15:13 -04:00
Jean-Philip Desjardins
31da939c1f Make all other EFU instructions use pipeline. 2018-08-31 18:12:15 -04:00
Jean-Philip Desjardins
c6155436c4 Display P pipe state. 2018-08-31 17:58:35 -04:00
Jean-Philip Desjardins
aeb8986b73 Fix build. 2018-08-31 17:24:03 -04:00
Jean-Philip Desjardins
5f1f907740 Move definition. 2018-08-31 17:23:25 -04:00
Jean-Philip Desjardins
b475b8ff16 Experimental P pipeline support. 2018-08-31 07:40:14 -04:00
Jean-Philip Desjardins
129a49c480 Revert VS2017.8 build fix.
Added proper preprocessor definition in Header.cmake instead.
2018-08-30 13:25:46 -04:00
Jean-Philip Desjardins
74163adeb0 Display TEX0_1 packed GIF write. 2018-08-30 07:49:55 -04:00
Jean-Philip Desjardins
42e053c2ef No need to notify INTC if it's not bound. 2018-08-30 07:45:31 -04:00
Jean-Philip Desjardins
515a2e8844 Display packet index. 2018-08-30 07:43:26 -04:00
Jean-Philip Desjardins
2f3ce010df Make VU tracing work again. 2018-08-30 07:41:14 -04:00
Jean-Philip Desjardins
e08e4c8f6d Fix framebuffer smearing occuring in some games.
(ie.: Dragon Ball Z: Infinite World)
2018-08-27 12:32:43 -04:00
Jean-Philip Desjardins
bcb4d23dc9 Fix search end address in VuExecutor. 2018-08-25 21:26:36 -04:00
Jean-Philip Desjardins
ab66f71f85 Code style fixes. 2018-08-18 08:00:50 -04:00
Jean-Philip Desjardins
032bab41af Fix VS2017 build. 2018-08-17 21:29:02 -04:00
Jean-Philip Desjardins
4fe4e16c5e Fix overlap check when invalidating a range. 2018-08-13 20:50:22 -04:00
Jean-Philip Desjardins
7a5719d34e Cleanup Qt CMake configuration. 2018-08-09 12:58:41 -04:00
Jean-Philip Desjardins
4705aae0cf Fix code style. 2018-08-09 12:28:42 -04:00
Jean-Philip Desjardins
fcbe1ffc37 Fix warning. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
66cb03f945 Add shortcut to pause and resume emulation. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
5b6d591e16 Display messages when booting executables. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
de95cabe6e Show app version in status bar at start. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
868209f542 Move initialization code. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
37a178f09b Provide accurate feedback when loading and saving states. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
2112e9096f Cleanup. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
364dfe83b2 Add feedback when pausing and resuming. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
e9984077a6 Cleanup. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
dc43015cc3 Reworked Qt UI status bar to match what we have on Win32. 2018-08-09 12:28:14 -04:00
Jean-Philip Desjardins
7a3a52b83b Change the way GS interrupts are handled.
GS will now notify the INTC there's an interrupt when some event occurs instead of having the INTC poll the GS.
2018-08-08 12:28:06 -04:00
Jean-Philip Desjardins
827bf496fc Cleanup. 2018-08-08 12:28:06 -04:00
Jean-Philip Desjardins
e8d5b49c63 Add basic fullscreen mode to Win32 UI. 2018-08-06 21:52:42 -04:00
Jean-Philip Desjardins
9268a084d8 Fix code style. 2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
d2b3b904dd RegisterVblankHandler now supports more than one handler. 2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
bd07142050 Add some warning messages. 2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
bbc27c677e Display delayed threads in IOP thread view. 2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
6fb78889a7 Change condition used to determine if there's a message.
Seems we can't rely on nextMsgPtr.
2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
db0011cf0c Cleanup. 2018-08-03 12:48:40 -04:00
Jean-Philip Desjardins
f627b4c7ca Cleanup. 2018-08-01 13:14:22 -04:00
Jean-Philip Desjardins
ebbcc4c9f6 Initialize virtual machine at creation, GS handler when window is shown for the first time. 2018-08-01 13:14:22 -04:00
Jean-Philip Desjardins
659c02d801 Assert if no VM is created. 2018-08-01 13:14:22 -04:00
Jean-Philip Desjardins
637f4ace89 Rename some variables. 2018-08-01 13:14:22 -04:00
Jean-Philip Desjardins
2b56bcd8c4 Fix build. 2018-08-01 12:31:37 -04:00
Jean-Philip Desjardins
2e7b6c6806 Fix warning. 2018-07-31 19:00:26 -04:00
Jean-Philip Desjardins
68daf2d3f2 Fix controller settings dialog crashing on macOS. 2018-07-31 19:00:16 -04:00
Jean-Philip Desjardins
e2d8e2165d Fix warnings. 2018-07-31 18:47:14 -04:00
Jean-Philip Desjardins
4e9bbfd761 Merge declarations. 2018-07-31 18:45:11 -04:00
Jean-Philip Desjardins
52bd6089f2 Move controller config dialog related files to a separate folder. 2018-07-31 18:43:01 -04:00
Jean-Philip Desjardins
1f8b19201a Fix some warnings. 2018-07-31 13:00:55 -04:00
Jean-Philip Desjardins
27c33b428e Fix some warnings. 2018-07-30 13:25:08 -04:00
Jean-Philip Desjardins
03b0064a43 Fix capitalization. 2018-07-30 13:24:41 -04:00
Jean-Philip Desjardins
0b5cad2884 Add some titles to dialogs. 2018-07-30 12:54:46 -04:00
Jean-Philip Desjardins
02d19dfd7c Fix menu title. 2018-07-30 12:39:29 -04:00
Jean-Philip Desjardins
80423c1bcb
Merge pull request #701 from Zer0xFF/qt_osx
OSX: Qt UI
2018-07-29 12:50:21 -04:00
Jean-Philip Desjardins
a68cf01d09 Fix build. 2018-07-26 21:38:17 -04:00
Jean-Philip Desjardins
3210ffecfa Breakpoints now work again. 2018-07-26 21:38:17 -04:00
Jean-Philip Desjardins
050bf0f854 MipsExecutor is now owned by MIPS CPU context.
Will help to make new breakpoint implementation simpler.
2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
f2f0b9e6ca Prolog is actually the epilog. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
3f7f6ae29d Notify CMemoryFunction that we're modifying the function. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
c7f4a9e567 Fix formatting. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
f8faff57c1 ClearActiveBlocks is not a thing anymore.
Was broken due to caching mechanism used by VuExecutor.
2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
7f4c3fd744 Systematically mask addresses involved in block lookup.
It's not technically correct if there's any non-trivial virtual memory mapping enabled, but block linking itself will need more work if we ever need to properly support paging.
2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
12a4c466ca Remove unnecessary patch. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
9ddbdf80b2 Fix handling of likely branches. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
e01356b8f6 Cleanup. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
e3c58a5851 Cleanup. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
1b0bfaab36 Fix formatting. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
d248ddda77 ClearActiveBlocks must also clear block links. 2018-07-26 21:38:16 -04:00
Jean-Philip Desjardins
8cdc57e0e4 Fix Unix build. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
ab5aebc3a7 Make sure everything is coherent when deleting blocks. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
3952e74d32 Simplify block link code. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
241e7a9809 Remove useless check/optimisation. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
676d301ab2 Fix build. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
1f4ba149a1 Block link WIP. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
890708fcba Code style fixes. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
193e72635a Block lookup table now only stores "entry-point" functions to guest code.
Used to be a 1 to 1 map to covering function for a specific address.
2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
7f6c35efcf Store empty block instead of nullptr in tables. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
8063155134 Fix return value mistake. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
dc597e34ce Add empty block concept. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
b30658ba1a Move cycle quota update to block prolog. 2018-07-26 21:38:15 -04:00
Jean-Philip Desjardins
5e6058b530 Move PC changing piece of code in compiled block.
Makes basic blocks more generic.
2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
2f6cadb3e1 Cleanup. 2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
76ebda79ef Add missing file. 2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
f23dce025b Made MipsExecutor a template.
Allows choosing block lookup policy.
2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
aaef7e38a0 Cleanup. 2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
5dc8d3fbcb Move block lookup logic in separate class. 2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
30ed7a2c34 Remove unnecessary block lookup. 2018-07-26 21:38:14 -04:00
Jean-Philip Desjardins
9003e644b8 Fix formatting. 2018-06-24 22:47:39 -04:00
Jean-Philip Desjardins
8a74095b3f Cleanup. 2018-06-24 22:47:32 -04:00
Jean-Philip Desjardins
2d45f9a268 Implement ReleaseWaitThread in EE kernel. 2018-06-24 22:47:26 -04:00
Jean-Philip Desjardins
fdefab1f3c Cleanup. 2018-06-23 10:56:25 -04:00
Jean-Philip Desjardins
6bc7f346f1 IopSubSystem now is reponsible for creating the kernel. 2018-06-23 10:56:25 -04:00
Jean-Philip Desjardins
aa4f946dcf Make sure MADR is within MFIFO's buffer limits.
Prevents Tekken Tag Tournament from crashing.
2018-06-14 06:50:54 -04:00
Jean-Philip Desjardins
24c0ff7117 Add missing GIF packed reg desc. 2018-06-11 13:02:08 -04:00
Jean-Philip Desjardins
4154887e7b
Merge pull request #700 from Zer0xFF/tgdb
Update TheGamesDB to legacy domain
2018-06-07 12:53:16 -04:00
Jean-Philip Desjardins
47ba3b0e7c
Merge pull request #694 from LoungeKatt/master
Android: Fix / optimize external sdcard code
2018-06-07 12:33:49 -04:00
Jean-Philip Desjardins
a1fbc9222e Send a call when we're ready to teardown GS handler.
Instead of polling for the threadDone variable.
2018-06-06 19:00:56 -04:00
Jean-Philip Desjardins
52fc10624f Fix warning (constant size). 2018-06-06 13:35:38 -04:00
Jean-Philip Desjardins
73b2239192 Add more warnings. 2018-06-02 15:42:55 -04:00
Jean-Philip Desjardins
e1c4026cdc Handle TEX0.CLD == 3 case. 2018-05-31 12:41:10 -04:00
Jean-Philip Desjardins
bca5574b58 Move code inside try block to prevent crashes. 2018-05-30 13:19:50 -04:00
Jean-Philip Desjardins
ce7607977f Clean/add warnings. 2018-05-30 13:19:50 -04:00
Jean-Philip Desjardins
85c3e4f875 Cleanup. 2018-05-30 13:19:49 -04:00
Jean-Philip Desjardins
a90c4375b7 Map some more MCMAN/MCSERV functions. 2018-05-30 13:19:49 -04:00