4247 Commits

Author SHA1 Message Date
Mahmood(Thunder07)
2efab18cb5 enable clang-format travis build 2018-04-30 20:59:30 +01:00
Jean-Philip Desjardins
319c50f765 Update clang-format. 2018-04-30 14:51:58 -04:00
Jean-Philip Desjardins
5ff57edcb4 Some more guards. 2018-04-30 12:00:43 -04:00
Jean-Philip Desjardins
828e1b8e23 Add more guards. 2018-04-30 11:52:43 -04:00
Jean-Philip Desjardins
6122f674e6 Add guards to prevent unwanted formatting. 2018-04-30 11:19:06 -04:00
Jean-Philip Desjardins
9d174f7659 Remove redundant definition. 2018-04-26 13:12:26 -04:00
Jean-Philip Desjardins
c006cd8729 Set OSX deployment target. 2018-04-26 13:10:03 -04:00
Jean-Philip Desjardins
5b3a386e22 Move project declaration up. 2018-04-25 20:45:06 -04:00
Jean-Philip Desjardins
ac7b972242 Rename CMake projects. 2018-04-25 19:17:23 -04:00
Jean-Philip Desjardins
e97dc42f1a Remove throw when unsupported relocation type is encountered.
Log and assert instead to prevent crashes.
2018-04-25 10:57:15 -04:00
Jean-Philip Desjardins
73e13a39b5 Add relocation definition. 2018-04-25 10:55:52 -04:00
Jean-Philip Desjardins
ac5b76f244 Allow SPU interrupts to be triggered even though voice are not playing.
This seems to be the proper behavior as voices keep reading from memory all the time.
2018-04-23 09:46:42 -04:00
Jean-Philip Desjardins
22dc2fdb8f Cleanup. 2018-04-23 09:46:42 -04:00
Jean-Philip Desjardins
af9469b57d Cleanup SPU update parameters. 2018-04-23 09:46:42 -04:00
Jean-Philip Desjardins
68883905f7 Update next sample address in all cases. 2018-04-23 09:46:41 -04:00
Jean-Philip Desjardins
8a85393f74 Allow reading from D2_CHCR + 2. 2018-04-22 10:04:34 -04:00
Jean-Philip Desjardins
5c1347162f Always protect currently executing block.
Previous detection method was broken anyways because it is possible for a basic block
to span two pages with its begin address (PC) being in the page that's not protected.

Needed for Hot Shots Golf Fore.
2018-04-22 10:04:05 -04:00
Jean-Philip Desjardins
f3ac29f453 Trim trailing spaces off paths passed to IOMAN. 2018-04-19 09:14:30 -04:00
Jean-Philip Desjardins
48957fd9e4 Cleanup. 2018-04-19 09:00:45 -04:00
Jean-Philip Desjardins
a75490c259
Merge pull request #685 from Thunder07/qt_fixes
Qt fixes
2018-04-12 13:23:04 -04:00
Mahmood(Thunder07)
bf4e839e45 Fix VirtualMachine->Reset, when Resetting ELF 2018-04-12 12:30:47 +01:00
Mahmood(Thunder07)
b206c10568 fix value setting and input process condition 2018-04-11 21:55:12 +01:00
Jean-Philip Desjardins
2f4f8fcf41 Remove trailing space. 2018-04-11 12:33:25 -04:00
Jean-Philip Desjardins
3bcf06e618 CPU is not idle if interrupts are disabled. 2018-04-11 09:53:52 -04:00
Jean-Philip Desjardins
5d24d8566f Use enum instead of hardcoded value. 2018-04-10 13:02:08 -04:00
Jean-Philip Desjardins
24e15ecd90 Add better logging for unmapped memory accesses. 2018-04-09 12:09:17 -04:00
Jean-Philip Desjardins
3b8c01b9f0 Cleanup. 2018-04-09 09:41:12 -04:00
Jean-Philip Desjardins
9c1fdc3118 Add checks to prevent crashes when no playlist is loaded. 2018-04-08 16:50:58 -04:00
Jean-Philip Desjardins
475ad99d87 Force all views in tab bar to be loaded to prevent minor display issue. 2018-04-08 16:43:37 -04:00
Jean-Philip Desjardins
de0f37fc2f Remove old PsfPlayer iOS project. 2018-04-08 16:23:51 -04:00
Jean-Philip Desjardins
93ac84ccf6 Add switch to enable building with AOT cache on iOS. 2018-04-08 16:23:30 -04:00
Jean-Philip Desjardins
26b6615a0c Cleanup. 2018-04-08 15:59:24 -04:00
Jean-Philip Desjardins
7bcb74d8fc Enable vsync on Win32. 2018-04-07 14:52:40 -04:00
Jean-Philip Desjardins
8dcdbcb53d Improve PSX BIOS TestEvent implementation.
Fired state must be cleared when test passes.
2018-04-07 11:40:33 -04:00
Jean-Philip Desjardins
018889ceb5 Remove some annoying and useless asserts. 2018-04-07 11:40:33 -04:00
Jean-Philip Desjardins
18ead6cc02 Remove boost usage. 2018-04-07 11:40:33 -04:00
Jean-Philip Desjardins
f21e38e0a7 Add check for control register. 2018-04-07 11:40:33 -04:00
Jean-Philip Desjardins
0392b78f1d Change the way VIF interrupts are handled.
INTC line will only be pulsed once whenever a VIFcode with I bit is encountered.
2018-04-07 09:59:23 -04:00
Jean-Philip Desjardins
f9d8d31af5 Take offset into account when loading PSM8 CLUT. 2018-04-07 09:59:15 -04:00
Jean-Philip Desjardins
30dabba668 Remove context save/load restore parts in interrupt handler.
Not required anymore because idle thread should always be current thread.
2018-04-06 12:55:34 -04:00
Jean-Philip Desjardins
34a1aff123 Switch out current thread before servicing an interrupt.
This fixes issues with some system calls (ie.: iSignalSema) writing values directly in the thread's context
but not being picked up because the thread's context was not saved.
2018-04-06 12:55:25 -04:00
Jean-Philip Desjardins
2b9322977f Add definition needed to use MiniDebugger. 2018-04-04 10:01:55 -04:00
Jean-Philip Desjardins
4ce73fec10 Remove unused file references. 2018-04-04 10:01:42 -04:00
Jean-Philip Desjardins
7dc7e8a725 Be more flexible with compatible framebuffers. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
75a8388bac Use IsCompatibleFramebufferPSM in D3D9. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
35a3c15b3a Delay execution of CdSeek command. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
df54de403f Remove GP member from SIFCMDDATA structure. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
839569cf06 Prevent JALR from clobbering R0. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
b6d91dc0b5 Cleanup. 2018-03-31 17:07:31 -04:00
Jean-Philip Desjardins
a9a60bc3ee Revert SPU register view to previous version.
Relied on D3DX9 which requires the DirectX SDK to use. It was not installed on AppVeyor's Visual Studio 2017 image previously, but it's now available. At some point, we'll want to get rid of that D3DX9 depedency and the new version of SpuRegView was a step in the right direction, but it has some issues at the moment (high CPU usage and flickering).
2018-03-31 17:06:01 -04:00