Commit Graph

219 Commits (14308a88a70edb110855aaedf1723f1b5941d721)

Author SHA1 Message Date
archshift 228843c43e Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance. 10 years ago
bunnei e6864a1f41 Merge pull request #431 from yuriks/thread-queue-cleanup
Common: Clean up ThreadQueueList
10 years ago
Yuri Kunde Schlesner 122c2bb324 Common: Clean up ThreadQueueList
Replace all the C-style complicated buffer management with a std::deque.
In addition to making the code easier to understand it also adds support
for non-POD IdTypes.

Also clean the rest of the code to follow our code style.
10 years ago
bunnei 3eca33c6a4 Merge pull request #425 from Subv/coretiming
Ported the CoreTiming namespace from PPSSPP
10 years ago
Subv 9bf82beb4c CoreTiming: Ported the CoreTiming namespace from PPSSPP
Implemented the required calls to make it work.

CoreTiming: Added a new logging class Core_Timing.
10 years ago
bunnei 5217e3f873 Merge pull request #421 from linkmauve/remove-dead-platforms
Remove dead platform #ifdefs to make the code more readable.
10 years ago
bunnei 088863c921 Merge pull request #376 from Subv/arc_reorder
Archives: Change the folder layout of some archives.
10 years ago
Emmanuel Gil Peyrot 6b411c63c9 Common: Remove dead platform #ifdefs to make the code more readable.
Symbian, Xbox, Blackberry and iOS got removed.
FreeBSD and Android kept due to them potentially being able to run Citra in the future.
The iOS specific part also got removed from PPSSPP in order to fix a bug there.
10 years ago
Emmanuel Gil Peyrot 66e06f65c4 Common: Use std::abs instead of abs, using abs with cmath fails on some systems. 10 years ago
Emmanuel Gil Peyrot ffe4cc9c5a Common: Remove the unused x86-specific 128-bit float type. 10 years ago
Subv 71a063f45c Archives: Changed the way paths are built for the archives.
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
10 years ago
Subv cfd7b219f6 SaveDataCheck: Move the files to nand/title
under /nand/title/high/low/content/00000000.app.romfs
10 years ago
Subv 3bc9f5509b Archives: Change the folder layout of some archives.
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
10 years ago
Subv aade417b14 Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
10 years ago
Subv 97a7381d29 SOC_U: Preliminary implementation of sockets.
Stubbed CreateMemoryBlock

Using Berkeley sockets, and Winsock2.2 on Windows.
So far ftpony creates the socket and accepts incoming connections

SOC_U: Renamed functions to maintain consistency

Also prevents possible scope errors / conflicts with the actual Berkeley socket functions

SOCU: Close all the opened sockets when cleaning up SOCU
10 years ago
bunnei 29da5da951 Merge pull request #369 from darkf/mingw_
Fix MinGW build (2)
10 years ago
darkf 5d10b212ec Fix MSVC-related #defines and add CMakeLists comment 10 years ago
darkf 8ba9ac0f74 Fix merge conflicts 10 years ago
Subv 2c89d4d5cd Archives: Implemented ExtSaveData and SharedExtSaveData
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively.
Also redirect some APT_A functions to their APT_U equivalents.
Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module.
Implemented formatting the savegame.
Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
10 years ago
bunnei 2188af4a65 Merge pull request #322 from chinhodado/master
More warning cleanups
10 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
10 years ago
Chin 0199a7d9ef More warning cleanups 10 years ago
purpasmart96 ebfd831ccb License change 10 years ago
Tony Wasserka 95be6a09b2 BitField: Add an explicit Assign method.
This is useful when doing crazy stuff like inheriting from BitField.
10 years ago
Yuri Kunde Schlesner 82528ba7df Common: Add a clone of std::make_unique 10 years ago
Subv bec527fa24 SaveData: Implemented the SystemSaveData archive.
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
10 years ago
Subv ea9ce0fba7 Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information

Got rid of the code duplication in File and Directory

Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.

FS_U: Use the correct error code when a file wasn't found
10 years ago
Yuri Kunde Schlesner ac87c3b0d0 Restore the original console color after logging a message.
Fixes #277
10 years ago
Yuri Kunde Schlesner 4d2a6f8b9b Remove old logging system 10 years ago
Yuri Kunde Schlesner 0e0a007a25 Add configurable per-class log filtering 10 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 10 years ago
Yuri Kunde Schlesner 6390c66e95 Implement text path trimming for shorter paths. 10 years ago
Yuri Kunde Schlesner 6b0fb62c47 Re-add coloring to the console logging output. 10 years ago
Yuri Kunde Schlesner 616d874443 New logging system 10 years ago
Yuri Kunde Schlesner 04b1f2936c Add SCOPE_EXIT macro to conveniently execute cleanup actions 10 years ago
Yuri Kunde Schlesner eda30c36ee Added missing include in common_funcs.h 10 years ago
Yuri Kunde Schlesner 8a681cdf3d Remove redundant include from common_funcs.h 10 years ago
bunnei a6791e4fc7 Merge pull request #267 from bunnei/apt-shared-font
APT shared font loading
10 years ago
bunnei 6fe61d3deb APT_U: Added GetSharedFont service function. 10 years ago
Tony Wasserka 33e61ef514 Merge pull request #261 from neobrain/boost
Add Boost as a submodule and add some minor cleanups using Boost.Range
10 years ago
bunnei 5bac72282a Common: Add "sysdata" to GetUserPath and cleanup. 10 years ago
archshift 4763fca9f8 Explicitly specify LE strings to iconv, fixes paths in Steel Diver 10 years ago
Yuri Kunde Schlesner 521e1cb7e0 Remove unused NDMA module 10 years ago
Tony Wasserka 0cd27a511e Some code cleanup. 10 years ago
Tony Wasserka 27280f178b Fix some headers to include their dependencies properly. 10 years ago
Tony Wasserka 3d8c6e61be StringUtil: Perform some minimal cleanup. 11 years ago
Rohit Nirmal 8a62423970 Change NULLs to nullptrs. 11 years ago
darkf 459502e48c Fix MinGW build 11 years ago
Emmanuel Gil Peyrot f8c05e53c4 Remove unused includes to common/thread.h 11 years ago
Emmanuel Gil Peyrot 739bb58c3a Remove tabs in all files except in skyeye imports and in generated GL code 11 years ago