Commit Graph

2197 Commits

Author SHA1 Message Date
wwylele 6cdab1e0a5 fs: clean up log format 2016-10-02 12:39:28 +08:00
wwylele fce6b89518 fs: implement DeleteDirectoryRecursively 2016-10-02 11:29:16 +08:00
wwylele ea56a67274 gpu: DisplayTransfer: a less amazing algorithm for flip
the old implementation modifies the loop variable in the loop. Though it actually works, it is really confusing. Makes it morereadable now.
2016-09-29 10:01:34 +08:00
wwylele 0948bd001d gpu: keep the old signal strategy for null pointer
previous commits changes the behaviour of interrupt when meeting invalid params. Regresses to the same behaviour as before
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 0513391de2 gpu: add validity check for TextureCopy, DisplayTransfer and FillMemory
prevent further operation with invalid values which may cause assertion failure or divided by zero.
needs more hwtest
2016-09-29 10:01:34 +08:00
wwylele 5c43a5652b memory: fix IsValidVirtualAddress for RasterizerCachedMemory
RasterizerCachedMemory doesn't has pointer but should be considered as valid
2016-09-29 10:01:34 +08:00
wwylele 852dc95cf2 gpu: move MemoryFill, TextureCopy and DisplayTransfer into functions
The old code indented too much to read. Split into functions and do general cleanup.
2016-09-29 10:01:34 +08:00
wwylele cc4681da73 move ResetType to kernel.h 2016-09-22 13:52:52 +08:00
wwylele f89273db5d name objects 2016-09-22 13:52:52 +08:00
wwylele 7a4bb69d51 implement wait tree widget 2016-09-22 13:52:52 +08:00
Yuri Kunde Schlesner 3523ab7659 Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
Yuri Kunde Schlesner 45751915a0 Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot e4393f7ff2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Yuri Kunde Schlesner 0e23caf9fd Manually tweak source formatting and then re-run clang-format 2016-09-18 21:14:25 -07:00
Emmanuel Gil Peyrot 7e8d205414 Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
Emmanuel Gil Peyrot 10435ef65d Dyncom: Disable clang-format on the decoding table. 2016-09-18 09:36:57 +09:00
bunnei ad1f9faedc arm_dynarmic: Implement GetVFPSystemReg/SetVFPSystemReg. 2016-09-15 17:58:06 -04:00
bunnei 50e94d6194 arm: ResetContext shouldn't be part of ARM_Interface. 2016-09-15 17:49:30 -04:00
bunnei a21ac8e611 arm_dynarmic/arm_dyncom: Remove unnecessary "virtual" keyword. 2016-09-15 17:49:30 -04:00
bunnei 3de5c33438 dyncom: Use VFP_FPSCR/VFP_FPEXC. 2016-09-15 17:49:29 -04:00
bunnei afd32f9773 core: Add configuration option for CPU JIT. 2016-09-15 17:49:27 -04:00
bunnei e7ebf6a338 dynarmic: Implement ARM CPU interface. 2016-09-15 17:49:26 -04:00
bunnei 9c148dbb38 Merge pull request #2032 from bunnei/qt-graphics
Qt graphics configure & V-Sync option
2016-08-31 22:20:54 -04:00
MerryMage 46e7af4f4e configure_audio: User-configuratble option to enable/disable audio stretching 2016-08-31 16:59:37 +01:00
bunnei 8ccb7a94b5 Merge pull request #2023 from yuriks/autobase-bcfnt
Auto-detect original shared_font.bin memory base
2016-08-30 09:26:38 -04:00
bunnei 503af587f1 system: Add a function to see if the emulator is running. 2016-08-29 21:42:31 -04:00
bunnei b9615051ce config: Add a setting for graphics V-Sync. 2016-08-29 21:42:30 -04:00
Yuri Kunde Schlesner 7b1bd7c65a Merge pull request #1948 from wwylele/cro++
Implemented CRO
2016-08-28 22:21:24 -07:00
Yuri Kunde Schlesner 8a4e1c96b5 Merge pull request #1987 from Lectem/ipcdescriptors
fix #1942 and add a few IPC functions for descriptors
2016-08-27 09:58:35 -07:00
wwylele b168f0ccaf LDR: Implement CRO 2016-08-27 21:38:06 +08:00
wwylele 7cfad703c5 ARM: add ClearInstructionCache function 2016-08-27 21:38:06 +08:00
wwylele 421aed0e92 Memory: add ReadCString function 2016-08-27 21:38:06 +08:00
Yuri Kunde Schlesner 4134734b22 Auto-detect original shared_font.bin memory base
This allows a file dumped from either an o3DS or a n3DS (and potentially
even an original unrebased file) to be used.
2016-08-27 01:04:26 -07:00
MerryMage 66ad426f21 dyncom: Read-after-write in SMLA
In the case when RD === RN, RD was updated before AddOverflow was called
to check for an overflow, resulting in an incorrect state of the Q flag.
2016-08-22 15:13:33 +01:00
MerryMage 40418ea606 Dyncom: Correct implementation of STM for R15 2016-08-14 00:49:34 +01:00
Lectem fa6b8cccf3 fix #1942 and adds a few IPC functions for descriptors 2016-08-02 16:45:15 +02:00
bunnei d2b9e45ce8 Merge pull request #1950 from JamePeng/fix-apt-0x0055004-and-0x00560000
Correct APT::0x00550040 and APT::0x00560000 function
2016-07-28 20:50:49 -04:00
Henrik Rydgard 8a7d585b9b Instead of segfaulting, log an error to remind the user to dump the shared font file 2016-07-28 21:47:57 +02:00
bunnei 0cb2e9b718 Merge pull request #1959 from MerryMage/revsh-upstream
dyncom: Fix translation of thumb REVSH
2016-07-28 08:43:51 -04:00
MerryMage 786a7da3e4 dyncom: Fix translation of thumb REVSH 2016-07-28 11:51:29 +01:00
wwylele 3bc46547ba CoreTiming: avoid overflow 2016-07-23 14:30:23 +03:00
wwylele 23869b198d HLE: implement system time 2016-07-23 14:30:23 +03:00
JamePeng 4ee66a4959 Correct APT::0x00550040 and APT::0x00560000 function 2016-07-15 19:47:01 +08:00
Yuri Kunde Schlesner 54920b6152 Merge pull request #1894 from wwylele/set-config-block
Implement config savegame editing & clean up
2016-07-09 20:39:19 -07:00
bunnei 1a5221abc4 Merge pull request #1940 from JamePeng/fix-archive-error-code
Fix the errorcode of archive handle
2016-07-06 18:37:43 -04:00
Sebastian Valle 5b03774ec3 Merge pull request #1921 from Subv/fs_funcs
HLE/FS: Document some command parameters and implemented command 0x08560240
2016-07-05 14:45:40 -07:00
JamePeng 9d7d296457 Fix the errorcode of archive handle 2016-07-05 00:39:09 +08:00
mailwl 46abd6009a HLE/Applets: Implement ErrEula applet 2016-07-04 09:54:51 +03:00
Subv f4617ecd24 HLE/FS: Document some command parameters and implemented command 0x08560240 (CreateLegacySystemSaveData) 2016-07-03 13:42:52 -05:00
wwylele 6d9f9af669 Service::CFG/FS: add and refactor out utilities for front-end 2016-07-03 08:23:59 +03:00