summaryrefslogtreecommitdiffstats
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Input: add device and factory templatewwylele2017-03-012-0/+2
|
* Common: add ParamPackagewwylele2017-03-013-0/+162
|
* Merge pull request #2587 from yuriks/status-barYuri Kunde Schlesner2017-02-274-204/+25
|\ | | | | Replace built-in Profiler with indicators in status bar
| * Remove built-in (non-Microprofile) profilerYuri Kunde Schlesner2017-02-273-186/+0
| |
| * SynchronizedWrapper: Add Lock convenience methodYuri Kunde Schlesner2017-02-271-18/+25
| |
* | Merge pull request #2569 from wwylele/wrap-unwrapbunnei2017-02-253-0/+3
|\ \ | | | | | | APT: implemented Wrap and Unwrap
| * | HW: add AES engine & implement AES-CCMwwylele2017-02-213-0/+3
| | |
* | | Gui: Change title bar to include build nameJames Rowe2017-02-233-0/+26
| |/ |/| | | | | | | Nightly builds now have "Citra Nightly" in the titlebar Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
* | applied the change suggested by @wwylelenoah the goodra2017-02-141-0/+1
| |
* | added http service enum to the log.h filenoah the goodra2017-02-141-0/+1
|/
* Merge pull request #2476 from yuriks/shader-refactor3Yuri Kunde Schlesner2017-02-041-14/+19
|\ | | | | Oh No! More shader changes!
| * Common: Optimize BitSet iteratorYuri Kunde Schlesner2017-01-301-14/+19
| |
* | Common/x64: remove legacy emitter and abi (#2504)Weiyi Wang2017-01-315-4201/+1
| | | | | | These are not used any more since we moved shader JIT to xbyak.
* | file_util: Fixed implicit type conversion warning (#2503)noah the goodra2017-01-311-2/+2
|/
* common: add <cstddef> to hash.hKloen2017-01-281-0/+1
|
* common: switch ComputeHash64 len param to size_t instead of int, fix warning on MSVC on dsp_dsp.cppKloen2017-01-282-6/+6
|
* Merge pull request #1951 from wwylele/motion-sensorbunnei2017-01-075-0/+76
|\ | | | | Emulate motion sensor in frontend
| * Common: add Quaternionwwylele2016-12-262-0/+45
| |
| * vector math: add implementation of Length and Normalizewwylele2016-12-261-0/+19
| |
| * MathUtil: add PI constantwwylele2016-12-261-0/+2
| |
| * Common::Event: add WaitUntilwwylele2016-12-261-0/+10
| |
* | Service/NFC: stub GetTagInRangeEventmailwl2016-12-302-0/+2
|/ | | | Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
* Merge pull request #2369 from MerryMage/core-frontendbunnei2016-12-235-646/+0
|\ | | | | core: Move emu_window and key_map into core
| * core: Move emu_window and key_map into coreMerryMage2016-12-235-646/+0
| | | | | | | | * Removes circular dependences (common should not depend on core)
* | file_util: fix missing sysdata pathwwylele2016-12-231-3/+1
|/
* Merge pull request #2343 from bunnei/core-cleanupbunnei2016-12-223-87/+3
|\ | | | | Core: Top-level consolidate & misc cleanup
| * file_util: Remove unused paths.bunnei2016-12-223-87/+3
| |
* | Merge pull request #2285 from mailwl/csnd-formatbunnei2016-12-222-0/+2
|\ \ | |/ |/| csnd:SND: Reformat source code
| * csnd:SND reformat source codemailwl2016-12-122-0/+2
| |
* | Fixed GPLv2 license text in the start.Vamsi Krishna2016-12-181-1/+1
| |
* | Merge pull request #2316 from endrift/macos-gccbunnei2016-12-161-0/+11
|\ \ | | | | | | Common: Fix gcc build on macOS
| * | Common: Fix gcc build on macOSJeffrey Pfau2016-12-131-0/+11
| |/
* / VideoCore: Convert x64 shader JIT to use Xbyak for assemblyYuri Kunde Schlesner2016-12-153-1/+234
|/
* Support mingw cross-compileJannik Vogel2016-12-055-5/+6
|
* Merge pull request #2228 from freiro/winver_fixYuri Kunde Schlesner2016-12-011-3/+0
|\ | | | | Move WINVER definition to cmake and a bit of cleanup
| * WINVER definition moved to CMake and cleanupfreiro2016-11-301-3/+0
| |
* | Set client SDK version to Service APIsmailwl2016-11-301-3/+2
|/
* Build: Fixed a few warnings.Subv2016-11-291-4/+4
|
* Merge pull request #2168 from mailwl/micSebastian Valle2016-11-272-0/+2
|\ | | | | MIC_U: Stub service funcions
| * MIC_U: Stub service funcionsmailwl2016-11-252-0/+2
| |
* | Move to AppData/Roaming/Citra/freiro2016-11-261-1/+1
| |
* | Removed /user/ from pathfreiro2016-11-261-2/+1
| |
* | Switch to AppData/Roamingfreiro2016-11-242-4/+4
| |
* | Return by value and other fixesfreiro2016-11-192-14/+8
| |
* | Win32 move default user folder location to AppDatafreiro2016-11-192-0/+24
|/
* Merge pull request #2172 from jroweboy/fix-mingwbunnei2016-11-161-2/+3
|\ | | | | Fix mingw compilation support
| * Add mingw compile supportJames Rowe2016-11-141-2/+3
| |
* | Round the rectangle size to prevent float to int casting issuesJames Rowe2016-11-123-8/+9
| | | | | | | | And other minor style changes
* | Add default hotkey to swap primary screens.James Rowe2016-11-054-7/+10
| | | | | | | | Also minor style changes
* | Rework frame layouts to use a max rectangle instead of hardcoded calculationsJames Rowe2016-11-052-250/+100
| |
* | LargeFrameLayout + SwappedSonofUgly2016-11-051-50/+36
| | | | | | Make small screen stay at 1x, and large screen maintain its aspect ratio.
* | Support additional screen layouts.James Rowe2016-11-055-73/+382
|/ | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* common: use system bswap* functions on more BSDsJan Beich2016-10-281-2/+5
|
* common: use system CPUID routine on DragonFly as wellJan Beich2016-10-281-2/+2
|
* common: some FreeBSD headers are incomplete to avoid namespace pollutionJan Beich2016-10-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | In file included from src/common/x64/cpu_detect.cpp:16: /usr/include/machine/cpufunc.h:66:17: error: unknown type name 'u_int' static __inline u_int ^ /usr/include/machine/cpufunc.h:67:6: error: unknown type name 'u_int' bsfl(u_int mask) ^ /usr/include/machine/cpufunc.h:69:2: error: unknown type name 'u_int' u_int result; ^ /usr/include/machine/cpufunc.h:75:17: error: unknown type name 'u_long'; did you mean 'long'? static __inline u_long ^ /usr/include/machine/cpufunc.h:76:6: error: unknown type name 'u_long'; did you mean 'long'? bsfq(u_long mask) ^ /usr/include/machine/cpufunc.h:78:2: error: use of undeclared identifier 'u_long'; did you mean 'long'? u_long result; ^ [...]
* common: convert to standard stat()/fstat() interfacesAnthony J. Bentley2016-10-281-15/+10
| | | | | | | | | | | | | Most modern Unix environments use 64-bit off_t by default: OpenBSD, FreeBSD, OS X, and Linux libc implementations such as Musl. glibc is the lone exception; it can default to 32 bits but this is configurable by setting _FILE_OFFSET_BITS. Avoiding the stat64()/fstat64() interfaces is desirable because they are nonstandard and not implemented on many systems (including OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either the default or trivial to set up.
* common: stat64 is non-standard, hide on a random UnixJan Beich2016-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | src/common/file_util.cpp:79:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:79:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:342:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:342:12: note: forward declaration of 'stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:12: note: forward declaration of 'stat64' struct stat64 buf; ^ 4 errors generated.
* common: only FreeBSD has thread affinity compatible with LinuxJan Beich2016-10-281-1/+5
| | | | | | | | | | | src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ 1 error generated.
* common: define routines to set thread name on more BSDsJan Beich2016-10-281-2/+4
| | | | | | | src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated.
* Fix typosRicardo de Almeida Gonzaga2016-10-202-2/+2
|
* Merge pull request #2024 from JamePeng/update-boss-codebunnei2016-10-082-0/+2
|\ | | | | Update the stub code of BOSS
| * Update the stub code of BOSSJamePeng2016-10-022-0/+2
| |
* | Common: Remove dangerous Vec[234] array constructorsYuri Kunde Schlesner2016-09-301-3/+0
|/ | | | | They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read.
* Remove special rules for Windows.h and library includesYuri Kunde Schlesner2016-09-213-1/+3
|
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-2110-11/+11
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-2132-54/+13
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-1915-61/+32
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-1851-3389/+4172
|
* microprofile: Double buffer size to 16MB.bunnei2016-09-151-1/+1
|
* Common: readdir_r() is deprecated, switch to readdir().Emmanuel Gil Peyrot2016-09-131-6/+2
|
* Protection against a resize of size 0Alexandre LittleWhite Laurent2016-07-231-4/+3
|
* Remove superfluous std::move in return std::move(local_var)scurest2016-06-251-1/+1
|
* Fix recursive scanning of directoriesYuri Kunde Schlesner2016-06-192-17/+12
| | | | | | ForeachDirectoryEntry didn't actually do anything with the `recursive` parameter, and the corresponding callback parameter was shadowing the actual recursion counters in the user functions.
* Merge pull request #1789 from wwylele/input-refactorbunnei2016-06-114-23/+232
|\ | | | | Refactor input mapping & implement circle pad modifier
| * fixup! fixup! Refactor input systemwwylele2016-05-152-7/+7
| |
| * fixup! Refactor input systemwwylele2016-05-152-20/+24
| |
| * implement circle pad modifierwwylele2016-05-152-4/+22
| |
| * Refactor input subsystemwwylele2016-05-154-23/+210
| |
* | Merge pull request #1751 from linkmauve/no-recursive-readdirbunnei2016-05-312-24/+36
|\ \ | | | | | | Make recursive FileUtil functions take a maximum recursion
| * | Common: Make recursive FileUtil functions take a maximum recursionEmmanuel Gil Peyrot2016-05-212-24/+36
| |/ | | | | | | | | | | | | | | | | | | Fixes #1115. Also improves the performances of DiskArchive’s directory implementation a lot, simply by not going through the entire tree instead of just listing the first level files. Thanks to JayRoxFox for rebasing this on current master!
* / common_funcs: Provide rotr and rotl for MSVCMerryMage2016-05-271-12/+18
|/
* swap: Get rid of pointer casting for swapping structsLioncash2016-05-091-5/+5
| | | | These shouldn't haphazardly convert types
* swap: Get rid of undefined behavior in swapf and swapdLioncash2016-05-091-14/+18
| | | | This isn't well-defined in C++.
* swap: Remove unused methodsLioncash2016-05-091-28/+0
| | | | | | | Also gets rid of pointer data variants as this prevents the use of the regular swapping routines as unary predicates in std lib functions. They also cast to stricter alignment types, which is undefined behavior.
* Merge pull request #1736 from MerryMage/sdl2-sinkbunnei2016-05-072-1/+3
|\ | | | | AudioCore: SDL2 Sink
| * AudioCore: SDL2 SinkMerryMage2016-05-072-1/+3
| |
* | VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-306-5/+14
|/
* Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner2016-04-295-259/+6
| | | | This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI.
* Make Citra build with MICROPROFILE_ENABLED set to 0 (#1709)Henrik Rydgård2016-04-291-0/+4
| | | | | | | | | | | | * Make Citra build with MICROPROFILE_ENABLED set to 0 * Buildfix with microprofile kept on * moc did not like a dialog to conditionally exist. * Cleanup * Fix end of line
* assert: Allow UNREACHABLE_MSG to have just one argumentSam Spilsbury2016-04-241-1/+1
|
* Merge pull request #1576 from smspillaz/fix-build-errors-03272016bunnei2016-04-241-0/+2
|\ | | | | Fix various build errors encountered on Clang 3.9 on OS X
| * assert: Add _MSG variations for UNREACHABLE and UNIMPLEMENTEDSam Spilsbury2016-04-231-0/+2
| |
* | Protect use of std::is_trivially_copyable to compile with GCC 4.9LittleWhite2016-04-231-0/+4
|/
* Merge pull request #1672 from wwylele/win-driver-fixbunnei2016-04-191-3/+12
|\ | | | | Fix driver root identification on Windows
| * fix driver root identification on Windowswwylele2016-04-151-3/+12
| |
* | Merge pull request #1666 from MerryMage/barrierbunnei2016-04-151-24/+22
|\ \ | | | | | | Thread: Correct Common::Barrier implementation
| * | Thread: Make Barrier reusableMerryMage2016-04-141-5/+5
| | |
| * | common/thread: Correct code styleMerryMage2016-04-141-21/+19
| |/
* | Merge pull request #1665 from lioncash/filebunnei2016-04-142-47/+22
|\ \ | | | | | | IOFile: Minor API changes
| * | file_util: In-class initialize data membersLioncash2016-04-142-6/+4
| | |
| * | file_util: const qualify IOFile's Tell and GetSize functionsLioncash2016-04-142-8/+8
| | |
| * | file_util: Don't expose IOFile internals through the APILioncash2016-04-142-30/+4
| | |
| * | file_util: Check for is_trivially_copyableLioncash2016-04-141-3/+5
| | | | | | | | | | | | Also applies the template checks to ReadArray as well.
| * | file_util: Make IOFile data members privateLioncash2016-04-141-0/+1
| |/
* | emitter: Add CALL that can be fixed up.bunnei2016-04-142-0/+13
| |
* | emitter: Support arbitrary FixupBranch targets.bunnei2016-04-142-0/+17
|/
* FileUtil: Missing #include, Add const to IOFile methodsMerryMage2016-04-121-6/+7
|
* cecd:u: stub GetCecStateAbbreviated (#1648)mailwl2016-04-081-1/+1
|
* Merge pull request #1435 from mailwl/frd_ubunnei2016-04-062-0/+2
|\ | | | | frd:u: Initial stub some functions
| * frd:u: Initial stub some functionsmailwl2016-03-272-0/+2
| |
* | Merge pull request #1643 from MerryMage/make_uniqueMathew Maidment2016-04-062-18/+0
|\ \ | | | | | | Common: Remove Common::make_unique, use std::make_unique
| * | Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-052-18/+0
| | |
* | | Merge pull request #1620 from LFsWang/pathbunnei2016-04-053-26/+43
|\ \ \ | | | | | | | | Fix filename&path encode problem on Windows
| * | | remove debug codeLFsWang2016-03-311-1/+1
| | | |
| * | | fix unicode url problem on windowsLFsWang2016-03-311-6/+18
| | | |
| * | | Fix encode problem On WindowsLFsWang2016-03-313-21/+26
| | |/ | |/|
* | | Merge pull request #1616 from exhalatio/dlp_dummybunnei2016-04-032-0/+2
|\ \ \ | | | | | | | | Dummy implementation dlp:SRVR Service.
| * | | Dummy implementation dlp:SRVR Service.exhalatio2016-04-022-0/+2
| | |/ | |/|
* | | cecd:u: stub GetCecInfoEventHandle, GetChangeStateEventHandlemailwl2016-03-312-0/+2
| |/ |/|
* | remove unnecessary constwwylele2016-03-261-2/+2
| |
* | implement accel and gyro backendwwylele2016-03-221-0/+48
|/
* vector_math: Add missing member in Vec4's SetZero functionLioncash2016-03-181-1/+4
|
* Reorganize the ndm service path for dummy implement functionJamePeng2016-03-142-0/+2
| | | | | | SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now!
* Merge pull request #1509 from lioncash/noncopybunnei2016-03-131-3/+3
|\ | | | | common: Minor changes to NonCopyable
| * common_types: Make NonCopyable constructor constexprLioncash2016-03-131-1/+1
| |
| * common_types: Specify const in deleted copy constructor/assignment operatorLioncash2016-03-131-2/+2
| |
* | PICA: Align vertex attributesJannik Vogel2016-03-132-0/+23
|/
* Merge pull request #1476 from lioncash/emitbunnei2016-03-101-59/+54
|\ | | | | emitter: constexpr/misc changes
| * emitter: templatize ImmPtrLioncash2016-03-091-2/+6
| |
| * emitter: constexpr-ify helper functionsLioncash2016-03-091-19/+17
| |
| * emitter: Get rid of CanDoOpWithLioncash2016-03-091-7/+0
| | | | | | | | | | This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra.
| * emitter: constexpr-ify OpArgLioncash2016-03-091-30/+30
| |
| * emitter: friend class OpArg with XEmitterLioncash2016-03-091-3/+4
| |
| * emitter: Remove unimplemented prototypeLioncash2016-03-091-1/+0
| |
* | Common: Get rid of alignment macrosLioncash2016-03-091-9/+1
|/ | | | | The gl rasterizer already uses alignas, so we may as well move everything over.
* Merge pull request #1297 from Subv/savesbunnei2016-03-011-1/+1
|\ | | | | DiskDirectory: Initialize the directory member with valid info.
| * DiskDirectory: Initialize the directory member with valid info.Subv2016-01-161-1/+1
| |
* | Merge pull request #1427 from MerryMage/emit-lbitYuri Kunde Schlesner2016-02-281-2/+2
|\ \ | | | | | | x64 Emitter: Fix L bit in VEX prefix
| * | x64 Emitter: Fix L bit in VEX prefixMerryMage2016-02-271-2/+2
| | |
* | | Initial implementation ir:usermailwl2016-02-262-0/+2
|/ /
* | AudioCore: Skeleton ImplementationMerryMage2016-02-213-1/+5
| | | | | | | | | | | | | | | | | | This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation.
* | BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-122-26/+22
| |
* | backend: defaulted move constructor/assignmentLioncash2016-02-051-18/+2
| |
* | color: Make trivial helpers constexprLioncash2016-01-281-8/+8
| |
* | key_map: Use std::tie for comparisonsLioncash2016-01-251-7/+7
|/
* Add missing return values in ForeachDirectoryEntryLFsWang2015-12-231-4/+14
| | | | | ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing.
* Merge pull request #1252 from Subv/cambunnei2015-12-042-0/+2
|\ | | | | Services/Cam: Added new log type and camera enums from 3dbrew.
| * Services/Cam: Added new log type and camera enums from 3dbrew.Subv2015-11-232-0/+2
| | | | | | | | | | Followup to #1102 Original author @mailwl
* | Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift2015-11-272-50/+53
|/ | | | | | | | | ScanDirectoryTreeAndCallback, before this change, coupled error/return codes and actual return values (number of entries found). This caused confusion and difficulty interpreting the precise way the function worked. Supersedes, and closes #1255.
* fix failure on gcc and clangwwylele2015-11-121-3/+3
|
* disable unary minus when the type is not signedwwylele2015-11-121-0/+4
| | | | silent warning C4146 on msvc
* Implement gdbstubpolaris-2015-10-042-0/+2
|
* Merge pull request #1176 from lioncash/vs2015-code-junking-daybunnei2015-10-031-11/+0
|\ | | | | Obligatory "Throw out workarounds VS2013 once limited us to" PR
| * bit_field: Re-enable code on MSVCLioncash2015-10-011-11/+0
| |
* | Merge pull request #1095 from archshift/game-listbunnei2015-10-022-103/+83
|\ \ | | | | | | Initial implementation of a game list
| * | Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behaviorarchshift2015-10-012-103/+83
| | | | | | | | | | | | | | | Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally.
* | | symbols: Replace an insert call with emplaceLioncash2015-09-301-1/+1
| | |
* | | symbols: Get rid of initial underscores in variable namesLioncash2015-09-302-20/+20
| | |
* | | symbols: Directly initialize TSymbol membersLioncash2015-09-301-8/+3
| | |
* | | symbols: Simplify GetSymbolLioncash2015-09-301-8/+5
| |/ |/|
* | hash: Get rid of unused functionsLioncash2015-09-161-16/+0
| |
* | general: Silence some warnings when using clangLioncash2015-09-161-2/+2
|/
* memory_util: Remove unnecessary assignment in FreeMemoryPagesLioncash2015-09-121-3/+0
|
* memory_util: Remove commented out printf statementsLioncash2015-09-121-10/+0
|
* general: Replace 0 literals with nullptr where applicableLioncash2015-09-122-6/+6
|
* synchronized_wrapper: Add missing return in SynchronizedRef move assignment operatorLioncash2015-09-121-0/+1
|
* Merge pull request #1144 from lioncash/removebunnei2015-09-114-176/+0
|\ | | | | common: Get rid of debug_interface.h
| * common: Get rid of debug_interface.hLioncash2015-09-114-176/+0
| | | | | | | | | | | | This is technically unused. Also removes TMemChecks because it relies on this. Whenever memory breakpoints are implemented for real, it should be designed to match the codebase debugging mechanisms.
* | common: Get rid of a cast in swap.hLioncash2015-09-111-2/+2
|/
* x64: Proper stack alignment in shader JIT function callsaroulin2015-09-013-424/+90
| | | | | Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
* Common: Import BitSet from Dolphinaroulin2015-09-012-0/+190
|
* Common: Fix MicroProfile compilation in MSVC2015Yuri Kunde Schlesner2015-08-281-0/+5
|
* Integrate the MicroProfile profiling libraryYuri Kunde Schlesner2015-08-254-0/+51
| | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view.
* x64-emitter: add RCPSS SSE instructionaroulin2015-08-232-0/+2
|
* Merge pull request #1058 from lioncash/ptrLioncash2015-08-232-4/+27
|\ | | | | emitter: Remove pointer casts
| * emitter: Remove pointer castsLioncash2015-08-212-4/+27
| | | | | | | | This should also technically silence quite a few ubsan warnings.
* | Merge pull request #1025 from yuriks/heap-managementYuri Kunde Schlesner2015-08-221-8/+7
|\ \ | |/ |/| Kernel: Correct(er) handling of Heap and Linear Heap allocations
| * VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner2015-08-161-8/+7
| |
* | emitter: Remove unnecessary definesLioncash2015-08-201-5/+1
| |
* | emitter: Remove unnecessary else keywordsLioncash2015-08-201-7/+7
| |
* | emitter: Remove unused codeLioncash2015-08-202-44/+0
| |
* | emitter: Remove unimplemented JMP prototypeLioncash2015-08-201-1/+0
| |
* | emitter: Pass OpArg by reference where possibleLioncash2015-08-202-763/+763
| |
* | emitter: Remove unnecessary inline specifiersLioncash2015-08-201-33/+33
| | | | | | | | Functions implemented in a class definition are already implicitly inline.
* | Merge pull request #1035 from darkf/mingw-fixbunnei2015-08-202-4/+10
|\ \ | | | | | | Fix building under MinGW
| * | Fix building under MinGWdarkf2015-08-182-4/+10
| |/
* / videocore: Added RG8 texture supportPatrick Martin2015-08-161-0/+18
|/
* Merge pull request #1031 from bbarenblat/masterYuri Kunde Schlesner2015-08-161-1/+2
|\ | | | | Handle invalid `Log::Class`
| * Handle invalid `Log::Class`Benjamin Barenblat2015-08-151-1/+2
| | | | | | | | | | | | Add a case of `Log::Class::Count` to the switch statement that dispatches on `Log::Class`. The case simply calls the `UNREACHABLE` macro.
* | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei2015-08-168-14/+14
| |
* | Common: Cleanup CPU capability detection code.bunnei2015-08-164-198/+141
| |
* | Common: Move cpu_detect to x64 directory.bunnei2015-08-164-5/+5
| |
* | x64: Refactor to remove fake interfaces and general cleanups.bunnei2015-08-1610-516/+26
| |
* | Common: Added MurmurHash3 hash function for general-purpose use.bunnei2015-08-155-2/+158
| |
* | Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.bunnei2015-08-159-4/+4380
| |
* | Common: Ported over Dolphin's code for x86 CPU capability detection.bunnei2015-08-154-17/+273
|/
* Stop defining GCC always_inline attributes as __forceinlinearchshift2015-08-122-7/+8
| | | | | __forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
* Merge pull request #1018 from bbarenblat/masterbunnei2015-08-052-1/+8
|\ | | | | Handle invalid `Log::Level::Count`
| * Use UNREACHABLE macro for impossible cases in previous commitBenjamin Barenblat2015-08-032-4/+3
| | | | | | | | Use the UNREACHABLE macro instead of `ASSERT(false, ...);`.
| * Handle invalid `Log::Level::Count`Benjamin Barenblat2015-08-022-1/+9
| | | | | | | | | | | | Add a case of `Log::Level::Count` to all switch statements that dispatch on `Log::Level`. The case simply asserts `false` and notes the invalid log level.
* | Common: Work around bug in MSVC2015 standard libraryYuri Kunde Schlesner2015-08-031-0/+14
|/ | | | | | The char16_t/char32_t implementations aren't present in the library and cause linker errors. This is a known issue that wasn't fixed in VS2015 RTM.
* Common : Fix Conversion Warningszawata2015-07-191-1/+1
|
* Common: Remove the unused and commented GetThemeDir prototype from FileUtil.Emmanuel Gil Peyrot2015-07-181-3/+0
|
* Pica: Implement stencil testing.Tony Wasserka2015-07-131-1/+26
|
* FileUtil: Add a WriteObject method for writing a single, POD-type object.Tony Wasserka2015-07-131-0/+10
|
* don´t define snprintf on Visual Studio 2015Apology112015-07-121-2/+4
| | | Visual Studio 2015 defines this in stdio now
* Merge pull request #914 from yuriks/bitfield-maskYuri Kunde Schlesner2015-07-121-2/+2
|\ | | | | Common: Fix mask generation in BitField
| * Common: Remove redundant masking in BitFieldYuri Kunde Schlesner2015-07-101-1/+1
| | | | | | | | | | For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
| * Common: Fix mask generation in BitFieldYuri Kunde Schlesner2015-07-101-1/+1
| | | | | | | | Fixes #913
* | Common: Remove thunk.hLioncash2015-07-112-43/+0
| | | | | | | | This isn't used, and there's no implementations of the member functions.
* | Merge pull request #876 from linkmauve/include-cleanupsYuri Kunde Schlesner2015-07-1126-236/+86
|\ \ | |/ |/| Cleanup includes, mostly in common
| * Core: Cleanup file_sys includes.Emmanuel Gil Peyrot2015-06-281-0/+1
| |
| * Core: Cleanup core includes.Emmanuel Gil Peyrot2015-06-281-1/+2
| |
| * CitraQt: Cleanup includes.Emmanuel Gil Peyrot2015-06-282-1/+1
| |
| * Common: Cleanup emu_window includes.Emmanuel Gil Peyrot2015-06-282-3/+15
| |
| * Common: Remove unused ROUND_UP_POW2 macro.Emmanuel Gil Peyrot2015-06-281-7/+0
| |
| * Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-0/+1
| |
| * Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot2015-06-287-22/+18
| |
| * Common: Cleanup profiler includes.Emmanuel Gil Peyrot2015-06-284-7/+10
| |
| * Common: Cleanup thread includes.Emmanuel Gil Peyrot2015-06-282-18/+15
| |
| * Common: Fix string_util includes.Emmanuel Gil Peyrot2015-06-282-3/+9
| |
| * Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot2015-06-283-7/+14
| |
| * Common: Remove now-unused EMU_PLATFORM define, fixes issue #373.Emmanuel Gil Peyrot2015-06-271-30/+0
| |
| * Common: Remove unused SSE version checking and a GCC macro.Emmanuel Gil Peyrot2015-06-271-25/+0
| |
| * Common: Remove unused fifo_queue.h.Emmanuel Gil Peyrot2015-06-272-112/+0
| |
* | Common: Remove unused type unions breaking aliasing rules in horrible ways.Emmanuel Gil Peyrot2015-06-281-26/+0
|/
* Merge pull request #855 from purpasmart96/service_rearrangmentbunnei2015-06-212-2/+4
|\ | | | | Services: Continue separation of services into their own folders
| * Services: Continue separation of services into their own folderspurpasmart962015-06-122-2/+4
| |
* | Render-to-texture flush, interval math fixtfarley2015-06-091-1/+1
|/
* Move video_core/color.h to common/color.harchshift2015-05-302-0/+215
|
* Move video_core/math.h to common/vector_math.harchshift2015-05-302-0/+641
| | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-293-3/+3
|
* OpenGL renderertfarley2015-05-231-0/+4
|
* Service::Y2R: Support for grayscale decoding of specific formatsYuri Kunde Schlesner2015-05-222-0/+2
| | | | | | | | | | | | Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R. Currently only the Y (luma) channel is used, so the results don't contain color. This will be added in a later PR at some point. This is enough to get all currently know Moflex videos to decode. (Some don't display on-screen due to seemingly unrelated reasons.) Thanks to @archshift for doing the initial implementation which I cleaned up and then fixed the 8x8 block mode.
* Merge pull request #758 from yuriks/sync-loggingYuri Kunde Schlesner2015-05-1610-381/+35
|\ | | | | Common: Remove async logging
| * Remove unused concurrent_ring_buffer.hYuri Kunde Schlesner2015-05-162-164/+0
| |
| * Common: Use the log system to print assert messagesYuri Kunde Schlesner2015-05-121-7/+3
| |
| * Common: Remove async loggingYuri Kunde Schlesner2015-05-127-210/+32
| | | | | | | | | | | | | | | | | | | | | | It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.)
* | Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types.Emmanuel Gil Peyrot2015-05-144-409/+3
|/
* Common: Remove the BIT macroYuri Kunde Schlesner2015-05-091-2/+0
| | | | | | | When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
* Common: Add BIT macroYuri Kunde Schlesner2015-05-091-0/+2
|
* Common: Add StringFromFixedZeroTerminatedBufferYuri Kunde Schlesner2015-05-082-0/+14
|
* Merge pull request #725 from yuriks/remove-common-crapYuri Kunde Schlesner2015-05-085-1009/+0
|\ | | | | Remove unused hash and mem_arena from common
| * Common: Remove mem_arena.cpp/hYuri Kunde Schlesner2015-05-083-466/+0
| | | | | | | | | | | | It is superfluous for Citra. (It's only really necessary if you're doing JIT. We were using it but not taking any advantage from it.) This should make 32-bit builds work again.
| * Common: Remove hash.cpp/hYuri Kunde Schlesner2015-05-073-543/+0
| | | | | | | | Currently unused and the code quality is pretty questionable.
* | Merge pull request #723 from lioncash/commonstrbunnei2015-05-082-127/+0
|\ \ | | | | | | string_util: Get rid of UriDecode/UriEncode
| * | string_util: Get rid of UriDecode/UriEncodeLioncash2015-05-072-127/+0
| | |
* | | Profiler: Fix off-by-one error when computing average.Yuri Kunde Schlesner2015-05-081-2/+1
| |/ |/|
* | Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner2015-05-075-17/+11
|/ | | | | | | The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b.
* Common: Remove common.hYuri Kunde Schlesner2015-05-0729-56/+43
|
* Common: Move alignment macros to common_funcs.hYuri Kunde Schlesner2015-05-072-21/+21
|
* Common: Move SSE detection ifdefs to platform.hYuri Kunde Schlesner2015-05-073-16/+21
|
* Common: Remove more unused compatibility definesYuri Kunde Schlesner2015-05-071-45/+0
|
* Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner2015-05-072-26/+26
|
* Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner2015-05-075-88/+10
|
* Clean-up includesYuri Kunde Schlesner2015-05-071-0/+1
|
* Move typedefs from kernel.h to more appropriate placesYuri Kunde Schlesner2015-05-071-0/+5
|
* Common: Move NonCopyable to common_types.hYuri Kunde Schlesner2015-05-072-10/+10
|
* Common: Use C++11 deleted functions for NonCopyableYuri Kunde Schlesner2015-05-071-8/+6
|
* Common: Remove unused enumsYuri Kunde Schlesner2015-05-071-17/+0
|
* EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo2015-05-022-6/+21
| | | | | | | If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
* Common: thread.h cleanupsYuri Kunde Schlesner2015-04-161-65/+16
| | | | | The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style.
* Thread: Implement priority boost for starved threads.bunnei2015-04-101-0/+18
| | | | | | SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority.
* Merge pull request #641 from purpasmart96/service_stubsbunnei2015-04-042-0/+4
|\ | | | | Services: Stubs and minor changes
| * Services: Stubs and minor changespurpasmart962015-04-032-0/+4
| |
* | disassembler: Get rid of a const_castLioncash2015-03-302-4/+4
|/
* Common: Fix logic for setting EMU_DATA_DIR.Emmanuel Gil Peyrot2015-03-161-6/+5
|
* Common: Make a #else more apparent.Emmanuel Gil Peyrot2015-03-161-5/+1
|
* EmuWindow: Fixed a reference to a temporary variableSubv2015-03-141-1/+1
| | | | in GetTouchState()
* Merge pull request #642 from bunnei/touchpadbunnei2015-03-122-19/+101
|\ | | | | Touchpad support
| * HID: Complete refactor of pad/touch input to fix threading issues.bunnei2015-03-112-68/+63
| |
| * EmuWindow: Made pad/touch functions non-static.bunnei2015-03-102-11/+6
| |
| * EmuWindow: Added infrastructure code to enable touchpad support.bunnei2015-03-102-1/+93
| |
* | Merge pull request #629 from archshift/lcdfbbunnei2015-03-102-0/+2
|\ \ | |/ |/| Implement SetLcdForceBlack and add implementation for color filling in the GPU code
| * Added LCD registers, and implementation for color filling in OGL code.archshift2015-03-092-0/+2
| |
* | Merge pull request #634 from linkmauve/logging-performancesbunnei2015-03-095-7/+17
|\ \ | | | | | | Apply the logging filter before sending the message to the queue
| * | Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot2015-03-065-7/+17
| | |
* | | Merge pull request #584 from yuriks/outline-assertsbunnei2015-03-091-6/+25
|\ \ \ | | | | | | | | Asserts: Use lambdas to keep assertion code away from the main code path
| * | | Asserts: Use lambdas to keep assertion code away from the main code pathYuri Kunde Schlesner2015-02-181-6/+25
| | | |
* | | | Fixed EmuWindow typo (fixes OSX build)bunnei2015-03-082-2/+2
| | | |
* | | | Merge pull request #636 from bunnei/refactor-screen-winbunnei2015-03-082-7/+75
|\ \ \ \ | | | | | | | | | | Set framebuffer layout from EmuWindow.
| * | | | Set framebuffer layout from EmuWindow.bunnei2015-03-072-7/+75
| | |_|/ | |/| |
* | | | Merge pull request #538 from yuriks/perf-statTony Wasserka2015-03-076-0/+534
|\ \ \ \ | |_|_|/ |/| | | Add profiling infrastructure and widget
| * | | Profiler: Implement QPCClock to get better precision on Win32Yuri Kunde Schlesner2015-03-022-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement std::chrono::high_resolution_clock, so it has bad precision. Manually implementing our own clock type using it works around this for now.
| * | | Add profiling infrastructure and widgetYuri Kunde Schlesner2015-03-026-0/+493
| |/ /
* / / Removed swap code redundancy and moved common swap code to swap.harchshift2015-03-063-127/+97
|/ /
* | Common: Switch to the XDG Base Directory Specification for directory selection.Emmanuel Gil Peyrot2015-02-252-10/+69
| | | | | | | | This allows for easily movable and independent configuration and data directories, using standardized paths.
* | Merge pull request #581 from archshift/tfebunnei2015-02-233-2/+2
|\ \ | | | | | | Added information reporting from ThrowFatalError
| * | Added information reporting from ThrowFatalErrorarchshift2015-02-223-2/+2
| | | | | | | | | | | | This was RE'd from the errdisp applet.
* | | Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.Emmanuel Gil Peyrot2015-02-202-8/+8
| | |
* | | Misc cleanup of common and related functionsarchshift2015-02-203-79/+28
| | |
* | | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift2015-02-202-3/+3
| | |
* | | Remove "super lame/broken" file_search compilation unit that was leftover from Dolphinarchshift2015-02-193-128/+0
| | |
* | | Remove redundant utf8 compilation unit that was leftover from Dolphinarchshift2015-02-193-528/+0
| | |
* | | Remove useless extended_trace compilation unit that was leftover from Dolphinarchshift2015-02-193-480/+0
| | |
* | | Remove the useless msg_handler compilation unit that was left over from Dolphinarchshift2015-02-197-178/+11
|/ /
* | Merge pull request #570 from purpasmart96/config_membunnei2015-02-181-0/+7
|\ \ | |/ |/| ConfigMem: Clean up the Config memory to be more like the shared page
| * ConfigMem: Clean up the Config memory to be more like the shared page and movedpurpasmart962015-02-171-0/+7
| | | | | | | | the helper macro for padding to common_funcs.h
* | Merge pull request #529 from Subv/masterbunnei2015-02-141-3/+3
|\ \ | |/ |/| Build: Fixed some warnings
| * Build: Fixed some warningsSubv2015-02-121-3/+3
| |
* | backend: Add logging subentry for ldrLioncash2015-02-131-0/+1
|/ | | | Fixes an assertion upon executing citra in debug mode.
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-1115-105/+73
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* Merge pull request #526 from purpasmart96/citra_stubsbunnei2015-02-111-0/+1
|\ | | | | Services: Stub some functions
| * Services: Stub some functionspurpasmart962015-02-081-0/+1
| |
* | Fix a wrong file name in a commentchinhodado2015-02-071-1/+1
|/
* Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner2015-01-302-1/+7
|
* Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift2015-01-213-10/+10
|
* Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift2015-01-103-24/+8
|
* Merge pull request #431 from yuriks/thread-queue-cleanupbunnei2015-01-071-144/+74
|\ | | | | Common: Clean up ThreadQueueList
| * Common: Clean up ThreadQueueListYuri Kunde Schlesner2015-01-071-144/+74
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #425 from Subv/coretimingbunnei2015-01-072-0/+2
|\ \ | |/ |/| Ported the CoreTiming namespace from PPSSPP
| * CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv2015-01-072-0/+2
| | | | | | | | | | | | Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
* | Merge pull request #421 from linkmauve/remove-dead-platformsbunnei2015-01-075-101/+2
|\ \ | | | | | | Remove dead platform #ifdefs to make the code more readable.
| * | Common: Remove dead platform #ifdefs to make the code more readable.Emmanuel Gil Peyrot2015-01-065-101/+2
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #376 from Subv/arc_reorderbunnei2015-01-073-32/+20
|\ \ \ | |/ / |/| | Archives: Change the folder layout of some archives.
| * | Archives: Changed the way paths are built for the archives.Subv2015-01-043-20/+4
| | | | | | | | | | | | 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
| * | SaveDataCheck: Move the files to nand/titleSubv2015-01-041-1/+1
| | | | | | | | | | | | under /nand/title/high/low/content/00000000.app.romfs
| * | Archives: Change the folder layout of some archives.Subv2015-01-033-20/+24
| |/ | | | | | | 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
* | Common: Use std::abs instead of abs, using abs with cmath fails on some systems.Emmanuel Gil Peyrot2015-01-051-2/+3
| |
* | Common: Remove the unused x86-specific 128-bit float type.Emmanuel Gil Peyrot2015-01-051-11/+0
|/
* Archives: Reduced duplicate code in RomFS and SaveCheck.Subv2015-01-033-0/+4
| | | | Fixed a few warnings and cleaned up the code
* SOC_U: Preliminary implementation of sockets.Subv2014-12-312-0/+2
| | | | | | | | | | | | | 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
* Merge pull request #369 from darkf/mingw_bunnei2014-12-317-21/+38
|\ | | | | Fix MinGW build (2)
| * Fix MSVC-related #defines and add CMakeLists commentdarkf2014-12-305-10/+10
| |
| * Fix merge conflictsdarkf2014-12-3059-1092/+1296
| |\
| * | Fix MinGW builddarkf2014-11-297-21/+34
| | |
* | | Archives: Implemented ExtSaveData and SharedExtSaveDataSubv2014-12-303-0/+4
| |/ |/| | | | | | | | | | | | | 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.
* | Merge pull request #322 from chinhodado/masterbunnei2014-12-221-0/+6
|\ \ | | | | | | More warning cleanups
| * | More warning cleanupsChin2014-12-211-0/+6
| | |
* | | Merge pull request #291 from purpasmart96/licensebunnei2014-12-2146-74/+74
|\ \ \ | |/ / |/| | License change
| * | License changepurpasmart962014-12-2146-74/+74
| | |
* | | BitField: Add an explicit Assign method.Tony Wasserka2014-12-201-1/+5
| | | | | | | | | | | | This is useful when doing crazy stuff like inheriting from BitField.
* | | Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2014-12-202-0/+17
|/ /
* | SaveData: Implemented the SystemSaveData archive.Subv2014-12-183-0/+4
| | | | | | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
* | Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-183-0/+4
| | | | | | | | | | | | | | | | | | | | 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
* | Restore the original console color after logging a message.Yuri Kunde Schlesner2014-12-142-13/+25
| | | | | | | | Fixes #277
* | Remove old logging systemYuri Kunde Schlesner2014-12-136-850/+2
| |
* | Add configurable per-class log filteringYuri Kunde Schlesner2014-12-135-3/+205
| |
* | Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-138-71/+94
| |
* | Implement text path trimming for shorter paths.Yuri Kunde Schlesner2014-12-133-1/+53
| |
* | Re-add coloring to the console logging output.Yuri Kunde Schlesner2014-12-131-0/+50
| |
* | New logging systemYuri Kunde Schlesner2014-12-1311-66/+716
| |
* | Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2014-12-132-0/+38
| |
* | Added missing include in common_funcs.hYuri Kunde Schlesner2014-12-131-0/+1
| |
* | Remove redundant include from common_funcs.hYuri Kunde Schlesner2014-12-131-2/+0
| |
* | Merge pull request #267 from bunnei/apt-shared-fontbunnei2014-12-133-26/+6
|\ \ | | | | | | APT shared font loading
| * | APT_U: Added GetSharedFont service function.bunnei2014-12-131-0/+3
| | |
| * | Common: Add "sysdata" to GetUserPath and cleanup.bunnei2014-12-123-26/+3
| | |
* | | Merge pull request #261 from neobrain/boostTony Wasserka2014-12-121-3/+3
|\ \ \ | |/ / |/| | Add Boost as a submodule and add some minor cleanups using Boost.Range
| * | StringUtil: Perform some minimal cleanup.Tony Wasserka2014-12-071-3/+3
| | |
* | | Explicitly specify LE strings to iconv, fixes paths in Steel Diverarchshift2014-12-101-2/+2
| | |
* | | Remove unused NDMA moduleYuri Kunde Schlesner2014-12-092-2/+0
| | |
* | | Some code cleanup.Tony Wasserka2014-12-091-0/+2
| | |
* | | Fix some headers to include their dependencies properly.Tony Wasserka2014-12-092-0/+7
|/ /
* / Change NULLs to nullptrs.Rohit Nirmal2014-12-0317-92/+92
|/
* Remove unused includes to common/thread.hEmmanuel Gil Peyrot2014-11-251-1/+0
|
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-193-100/+100
|
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-1923-160/+160
|
* Merge pull request #165 from neobrain/viewport-scalingbunnei2014-11-194-38/+101
|\ | | | | Stretch emulation output to render window and be display density independent
| * EmuWindow: Add some explicit documentation and set proper minimal client area size.Tony Wasserka2014-11-181-2/+4
| |
| * EmuWindow: Add a TODO.Tony Wasserka2014-11-181-0/+1
| | | | | | | | | | | | Implementing this function currently is not critical, as we don't perform any configuration changes, yet. However, the interface is a good starting point for adding this functionality.
| * MathUtil: Make Rectangle work with unsigned types.Tony Wasserka2014-11-181-4/+5
| |
| * EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.Tony Wasserka2014-11-181-0/+7
| |
| * EmuWindow: Remove window title getters/setters.Tony Wasserka2014-11-181-16/+1
| | | | | | | | | | The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway.
| * EmuWindow: Add documentation.Tony Wasserka2014-11-181-18/+57
| |
| * EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka2014-11-181-8/+26
| |
| * Fixup EmuWindow interface and implementations thereof.Tony Wasserka2014-11-181-28/+33
| |
| * Viewport scaling and display density independenceKevin Hartman2014-11-181-2/+5
| | | | | | | | | | The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
| * Add a GUI logging channel.Tony Wasserka2014-11-182-0/+2
| | | | | | | | Replace asserts with _dbg_assert_.
* | Remove extraneous semicolonsLioncash2014-11-182-2/+2
|/
* emu_window: Fix initializer list order.Lioncash2014-11-171-2/+2
| | | | Gets rid of a warning on OSX.
* Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2014-11-132-51/+115
|
* Renamed souce files of services to match port namesGareth Poole2014-10-291-1/+1
|
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-262-3/+3
| | | | This was automated using `clang-modernize`.
* Fix compile errors in ClangYuri Kunde Schlesner2014-10-261-1/+0
|
* Merge pull request #150 from lioncash/typoTony Wasserka2014-10-251-1/+1
|\ | | | | bit_field: Fix a typo in the sample usage.
| * bit_field: Fix a typo in the sample usage.Lioncash2014-10-251-1/+1
| |
* | Removed uses of raw c-string manipulation functions.archshift2014-10-244-21/+10
|/
* Merge pull request #133 from archshift/sdmc-enabledbunnei2014-10-241-2/+4
|\ | | | | Use config files to store whether SDMC is enabled or not, auto-create SDMC dir.
| * Common: Return from CreateFullPath early if the directory creation failsarchshift2014-10-231-2/+4
| |
* | Use std sized types instead of platform specific typedefsYuri Kunde Schlesner2014-10-232-32/+12
|/
* Merge pull request #108 from archshift/configbunnei2014-10-086-69/+73
|\ | | | | Configuration files
| * Added configuration file system.archshift2014-10-086-69/+73
| | | | | | | | Uses QSettings on citra-qt, and inih on citra-cli.
* | Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot2014-10-062-0/+53
| | | | | | | | Core: Fix the SDMC Directory implementation to make blargSnes work.
* | Fix warnings in core and commonLioncash2014-09-283-15/+5
|/
* Merge pull request #118 from lioncash/chunk-filebunnei2014-09-231-244/+0
|\ | | | | chunk_file: General cleanup
| * chunk_file: General cleanupLioncash2014-09-221-244/+0
| | | | | | | | | | - Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
* | Use the citra user path for the sdmc directoryarchshift2014-09-213-0/+4
|/
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-174-25/+25
|
* Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot2014-09-171-8/+20
|
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-125-40/+61
|
* Initial HID PAD work, with GLFW only.Kevin Hartman2014-09-124-0/+77
|
* Merge pull request #99 from archshift/ext-checkbunnei2014-09-1112-40/+44
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
| * Moved common_types::Rect from common to Common namespacearchshift2014-09-091-1/+1
| |
| * Added string_util to common, small changes in loader.cpparchshift2014-09-0911-32/+39
| |
| * loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2014-09-092-12/+9
| | | | | | | | Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
* | Merge pull request #103 from archshift/prunebunnei2014-09-1110-34/+3
|\ \ | | | | | | Prune redundant includes
| * | common: Prune all redundant includesarchshift2014-09-0910-34/+3
| |/
* | Merge pull request #104 from archshift/removalbunnei2014-09-102-71/+0
|\ \ | | | | | | Removed fixed_size_queue.h
| * | Removed fixed_size_queue.harchshift2014-09-092-71/+0
| |/ | | | | | | It's unused and doesn't look like it compiles anyway :/
* | Merge pull request #101 from lioncash/inf-loopbunnei2014-09-101-3/+8
|\ \ | | | | | | Common: Fix a potential infinite loop in StringUtil's ReplaceAll
| * | Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash2014-09-081-3/+8
| |/
* / Common: Remove HAVE_CXX11_SYNTAX define from Common.hLioncash2014-09-081-6/+0
|/
* Removed common/std_xyz, instead using the std headerarchshift2014-09-077-856/+6
|
* Removed common/atomic, instead using std::atomicarchshift2014-09-034-198/+0
|
* Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner2014-09-014-453/+0
|
* Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner2014-09-011-0/+2
|
* CMake cleanupYuri Kunde Schlesner2014-09-011-7/+16
| | | | | | | | Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers.
* Merge pull request #58 from lioncash/clampbunnei2014-08-211-0/+7
|\ | | | | Common: Add a clamp function to math_utils.h
| * Common: Add a clamp function to math_utils.hLioncash2014-08-191-0/+7
| |
* | Common: Get rid of an unnecessary forward declaration in symbols.hLioncash2014-08-181-2/+0
|/
* Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash2014-08-182-2/+2
| | | | Returning a copy of the string is what was likely meant to be done.
* Merge pull request #52 from lioncash/memorybunnei2014-08-181-5/+8
|\ | | | | Common: Correctly set ptr to null if mmap fails in memory_util
| * Common: Correctly set ptr to null if mmap fails in memory_utilLioncash2014-08-171-5/+8
| | | | | | | | On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
* | Merge pull request #48 from linkmauve/masterbunnei2014-08-181-24/+23
|\ \ | | | | | | Replace insecure temporary file creation with devshm.
| * | mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.Emmanuel Gil Peyrot2014-08-161-24/+23
| |/
* | Common: Move remaining C header includes over to their C++ equivalentLioncash2014-08-178-21/+20
| |
* | Common: Move header guards over to pragma onceLioncash2014-08-1733-146/+41
|/ | | | Also replaced C headers with the C++ equivalent ones
* Simplified if-tree in extended_trace.cpparchshift2014-08-121-13/+9
|
* Merge pull request #41 from archshift/itrbunnei2014-08-122-78/+67
|\ | | | | Changed iterators to use auto, many of which using range-based loops
| * break_points.cpp: return directly from conditionalsarchshift2014-08-121-6/+2
| |
| * break_points: cleaned up, added `find_if`sarchshift2014-08-122-59/+51
| |
| * Changed iterators to use auto, some of which using range-based loopsarchshift2014-08-121-27/+28
| |
* | Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-123-165/+0
|/ | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
* Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley2014-08-081-1/+3
|
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-231-6/+8
|
* [build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner2014-07-191-1/+8
| | | | | | | | | The Git for Windows installer doesn't add the Git binaries to the path by default. (Due to risk of conflicts with built-in windows commands.) Unless you have configured your system specially this causes the scm_rev_gen.js script to fail to find Git. Added more paths to the script so that it searches in the default msysgit installation directory, eliminating the need to set the PATH for most environments.
* BitField: Cast enum values to proper integer type.Tony Wasserka2014-07-161-1/+1
|
* BitField: Add a static_assert.Tony Wasserka2014-07-161-0/+1
| | | | Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
* BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka2014-07-161-0/+16
| | | | Cf. https://github.com/dolphin-emu/dolphin/pull/483
* BitField: Add an explicit evaluation method.Tony Wasserka2014-07-161-0/+5
| | | | Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-144-43/+48
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * log: updated MAX_LOGLEVEL to use correct log level enum typebunnei2014-06-013-5/+5
| |
| * log: updated GenericLog __attribute__ for newly added parameterbunnei2014-06-011-1/+1
| |
| * log: fixed to not print twice, enabled coloring, added OS print logging as its own typebunnei2014-05-304-37/+42
| |
* | Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei2014-06-121-2/+0
| |
* | Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift2014-06-121-1/+1
| |
* | Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei2014-06-121-2/+0
| |
* | Pica: Use some template magic to define register structures efficiently.Tony Wasserka2014-06-123-3/+166
| |
* | Rename LCD to GPU.Tony Wasserka2014-06-122-2/+2
| |
* | Merge branch 'threading'bunnei2014-05-236-3/+228
|\|
| * added MIN, MAX, and CLAMP macros to common_funcsbunnei2014-05-171-0/+5
| |
| * added ThreadQueueList class to common (taken from PPSSPP)bunnei2014-05-163-0/+218
| |
| * added kernel logger to commonbunnei2014-05-102-3/+5
| |
* | common_types: Changed BasicRect back to Rect, in the common namespacearchshift2014-05-201-4/+6
| | | | | | | | Only Rect is in the namespace for now; the rest of common should be added in the future
* | Improved clarity and whitespacearchshift2014-05-201-0/+1
| | | | | | | | Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
* | CMakeLists: rename HEADS, improved commentsarchshift2014-05-201-2/+2
| | | | | | | | Changes for clarity of comments, removed redundant compiler flags.
* | Updated cmakelistsarchshift2014-05-171-0/+1
| |
* | Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift2014-05-175-5/+179
|\|
| * removed incorrect dolphin copyright linebunnei2014-05-081-1/+0
| |
| * fixed include of common in bit_field.hbunnei2014-05-081-1/+1
| |
| * logger fix for linuxbunnei2014-05-082-3/+3
| |
| * added GSP to loggersbunnei2014-05-082-2/+2
| |
| * added BitField to commonbunnei2014-05-083-0/+175
| |
| * - added better SVC loggingbunnei2014-05-062-5/+5
| | | | | | | | - added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
* | Support for C++11 on OSXarchshift2014-05-011-2/+2
| |
* | Fixed indentsarchshift2014-05-011-1/+1
| |
* | Some more experimentationarchshift2014-04-301-3/+3
| |
* | IT'S ALIVE!archshift2014-04-291-1/+39
| |
* | Fix complaints about functions that could not be foundarchshift2014-04-281-1/+1
| |
* | Problematic class with no current implementationarchshift2014-04-281-2/+2
| |
* | Rect to BasicRectarchshift2014-04-281-4/+4
| | | | | | | | Somewhere along the line an OSX header had already taken the name Rect.
* | add missing bswap functionsbunnei2014-04-281-0/+44
|/
* fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei2014-04-281-13/+0
|
* Merge branch 'hle-interface-updates'bunnei2014-04-281-5/+0
|\
| * removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-281-5/+0
| |
* | Resolved undefined Common::g_scm_branch error.Thomas Edvalson2014-04-251-1/+1
|/
* made qt window title consistentbunnei2014-04-241-1/+1
|
* fixes to scm_rev generation to make it conistent with windows buildbunnei2014-04-242-5/+5
|
* updated windows scm_rev code to use new styleShizZy2014-04-245-66/+53
|
* added scm rev generation on Linux/cmakebunnei2014-04-246-51/+37
|
* fixes to build on linuxbunnei2014-04-232-14/+14
|
* removed duplicate rotl/rotr functionsShizZy2014-04-231-26/+0
|
* updated CMakeLists for missing filesShizZy2014-04-231-0/+1
|
* Merge branch 'hle-interface'bunnei2014-04-184-5/+27
|\
| * added NDMA hardware interfacebunnei2014-04-182-2/+2
| |
| * added helper functions for upper/lowercase stringsbunnei2014-04-152-0/+22
| |
| * added logger for generic HLEbunnei2014-04-112-3/+3
| |
* | Add symbols mapMathieu Vaillancourt2014-04-134-0/+100
|/
* removed scm_rev.h from version controlbunnei2014-04-111-4/+0
|
* added missing const to GetWindowTitlebunnei2014-04-111-1/+1
|
* updated CMakeListsbunnei2014-04-101-16/+17
|
* - removed deprecated version.hbunnei2014-04-094-72/+52
| | | | | - cleaned up window title - cleaned up emu_window_glfw/emu_window
* fixed scm_rev_genbunnei2014-04-092-5/+5
|
* fixed project includes to use new directory structurebunnei2014-04-0944-211/+201
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-0954-0/+0
|
* added "citra" instead of "emu" to title barbunnei2014-04-071-1/+1
|
* added logger option specifically for the rendererbunnei2014-04-062-2/+2
|
* added missing includes to common_types.hbunnei2014-04-051-0/+3
|
* Updated common_types.h to use Gekko's version w/ Rect and some useful unionsbunnei2014-04-051-30/+102
|
* added DISALLOW_COPY_AND_ASSIGN macrobunnei2014-04-051-0/+5
|
* added LCD loggerbunnei2014-04-052-2/+2
|
* added a HW option to loggingbunnei2014-04-052-48/+48
|
* convert tabs to spacesbunnei2014-04-0247-5298/+5298
|
* grabbed ppsspp's MemArenabunnei2014-04-012-221/+428
|
* added TIME logger for core timingShizZy2013-10-022-2/+2
|
* renamed GC_ALIGNED* macros to MEMORY_ALIGNED*ShizZy2013-10-021-12/+12
|
* upgraded proj files to vs 2013ShizZy2013-09-272-2/+16
|
* renamed from citrus to citraShizZy2013-09-264-5/+5
|
* moved file_sys back to coreShizZy2013-09-265-973/+0
|
* removed <windows.h> include from common.h and added it only where neededShizZy2013-09-242-5/+1
|
* moved file_sys to commonShizZy2013-09-245-0/+973
|
* added localtime_r for use on windowsShizZy2013-09-241-0/+8
|
* added utf8 to common module, utils for dealing with utf8ShizZy2013-09-244-0/+534
|
* updated to chunk_file module from ppssppShizZy2013-09-201-133/+623
|
* added a module for loading bootable binariesShizZy2013-09-202-4/+4
|
* added swap types to commonShizZy2013-09-194-0/+549
|
* removed CORE and LOADER from LogTypesShizZy2013-09-191-2/+0
|
* added CORE and LOADER to LogTypesShizZy2013-09-191-0/+2
|
* changed log CPU from PPC to ARM11ShizZy2013-09-182-2/+3
|
* added default windows includeShizZy2013-09-181-0/+4
|
* added file platform.hShizZy2013-09-164-0/+137
|
* renamed project to 'citrus'ShizZy2013-09-143-3/+3
|
* added scm_rev_gen project to automatically create a header with the git revision on buildShizZy2013-09-134-3/+162
|
* cleaned up VS project filesShizZy2013-09-091-11/+9
|
* fixed some code warningsShizZy2013-09-091-1/+1
|
* removed unneeded dolphin paths code, fixed linker problems with common.libShizZy2013-09-093-132/+118
|
* re-enabled GetLastErrorMsgShizZy2013-09-091-19/+23
|
* updated common pathsShizZy2013-09-082-4/+7
|
* start of 3DS memory mapShizZy2013-09-063-12/+3
|
* various fixes to be able to build projectShizZy2013-09-051-17/+13
|
* added emu_window.h to define interface to drawing to a windowShizZy2013-09-053-0/+108
|
* updated CMakeLists.txt file for new common filesShizZy2013-09-051-9/+16
|
* replaced common code with dolphin commonShizZy2013-09-0551-107/+8640
|
* deleted gekko's common filesShizZy2013-09-0428-4543/+0
|
* adding initial project layoutShizZy2013-08-3031-0/+4777