summaryrefslogtreecommitdiffstats
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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