summaryrefslogtreecommitdiffstats
path: root/src/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-29Port #3972 from Citra: "common/timer: use std::chrono, avoid platform-dependent code"zhupengfei2-81/+31
2018-07-27service: Add ncm servicesLioncash2-0/+2
Adds the basic skeleton for the ncm services based off information on Switch Brew.
2018-07-27service: Add mii servicesLioncash2-0/+2
Adds the skeleton for the mii services based off information provided by Switch Brew
2018-07-27service: Add nfc servicesLioncash2-0/+2
Adds the skeleton of the nfc service based off the information provided on Switch Brew.
2018-07-27service/lbl: Implement EnableVrMode, DisableVrMode and GetVrModeLioncash2-0/+2
Implements these functions according to the information available on Switch Brew.
2018-07-26service: Add ldn servicesLioncash2-0/+2
Adds ldn services based off information provided by Switch Brew.
2018-07-24VFS Regression and Accuracy Fixes (#776)Zach Hilman2-1/+13
* Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator&
2018-07-22string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16()Lioncash1-20/+22
There's no need to perform the resize separately here, since the constructor allows presizing the buffer. Also move the empty string check before the construction of the string to make the early out more straightforward.
2018-07-22string_util: Use emplace_back() in SplitString() instead of push_back()Lioncash1-2/+3
This is equivalent to doing: push_back(std::string("")); which is likely not to cause issues, assuming a decent std::string implementation with small-string optimizations implemented in its design, however it's still a little unnecessary to copy that buffer regardless. Instead, we can use emplace_back() to directly construct the empty string within the std::vector instance, eliminating any possible overhead from the copy.
2018-07-22string_util: Remove unnecessary std::string instance in TabsToSpaces()Lioncash2-8/+7
We can just use the variant of std::string's replace() function that can replace an occurrence with N copies of the same character, eliminating the need to allocate a std::string containing a buffer of spaces.
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash2-40/+55
Avoids unnecessary construction of std::string instances where applicable.
2018-07-22file_util: Remove goto usages from Copy()Lioncash1-24/+14
We can just leverage std::unique_ptr to automatically close these for us in error cases instead of jumping to the end of the function to call fclose on them.
2018-07-22file_util: Use a u64 to represent number of entriesLioncash2-13/+13
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
2018-07-22file_util: std::move FST entries in ScanDirectoryTree()Lioncash1-1/+1
Avoids unnecessary copies when building up the FST entries.
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash3-50/+51
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-21file_util: Remove explicit type from std::min() in GetPathWithoutTop()Lioncash1-1/+1
Given both operands are the same type, there won't be an issue with overload selection that requires making this explicit.
2018-07-21file_util: Remove redundant duplicate return in GetPathWithoutTop()Lioncash1-1/+0
2018-07-21common: Remove synchronized_wrapper.hLioncash2-86/+0
This is entirely unused in the codebase.
2018-07-20param_package: Take std::string by value in string-based Set() functionLioncash2-4/+6
Allows avoiding string copies by letting the strings be moved into the function calls.
2018-07-20param_package: Use std::unordered_map's insert_or_assign instead of map indexingLioncash1-3/+3
This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it).
2018-07-20param_package: Get rid of file-static std::string constructionLioncash1-3/+4
Avoids potential dynamic allocation occuring during program launch
2018-07-20logging/filter: Use std::string_view in ParseFilterString()Lioncash2-41/+40
Allows avoiding constructing std::string instances, since this only reads an arbitrary sequence of characters. We can also make ParseFilterRule() internal, since it doesn't depend on any private instance state of Filter
2018-07-20logging/backend: Add missing standard includesLioncash2-4/+3
A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly.
2018-07-20logging/backend: Use std::string_view in RemoveBackend() and GetBackend()Lioncash2-12/+13
These can just use a view to a string since its only comparing against two names in both cases for matches. This avoids constructing std::string instances where they aren't necessary.
2018-07-19common/swap: Remove unnecessary const on return value of swap()Lioncash1-1/+1
2018-07-19common/swap: Use static_cast where applicableLioncash1-16/+16
2018-07-19common/swap: Use using aliases where applicableLioncash1-33/+33
2018-07-19common/common_funcs: Remove unused rotation functionsLioncash1-38/+0
These are unused and essentially don't provide much benefit either. If we ever need rotation functions, these can be introduced in a way that they don't sit in a common_* header and require a bunch of ifdefing to simply be available
2018-07-19common/misc: Deduplicate code in GetLastErrorMsg()Lioncash2-12/+8
Android and macOS have supported thread_local for quite a while, but most importantly is that we don't even really need it. Instead of using a thread-local buffer, we can just return a non-static buffer as a std::string, avoiding the need for that quality entirely.
2018-07-19file_util: return string by const reference for GetExeDirectory()Lioncash2-2/+2
This disallows modifying the internal string buffer (which shouldn't be modified anyhow).
2018-07-19string_util: Remove AsciiToHex()Lioncash2-15/+0
Easy TODO
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2-57/+116
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-18externals: update fmt to version 5.1.0Lioncash1-1/+1
Previously, we were on 4.1.0, which was a major version behind.
2018-07-18telemetry: Remove unnecessary Field constructorLioncash1-4/+1
We can just take the value parameter by value which allows both moving into it, and copies at the same time, depending on the calling code.
2018-07-18telemetry: Make operator== and operator!= const member functions of FieldLioncash1-2/+2
These operators don't modify internal class state, so they can be made const member functions. While we're at it, drop the unnecessary inline keywords. Member functions that are defined in the class declaration are already inline by default.
2018-07-18telemetry: Default copy/move constructors and assignment operatorsLioncash1-14/+4
This provides the equivalent behavior, but without as much boilerplate. While we're at it, explicitly default the move constructor, since we have a move-assignment operator defined.
2018-07-15Logging: Dump all logs in the queue on close in debug modeJames Rowe3-1/+12
2018-07-14Logging: Don't lock the queue for the duration of the writeJames Rowe1-3/+5
2018-07-13More improvements to GDBStub (#653)Hedges1-1/+1
* More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback
2018-07-08Revert "Virtual Filesystem (#597)"bunnei2-99/+57
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-07Port #3474 from CitrafearlessTobi1-1/+1
2018-07-07Port #3579 from CitrafearlessTobi3-7/+7
2018-07-06Virtual Filesystem (#597)Zach Hilman2-57/+99
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename
2018-07-06Remove some references to CitrafearlessTobi2-2/+2
2018-07-03Fix build and address review feedbackbunnei1-4/+4
2018-07-03Add configurable logging backendsJames Rowe5-18/+257
2018-07-03Update clang formatJames Rowe3-14/+11
2018-07-03Rename logging macro back to LOG_*James Rowe7-70/+70
2018-06-07Common/string_util: add StringFromBuffer functionmailwl2-0/+6
convert input buffer (std::vector<u8>) to string, stripping zero chars
2018-06-05Service/MM: add service and stub some functionsmailwl2-0/+2
2018-05-28Service/BCAT: add module and servicesmailwl2-0/+2
2018-05-02vector_math: Ensure members are always initializedLioncash1-9/+9
Ensures that values are always in a well-defined state.
2018-04-30string_util: Remove StringFromFormat() and related functionsLioncash4-91/+9
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-04-30file_util: Make move constructor/assignment operator and related functions noexceptLioncash2-6/+6
Without this, it's possible to get compilation failures in the (rare) scenario where a container is used to store a bunch of live IOFile instances, as they may be using std::move_if_noexcept under the hood. Given these definitely don't throw exceptions this is also not incorrect to add either.
2018-04-30file_util: Add static assertions to ReadBytes() and WriteBytes()Lioncash1-2/+6
Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable.
2018-04-28file_util: Remove compiler version checks around is_trivially_copyable()Lioncash1-8/+0
The minimum clang/GCC versions we support already support this. We can also remove is_standard_layout(), as fread and fwrite only require the type to be trivially copyable.
2018-04-27log: Remove old logging macros and functionsLioncash2-54/+1
Now that the old macros are no longer used, we can remove all functionality related to them.
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash2-5/+6
2018-04-27Switched to NGLOG_WARNINGDavid Marcec1-1/+1
2018-04-27common: Move logging macros over to new fmt-capable macros where applicableLioncash4-67/+67
2018-04-26Added PREPO to logging backend, Removed comments from SaveReportWithUserDavid Marcec1-0/+1
2018-04-26common: Remove chunk_file.h and linear_disk_cache.hLioncash3-792/+0
These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
2018-04-23GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.David Marcec1-0/+1
2018-04-20math_util: Remove the Clamp() functionLioncash1-5/+0
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2018-04-20vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Lioncash1-30/+0
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
2018-04-20common: Remove code_block.hLioncash2-86/+0
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
2018-04-20common/thread: Remove unnecessary feature checking for thread_localLioncash1-19/+0
Every compiler we require already supports it.
2018-04-20common_funcs: Remove ARRAY_SIZE macroLioncash1-2/+0
C++17 has non-member size() which we can just call where necessary.
2018-04-20common_funcs: Remove check for VS versions that we don't even supportLioncash1-5/+0
We don't support any VS versions that don't already have snprintf in the standard library implementation.
2018-04-20common_types: Convert typedefs to using aliasesLioncash1-12/+12
May as well while we're making changes to this file.
2018-04-20common_types: Remove unnecessary check for whether or not__func__ is definedLioncash1-6/+0
VS has supported this for quite a while.
2018-04-18bit_field: Remove is_pod check, add is_trivially_copyable_v.bunnei1-6/+1
2018-04-14common: Port cityhash code from Citra.bunnei5-147/+502
2018-04-14bit_field: Make all methods constexpr.bunnei1-5/+5
2018-04-06Update fmtlib to fix msvc warningsJames Rowe2-5/+8
Additionally, when updating fmtlib, there was a change in fmtlib broke how the old logging macro was overloaded, so this works around that by just naming the fmtlib macro impl something different
2018-04-03logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADICDaniel Lim Wee Soong2-5/+11
Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it.
2018-04-02common: fix swap functions on Bitrig and OpenBSDDaniel Lim Wee Soong1-1/+13
swap{16,32,64} are defined as macros on the two, but client code tries to invoke them as Common::swap{16,32,64}, which naturally doesn't work. This hack redefines the macros as inline functions in the Common namespace: the bodies of the functions are the same as the original macros, but relying on OS-specific implementation details like this is of course brittle.
2018-03-30service: Add NFP module interface.bunnei2-0/+2
service: Initialize NFP service. Log: Add NFP service as a log subtype.
2018-03-27telemetry.h: Reword comment from citra to yuzuN00byKing1-1/+1
2018-03-26log.h: Change comment from citra to yuzuN00byKing1-1/+1
2018-03-26file_util.h: Update Comment from citra to yuzuN00byKing1-1/+1
2018-03-26cpu_detect.cpp: Change comment from citra to yuzuN00byKing1-1/+1
2018-03-23Service/SSL: add ssl servicemailwl2-0/+2
2018-03-22Remove dependency chronoDaniel Lim Wee Soong1-1/+0
Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now
2018-03-22Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong10-67/+112
Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used.
2018-03-22Service/spl: add module and servicesmailwl2-0/+2
2018-03-21CMake: Set EMU_ARCH_BITS in CMakeLists.txtN00byKing2-35/+0
2018-03-20Service: add fatal:u, fatal:p servicesmailwl2-0/+2
2018-02-20Service/AOC: stub ListAddOnContent functionmailwl2-0/+2
2018-02-19logging: Add category for Friend service.bunnei2-0/+2
2018-02-15log: Add logging category for NS services.bunnei2-0/+2
2018-02-05logger: Add Time service logging category.bunnei2-0/+2
2018-02-05logger: Add SET service logging category.bunnei2-15/+11
2018-02-05logger: Add PCTL service logging category.bunnei2-0/+2
2018-02-05logger: Add LM service logging category.bunnei2-0/+2
2018-02-05logger: Add APM service logging category.bunnei2-0/+2
2018-02-05logger: Add NIFM service logging category.bunnei2-0/+2
2018-02-05logger: Add VI service logging category.bunnei2-0/+2
2018-02-04logger: Add AM service logging category.bunnei2-0/+2
2018-02-04logger: Add "account" service logging category.bunnei2-0/+2
2018-01-25audout:u OpenAudioOut and IAudioOut (#138)st4rk2-0/+2
* Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad
2018-01-24logging: add missing NVDRV subclass to macro listRozlette1-0/+1
2018-01-21Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114)David1-0/+1
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0
2018-01-21Fix spelling error in CMakeListsMatthew Brener1-1/+1
Minor spelling error of its --> it's
2018-01-21Format: Run the new clang format on everythingJames Rowe19-43/+87
2018-01-18CMakeLists: Derive the source directory grouping from targets themselvesLioncash1-63/+57
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2018-01-18telemetry: Silence initialization order warningsLioncash1-2/+2
2018-01-17loggin: Add IPC logging category.bunnei2-1/+3
2018-01-14Minor cleanupMerryMage1-1/+1
2018-01-13Removing unused settings and yuzu rebrandingJames Rowe1-5/+1
2018-01-09fix macos buildMerryMage1-1/+1
2018-01-09CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n302-0/+123
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2017-10-23logging: Rename category "Core_ARM11" to "Core_ARM".bunnei2-2/+2
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei1-0/+8
2017-10-15hle: Initial implementation of NX service framework and IPC.bunnei2-2/+2
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei2-42/+0
2017-09-30arm: Use 64-bit addressing in a bunch of places.bunnei1-2/+2
2017-09-30Fixed type conversion ambiguityHuw Pascoe3-11/+5
2017-09-27Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.Subv1-4/+8
It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3
2017-08-04common: Add build timestamp to scm_rev.bunnei2-0/+3
2017-07-11vector_math: remove dead template parameterwwylele1-1/+1
2017-07-11vector_math: remove broken SFINAE stuffwwylele1-3/+2
this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types.
2017-07-11SwRasterizer: Flip the vertex quaternions before clipping (if necessary).Subv1-1/+1
2017-07-11SwRasterizer: Corrected the light LUT lookups.Subv1-0/+5
2017-07-10logging: Add WebService as a log cateogry.bunnei2-1/+3
2017-07-07Implement basic virtual Room support based on enet (#2803)B3n302-0/+2
* Added support for network with ENet lib, connecting is possible, but data can't be sent, yet. * fixup! Added support for network with ENet lib, * fixup! CLang * fixup! Added support for network with ENet lib, * fixup! Added support for network with ENet lib, * fixup! Clang format * More fixups! * Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Clang again * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes
2017-06-30Remove unnecessary WIN32_LEAN_AND_MEAN macro definitionKloen1-1/+0
2017-06-09Remove unused import in break_points.cpp (#2763)Kloen Lansfiel1-1/+0
2017-05-28CMake: Create INTERFACE targets for microprofile and nihstroYuri Kunde Schlesner1-1/+1
2017-05-28CMake: Use IMPORTED target for BoostYuri Kunde Schlesner1-0/+1
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-1/+1
Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
2017-05-28Common: Fix some out-of-style includesYuri Kunde Schlesner3-5/+5
2017-05-28Move framebuffer_layout from Common to CoreYuri Kunde Schlesner3-214/+0
This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS.
2017-05-25Common: Clean up meta-template logic in BitFieldYuri Kunde Schlesner1-3/+3
2017-05-25Make BitField and ResultCode constexpr-initializableYuri Kunde Schlesner1-23/+42
2017-05-25common: Add a generic interface for logging telemetry fields.bunnei3-0/+238
2017-05-20pica/swrasterizer: implement procedural texturewwylele1-0/+10
2017-05-08Remove unused symbols codeYuri Kunde Schlesner3-78/+0
2017-03-13common/cpu_detect: Add missing include and fix namespace scopeYuri Kunde Schlesner1-5/+7
2017-03-11file_util: Log when using local user directorywwylele1-0/+2
2017-03-08file_util: lower logging level for harmless caseswwylele1-9/+7
2017-03-01Input: add device and factory templatewwylele2-0/+2
2017-03-01Common: add ParamPackagewwylele3-0/+162
2017-02-27Remove built-in (non-Microprofile) profilerYuri Kunde Schlesner3-186/+0
2017-02-27SynchronizedWrapper: Add Lock convenience methodYuri Kunde Schlesner1-18/+25
2017-02-23Add custom layout settings.SonofUgly2-0/+27
2017-02-23Gui: Change title bar to include build nameJames Rowe3-0/+26
Nightly builds now have "Citra Nightly" in the titlebar Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
2017-02-21HW: add AES engine & implement AES-CCMwwylele3-0/+3
2017-02-14applied the change suggested by @wwylelenoah the goodra1-0/+1
2017-02-14added http service enum to the log.h filenoah the goodra1-0/+1
2017-01-31Common/x64: remove legacy emitter and abi (#2504)Weiyi Wang5-4201/+1
These are not used any more since we moved shader JIT to xbyak.
2017-01-31file_util: Fixed implicit type conversion warning (#2503)noah the goodra1-2/+2
2017-01-30Common: Optimize BitSet iteratorYuri Kunde Schlesner1-14/+19
2017-01-28common: add <cstddef> to hash.hKloen1-0/+1
2017-01-28common: switch ComputeHash64 len param to size_t instead of int, fix warning on MSVC on dsp_dsp.cppKloen2-6/+6
2016-12-30Service/NFC: stub GetTagInRangeEventmailwl2-0/+2
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
2016-12-26Common: add Quaternionwwylele2-0/+45
2016-12-26vector math: add implementation of Length and Normalizewwylele1-0/+19
2016-12-26MathUtil: add PI constantwwylele1-0/+2
2016-12-26Common::Event: add WaitUntilwwylele1-0/+10
2016-12-23file_util: fix missing sysdata pathwwylele1-3/+1
2016-12-23core: Move emu_window and key_map into coreMerryMage5-646/+0
* Removes circular dependences (common should not depend on core)
2016-12-22file_util: Remove unused paths.bunnei3-87/+3
2016-12-18Fixed GPLv2 license text in the start.Vamsi Krishna1-1/+1
2016-12-15VideoCore: Convert x64 shader JIT to use Xbyak for assemblyYuri Kunde Schlesner3-1/+234
2016-12-13Common: Fix gcc build on macOSJeffrey Pfau1-0/+11
2016-12-12csnd:SND reformat source codemailwl2-0/+2
2016-12-05Support mingw cross-compileJannik Vogel5-5/+6
2016-11-30WINVER definition moved to CMake and cleanupfreiro1-3/+0
2016-11-30Set client SDK version to Service APIsmailwl1-3/+2
2016-11-29Build: Fixed a few warnings.Subv1-4/+4
2016-11-26Move to AppData/Roaming/Citra/freiro1-1/+1
2016-11-26Removed /user/ from pathfreiro1-2/+1
2016-11-25MIC_U: Stub service funcionsmailwl2-0/+2
2016-11-24Switch to AppData/Roamingfreiro2-4/+4
2016-11-19Return by value and other fixesfreiro2-14/+8
2016-11-19Win32 move default user folder location to AppDatafreiro2-0/+24
2016-11-14Add mingw compile supportJames Rowe1-2/+3
2016-11-12Round the rectangle size to prevent float to int casting issuesJames Rowe3-8/+9
And other minor style changes
2016-11-05Add default hotkey to swap primary screens.James Rowe4-7/+10
Also minor style changes
2016-11-05Rework frame layouts to use a max rectangle instead of hardcoded calculationsJames Rowe2-250/+100
2016-11-05LargeFrameLayout + SwappedSonofUgly1-50/+36
Make small screen stay at 1x, and large screen maintain its aspect ratio.
2016-11-05Support additional screen layouts.James Rowe5-73/+382
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
2016-10-28common: use system bswap* functions on more BSDsJan Beich1-2/+5
2016-10-28common: use system CPUID routine on DragonFly as wellJan Beich1-2/+2
2016-10-28common: some FreeBSD headers are incomplete to avoid namespace pollutionJan Beich1-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; ^ [...]
2016-10-28common: convert to standard stat()/fstat() interfacesAnthony J. Bentley1-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.
2016-10-28common: stat64 is non-standard, hide on a random UnixJan Beich1-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.
2016-10-28common: only FreeBSD has thread affinity compatible with LinuxJan Beich1-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.
2016-10-28common: define routines to set thread name on more BSDsJan Beich1-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.
2016-10-20Fix typosRicardo de Almeida Gonzaga2-2/+2
2016-10-02Update the stub code of BOSSJamePeng2-0/+2
2016-09-30Common: Remove dangerous Vec[234] array constructorsYuri Kunde Schlesner1-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.
2016-09-21Remove special rules for Windows.h and library includesYuri Kunde Schlesner3-1/+3
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner10-11/+11
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot32-54/+13
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner15-61/+32
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot51-3389/+4172
2016-09-15microprofile: Double buffer size to 16MB.bunnei1-1/+1
2016-09-13Common: readdir_r() is deprecated, switch to readdir().Emmanuel Gil Peyrot1-6/+2
2016-07-23Protection against a resize of size 0Alexandre LittleWhite Laurent1-4/+3
2016-06-25Remove superfluous std::move in return std::move(local_var)scurest1-1/+1
2016-06-19Fix recursive scanning of directoriesYuri Kunde Schlesner2-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.
2016-05-27common_funcs: Provide rotr and rotl for MSVCMerryMage1-12/+18
2016-05-21Common: Make recursive FileUtil functions take a maximum recursionEmmanuel Gil Peyrot2-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!
2016-05-15fixup! fixup! Refactor input systemwwylele2-7/+7
2016-05-15fixup! Refactor input systemwwylele2-20/+24
2016-05-15implement circle pad modifierwwylele2-4/+22
2016-05-15Refactor input subsystemwwylele4-23/+210
2016-05-09swap: Get rid of pointer casting for swapping structsLioncash1-5/+5
These shouldn't haphazardly convert types
2016-05-09swap: Get rid of undefined behavior in swapf and swapdLioncash1-14/+18
This isn't well-defined in C++.
2016-05-09swap: Remove unused methodsLioncash1-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.
2016-05-07AudioCore: SDL2 SinkMerryMage2-1/+3
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot6-5/+14
2016-04-29Common: Remove section measurement from profiler (#1731)Yuri Kunde Schlesner5-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.
2016-04-29Make Citra build with MICROPROFILE_ENABLED set to 0 (#1709)Henrik Rydgård1-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
2016-04-24assert: Allow UNREACHABLE_MSG to have just one argumentSam Spilsbury1-1/+1
2016-04-23Protect use of std::is_trivially_copyable to compile with GCC 4.9LittleWhite1-0/+4
2016-04-23assert: Add _MSG variations for UNREACHABLE and UNIMPLEMENTEDSam Spilsbury1-0/+2
2016-04-15fix driver root identification on Windowswwylele1-3/+12
2016-04-14Thread: Make Barrier reusableMerryMage1-5/+5
2016-04-14common/thread: Correct code styleMerryMage1-21/+19
2016-04-14emitter: Add CALL that can be fixed up.bunnei2-0/+13
2016-04-14emitter: Support arbitrary FixupBranch targets.bunnei2-0/+17
2016-04-14file_util: In-class initialize data membersLioncash2-6/+4
2016-04-14file_util: const qualify IOFile's Tell and GetSize functionsLioncash2-8/+8
2016-04-14file_util: Don't expose IOFile internals through the APILioncash2-30/+4
2016-04-14file_util: Check for is_trivially_copyableLioncash1-3/+5
Also applies the template checks to ReadArray as well.
2016-04-14file_util: Make IOFile data members privateLioncash1-0/+1
2016-04-12FileUtil: Missing #include, Add const to IOFile methodsMerryMage1-6/+7
2016-04-08cecd:u: stub GetCecStateAbbreviated (#1648)mailwl1-1/+1
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage2-18/+0
2016-04-02Dummy implementation dlp:SRVR Service.exhalatio2-0/+2
2016-03-31remove debug codeLFsWang1-1/+1
2016-03-31cecd:u: stub GetCecInfoEventHandle, GetChangeStateEventHandlemailwl2-0/+2
2016-03-31fix unicode url problem on windowsLFsWang1-6/+18
2016-03-31Fix encode problem On WindowsLFsWang3-21/+26
2016-03-27frd:u: Initial stub some functionsmailwl2-0/+2
2016-03-26remove unnecessary constwwylele1-2/+2
2016-03-22implement accel and gyro backendwwylele1-0/+48
2016-03-18vector_math: Add missing member in Vec4's SetZero functionLioncash1-1/+4
2016-03-14Reorganize the ndm service path for dummy implement functionJamePeng2-0/+2
SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now!
2016-03-13PICA: Align vertex attributesJannik Vogel2-0/+23
2016-03-13common_types: Make NonCopyable constructor constexprLioncash1-1/+1
2016-03-13common_types: Specify const in deleted copy constructor/assignment operatorLioncash1-2/+2
2016-03-09emitter: templatize ImmPtrLioncash1-2/+6
2016-03-09emitter: constexpr-ify helper functionsLioncash1-19/+17
2016-03-09emitter: Get rid of CanDoOpWithLioncash1-7/+0
This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra.
2016-03-09emitter: constexpr-ify OpArgLioncash1-30/+30
2016-03-09emitter: friend class OpArg with XEmitterLioncash1-3/+4
2016-03-09emitter: Remove unimplemented prototypeLioncash1-1/+0
2016-03-09Common: Get rid of alignment macrosLioncash1-9/+1
The gl rasterizer already uses alignas, so we may as well move everything over.
2016-02-27x64 Emitter: Fix L bit in VEX prefixMerryMage1-2/+2
2016-02-26Initial implementation ir:usermailwl2-0/+2
2016-02-21AudioCore: Skeleton ImplementationMerryMage3-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.
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage2-26/+22
2016-02-05backend: defaulted move constructor/assignmentLioncash1-18/+2
2016-01-28color: Make trivial helpers constexprLioncash1-8/+8
2016-01-25key_map: Use std::tie for comparisonsLioncash1-7/+7
2016-01-16DiskDirectory: Initialize the directory member with valid info.Subv1-1/+1
2015-12-23Add missing return values in ForeachDirectoryEntryLFsWang1-4/+14
ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing.
2015-11-27Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift2-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.
2015-11-23Services/Cam: Added new log type and camera enums from 3dbrew.Subv2-0/+2
Followup to #1102 Original author @mailwl
2015-11-12fix failure on gcc and clangwwylele1-3/+3
2015-11-12disable unary minus when the type is not signedwwylele1-0/+4
silent warning C4146 on msvc
2015-10-22gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei1-18/+0
- Includes a check to confirm no hash collisions.
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-0/+18
2015-10-04Implement gdbstubpolaris-2-0/+2
2015-10-01bit_field: Re-enable code on MSVCLioncash1-11/+0
2015-10-01Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behaviorarchshift2-103/+83
Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally.
2015-09-30symbols: Replace an insert call with emplaceLioncash1-1/+1
2015-09-30symbols: Get rid of initial underscores in variable namesLioncash2-20/+20
2015-09-30symbols: Directly initialize TSymbol membersLioncash1-8/+3
2015-09-30symbols: Simplify GetSymbolLioncash1-8/+5
2015-09-20Implement gdbstubpolaris-2-0/+2
2015-09-16hash: Get rid of unused functionsLioncash1-16/+0
2015-09-16general: Silence some warnings when using clangLioncash1-2/+2
2015-09-12memory_util: Remove unnecessary assignment in FreeMemoryPagesLioncash1-3/+0
2015-09-12memory_util: Remove commented out printf statementsLioncash1-10/+0
2015-09-12general: Replace 0 literals with nullptr where applicableLioncash2-6/+6
2015-09-12synchronized_wrapper: Add missing return in SynchronizedRef move assignment operatorLioncash1-0/+1
2015-09-11common: Get rid of a cast in swap.hLioncash1-2/+2
2015-09-11common: Get rid of debug_interface.hLioncash4-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.
2015-09-01x64: Proper stack alignment in shader JIT function callsaroulin3-424/+90
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
2015-09-01Common: Import BitSet from Dolphinaroulin2-0/+190
2015-08-28Common: Fix MicroProfile compilation in MSVC2015Yuri Kunde Schlesner1-0/+5
2015-08-25Integrate the MicroProfile profiling libraryYuri Kunde Schlesner4-0/+51
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-23x64-emitter: add RCPSS SSE instructionaroulin2-0/+2
2015-08-21emitter: Remove pointer castsLioncash2-4/+27
This should also technically silence quite a few ubsan warnings.
2015-08-20emitter: Remove unnecessary definesLioncash1-5/+1
2015-08-20emitter: Remove unnecessary else keywordsLioncash1-7/+7
2015-08-20emitter: Remove unused codeLioncash2-44/+0
2015-08-20emitter: Remove unimplemented JMP prototypeLioncash1-1/+0
2015-08-20emitter: Pass OpArg by reference where possibleLioncash2-763/+763
2015-08-20emitter: Remove unnecessary inline specifiersLioncash1-33/+33
Functions implemented in a class definition are already implicitly inline.
2015-08-18Fix building under MinGWdarkf2-4/+10
2015-08-16videocore: Added RG8 texture supportPatrick Martin1-0/+18
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner1-8/+7
2015-08-16Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei8-14/+14
2015-08-16Common: Cleanup CPU capability detection code.bunnei4-198/+141
2015-08-16Common: Move cpu_detect to x64 directory.bunnei4-5/+5
2015-08-16x64: Refactor to remove fake interfaces and general cleanups.bunnei10-516/+26
2015-08-15Common: Added MurmurHash3 hash function for general-purpose use.bunnei5-2/+158
2015-08-15Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.bunnei9-4/+4380
2015-08-15Common: Ported over Dolphin's code for x86 CPU capability detection.bunnei4-17/+273
2015-08-15Handle invalid `Log::Class`Benjamin Barenblat1-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.
2015-08-12Stop defining GCC always_inline attributes as __forceinlinearchshift2-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.
2015-08-03Use UNREACHABLE macro for impossible cases in previous commitBenjamin Barenblat2-4/+3
Use the UNREACHABLE macro instead of `ASSERT(false, ...);`.
2015-08-03Common: Work around bug in MSVC2015 standard libraryYuri Kunde Schlesner1-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.
2015-08-02Handle invalid `Log::Level::Count`Benjamin Barenblat2-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.
2015-07-19Common : Fix Conversion Warningszawata1-1/+1
2015-07-18Common: Remove the unused and commented GetThemeDir prototype from FileUtil.Emmanuel Gil Peyrot1-3/+0
2015-07-13Pica: Implement stencil testing.Tony Wasserka1-1/+26
2015-07-13FileUtil: Add a WriteObject method for writing a single, POD-type object.Tony Wasserka1-0/+10
2015-07-12don´t define snprintf on Visual Studio 2015Apology111-2/+4
Visual Studio 2015 defines this in stdio now
2015-07-11Common: Remove thunk.hLioncash2-43/+0
This isn't used, and there's no implementations of the member functions.
2015-07-10Common: Remove redundant masking in BitFieldYuri Kunde Schlesner1-1/+1
For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
2015-07-10Common: Fix mask generation in BitFieldYuri Kunde Schlesner1-1/+1
Fixes #913
2015-06-28Common: Remove unused type unions breaking aliasing rules in horrible ways.Emmanuel Gil Peyrot1-26/+0
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Core: Cleanup core includes.Emmanuel Gil Peyrot1-1/+2
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot2-1/+1
2015-06-28Common: Cleanup emu_window includes.Emmanuel Gil Peyrot2-3/+15
2015-06-28Common: Remove unused ROUND_UP_POW2 macro.Emmanuel Gil Peyrot1-7/+0
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot7-22/+18
2015-06-28Common: Cleanup profiler includes.Emmanuel Gil Peyrot4-7/+10
2015-06-28Common: Cleanup thread includes.Emmanuel Gil Peyrot2-18/+15
2015-06-28Common: Fix string_util includes.Emmanuel Gil Peyrot2-3/+9
2015-06-28Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot3-7/+14
2015-06-27Common: Remove now-unused EMU_PLATFORM define, fixes issue #373.Emmanuel Gil Peyrot1-30/+0
2015-06-27Common: Remove unused SSE version checking and a GCC macro.Emmanuel Gil Peyrot1-25/+0
2015-06-27Common: Remove unused fifo_queue.h.Emmanuel Gil Peyrot2-112/+0
2015-06-12Services: Continue separation of services into their own folderspurpasmart962-2/+4
2015-06-09Render-to-texture flush, interval math fixtfarley1-1/+1
2015-05-30Move video_core/color.h to common/color.harchshift2-0/+215
2015-05-30Move video_core/math.h to common/vector_math.harchshift2-0/+641
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot3-3/+3
2015-05-23OpenGL renderertfarley1-0/+4
2015-05-22Service::Y2R: Support for grayscale decoding of specific formatsYuri Kunde Schlesner2-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.
2015-05-16Remove unused concurrent_ring_buffer.hYuri Kunde Schlesner2-164/+0
2015-05-14Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types.Emmanuel Gil Peyrot4-409/+3
2015-05-12Common: Use the log system to print assert messagesYuri Kunde Schlesner1-7/+3
2015-05-12Common: Remove async loggingYuri Kunde Schlesner7-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.)
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner1-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.
2015-05-09Common: Add BIT macroYuri Kunde Schlesner1-0/+2
2015-05-08Common: Add StringFromFixedZeroTerminatedBufferYuri Kunde Schlesner2-0/+14
2015-05-08Profiler: Fix off-by-one error when computing average.Yuri Kunde Schlesner1-2/+1
2015-05-08Common: Remove mem_arena.cpp/hYuri Kunde Schlesner3-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.
2015-05-07Common: Remove hash.cpp/hYuri Kunde Schlesner3-543/+0
Currently unused and the code quality is pretty questionable.
2015-05-07Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner5-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.
2015-05-07string_util: Get rid of UriDecode/UriEncodeLioncash2-127/+0
2015-05-07Common: Remove common.hYuri Kunde Schlesner29-56/+43
2015-05-07Common: Move alignment macros to common_funcs.hYuri Kunde Schlesner2-21/+21
2015-05-07Common: Move SSE detection ifdefs to platform.hYuri Kunde Schlesner3-16/+21
2015-05-07Common: Remove more unused compatibility definesYuri Kunde Schlesner1-45/+0
2015-05-07Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner2-26/+26
2015-05-07Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner5-88/+10
2015-05-07Clean-up includesYuri Kunde Schlesner1-0/+1
2015-05-07Move typedefs from kernel.h to more appropriate placesYuri Kunde Schlesner1-0/+5
2015-05-07Common: Move NonCopyable to common_types.hYuri Kunde Schlesner2-10/+10
2015-05-07Common: Use C++11 deleted functions for NonCopyableYuri Kunde Schlesner1-8/+6
2015-05-07Common: Remove unused enumsYuri Kunde Schlesner1-17/+0
2015-05-02EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo2-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.
2015-04-16Common: thread.h cleanupsYuri Kunde Schlesner1-65/+16
The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style.
2015-04-10Thread: Implement priority boost for starved threads.bunnei1-0/+18
SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority.
2015-04-03Services: Stubs and minor changespurpasmart962-0/+4
2015-03-30disassembler: Get rid of a const_castLioncash2-4/+4
2015-03-16Common: Fix logic for setting EMU_DATA_DIR.Emmanuel Gil Peyrot1-6/+5
2015-03-16Common: Make a #else more apparent.Emmanuel Gil Peyrot1-5/+1
2015-03-14EmuWindow: Fixed a reference to a temporary variableSubv1-1/+1
in GetTouchState()
2015-03-11HID: Complete refactor of pad/touch input to fix threading issues.bunnei2-68/+63
2015-03-10EmuWindow: Made pad/touch functions non-static.bunnei2-11/+6
2015-03-10EmuWindow: Added infrastructure code to enable touchpad support.bunnei2-1/+93
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift2-0/+2
2015-03-08Fixed EmuWindow typo (fixes OSX build)bunnei2-2/+2
2015-03-07Set framebuffer layout from EmuWindow.bunnei2-7/+75
2015-03-06Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot5-7/+17
2015-03-06Removed swap code redundancy and moved common swap code to swap.harchshift3-127/+97
2015-03-02Profiler: Implement QPCClock to get better precision on Win32Yuri Kunde Schlesner2-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.
2015-03-02Add profiling infrastructure and widgetYuri Kunde Schlesner6-0/+493
2015-02-25Common: Switch to the XDG Base Directory Specification for directory selection.Emmanuel Gil Peyrot2-10/+69
This allows for easily movable and independent configuration and data directories, using standardized paths.
2015-02-22Added information reporting from ThrowFatalErrorarchshift3-2/+2
This was RE'd from the errdisp applet.
2015-02-20Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.Emmanuel Gil Peyrot2-8/+8
2015-02-20Misc cleanup of common and related functionsarchshift3-79/+28
2015-02-20Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift2-3/+3
2015-02-19Remove "super lame/broken" file_search compilation unit that was leftover from Dolphinarchshift3-128/+0
2015-02-19Remove redundant utf8 compilation unit that was leftover from Dolphinarchshift3-528/+0
2015-02-19Remove useless extended_trace compilation unit that was leftover from Dolphinarchshift3-480/+0
2015-02-19Remove the useless msg_handler compilation unit that was left over from Dolphinarchshift7-178/+11
2015-02-18Asserts: Use lambdas to keep assertion code away from the main code pathYuri Kunde Schlesner1-6/+25
2015-02-17ConfigMem: Clean up the Config memory to be more like the shared page and movedpurpasmart961-0/+7
the helper macro for padding to common_funcs.h
2015-02-13backend: Add logging subentry for ldrLioncash1-0/+1
Fixes an assertion upon executing citra in debug mode.
2015-02-12Build: Fixed some warningsSubv1-3/+3
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift15-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.
2015-02-08Services: Stub some functionspurpasmart961-0/+1
2015-02-07Fix a wrong file name in a commentchinhodado1-1/+1
2015-01-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner2-1/+7
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift3-10/+10
2015-01-10Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift3-24/+8
2015-01-07Common: Clean up ThreadQueueListYuri Kunde Schlesner1-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.
2015-01-07CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv2-0/+2
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
2015-01-06Common: Remove dead platform #ifdefs to make the code more readable.Emmanuel Gil Peyrot5-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.
2015-01-05Common: Use std::abs instead of abs, using abs with cmath fails on some systems.Emmanuel Gil Peyrot1-2/+3
2015-01-05Common: Remove the unused x86-specific 128-bit float type.Emmanuel Gil Peyrot1-11/+0
2015-01-04Archives: Changed the way paths are built for the archives.Subv3-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
2015-01-04SaveDataCheck: Move the files to nand/titleSubv1-1/+1
under /nand/title/high/low/content/00000000.app.romfs
2015-01-03Archives: Change the folder layout of some archives.Subv3-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
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv3-0/+4
Fixed a few warnings and cleaned up the code
2014-12-31SOC_U: Preliminary implementation of sockets.Subv2-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
2014-12-30Fix MSVC-related #defines and add CMakeLists commentdarkf5-10/+10
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv3-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.
2014-12-21More warning cleanupsChin1-0/+6
2014-12-21License changepurpasmart9646-74/+74
2014-12-20BitField: Add an explicit Assign method.Tony Wasserka1-1/+5
This is useful when doing crazy stuff like inheriting from BitField.
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2-0/+17
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv3-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.
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv3-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
2014-12-14Restore the original console color after logging a message.Yuri Kunde Schlesner2-13/+25
Fixes #277
2014-12-13Remove old logging systemYuri Kunde Schlesner6-850/+2
2014-12-13Add configurable per-class log filteringYuri Kunde Schlesner5-3/+205
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner8-71/+94
2014-12-13Implement text path trimming for shorter paths.Yuri Kunde Schlesner3-1/+53
2014-12-13Re-add coloring to the console logging output.Yuri Kunde Schlesner1-0/+50
2014-12-13New logging systemYuri Kunde Schlesner11-66/+716
2014-12-13Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2-0/+38
2014-12-13Added missing include in common_funcs.hYuri Kunde Schlesner1-0/+1
2014-12-13Remove redundant include from common_funcs.hYuri Kunde Schlesner1-2/+0
2014-12-13APT_U: Added GetSharedFont service function.bunnei1-0/+3
2014-12-12Common: Add "sysdata" to GetUserPath and cleanup.bunnei3-26/+3
2014-12-10Explicitly specify LE strings to iconv, fixes paths in Steel Diverarchshift1-2/+2
2014-12-09Remove unused NDMA moduleYuri Kunde Schlesner2-2/+0
2014-12-09Some code cleanup.Tony Wasserka1-0/+2
2014-12-09Fix some headers to include their dependencies properly.Tony Wasserka2-0/+7
2014-12-07StringUtil: Perform some minimal cleanup.Tony Wasserka1-3/+3
2014-12-03Change NULLs to nullptrs.Rohit Nirmal17-92/+92
2014-11-29Fix MinGW builddarkf7-21/+34
2014-11-25Remove unused includes to common/thread.hEmmanuel Gil Peyrot1-1/+0
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot3-100/+100
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot23-160/+160
2014-11-18Remove extraneous semicolonsLioncash2-2/+2
2014-11-18EmuWindow: Add some explicit documentation and set proper minimal client area size.Tony Wasserka1-2/+4
2014-11-18EmuWindow: Add a TODO.Tony Wasserka1-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.
2014-11-18MathUtil: Make Rectangle work with unsigned types.Tony Wasserka1-4/+5
2014-11-18EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.Tony Wasserka1-0/+7
2014-11-18EmuWindow: Remove window title getters/setters.Tony Wasserka1-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.
2014-11-18EmuWindow: Add documentation.Tony Wasserka1-18/+57
2014-11-18EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka1-8/+26
2014-11-18Fixup EmuWindow interface and implementations thereof.Tony Wasserka1-28/+33
2014-11-18Viewport scaling and display density independenceKevin Hartman1-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.
2014-11-18Add a GUI logging channel.Tony Wasserka2-0/+2
Replace asserts with _dbg_assert_.
2014-11-17emu_window: Fix initializer list order.Lioncash1-2/+2
Gets rid of a warning on OSX.
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2-51/+115
2014-10-29Renamed souce files of services to match port namesGareth Poole1-1/+1
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner2-3/+3
This was automated using `clang-modernize`.
2014-10-26Fix compile errors in ClangYuri Kunde Schlesner1-1/+0
2014-10-25bit_field: Fix a typo in the sample usage.Lioncash1-1/+1
2014-10-24Removed uses of raw c-string manipulation functions.archshift4-21/+10
2014-10-23Use std sized types instead of platform specific typedefsYuri Kunde Schlesner2-32/+12
2014-10-23Common: Return from CreateFullPath early if the directory creation failsarchshift1-2/+4
2014-10-08Added configuration file system.archshift6-69/+73
Uses QSettings on citra-qt, and inih on citra-cli.
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot2-0/+53
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-09-28Fix warnings in core and commonLioncash3-15/+5
2014-09-22chunk_file: General cleanupLioncash1-244/+0
- Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
2014-09-21Use the citra user path for the sdmc directoryarchshift3-0/+4
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot4-25/+25
2014-09-17Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot1-8/+20
2014-09-12Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman5-40/+61
2014-09-12Initial HID PAD work, with GLFW only.Kevin Hartman4-0/+77
2014-09-09Removed fixed_size_queue.harchshift2-71/+0
It's unused and doesn't look like it compiles anyway :/
2014-09-09common: Prune all redundant includesarchshift10-34/+3
2014-09-09Moved common_types::Rect from common to Common namespacearchshift1-1/+1
2014-09-09Added string_util to common, small changes in loader.cpparchshift11-32/+39
2014-09-09loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2-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.
2014-09-08Common: Remove HAVE_CXX11_SYNTAX define from Common.hLioncash1-6/+0
2014-09-08Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash1-3/+8
2014-09-07Removed common/std_xyz, instead using the std headerarchshift7-856/+6
2014-09-03Removed common/atomic, instead using std::atomicarchshift4-198/+0
2014-09-01Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner4-453/+0
2014-09-01Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner1-0/+2
2014-09-01CMake cleanupYuri Kunde Schlesner1-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.
2014-08-19Common: Add a clamp function to math_utils.hLioncash1-0/+7
2014-08-18Common: Get rid of an unnecessary forward declaration in symbols.hLioncash1-2/+0
2014-08-18Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash2-2/+2
Returning a copy of the string is what was likely meant to be done.
2014-08-17Common: Correctly set ptr to null if mmap fails in memory_utilLioncash1-5/+8
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
2014-08-17Common: Move remaining C header includes over to their C++ equivalentLioncash8-21/+20
2014-08-17Common: Move header guards over to pragma onceLioncash33-146/+41
Also replaced C headers with the C++ equivalent ones
2014-08-16mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.Emmanuel Gil Peyrot1-24/+23
2014-08-12Simplified if-tree in extended_trace.cpparchshift1-13/+9
2014-08-12break_points.cpp: return directly from conditionalsarchshift1-6/+2
2014-08-12break_points: cleaned up, added `find_if`sarchshift2-59/+51
2014-08-12Changed iterators to use auto, some of which using range-based loopsarchshift1-27/+28
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka3-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.
2014-08-08Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley1-1/+3
2014-07-23RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka1-6/+8
2014-07-19[build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner1-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.
2014-07-16BitField: Cast enum values to proper integer type.Tony Wasserka1-1/+1
2014-07-16BitField: Add a static_assert.Tony Wasserka1-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.
2014-07-16BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka1-0/+16
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka1-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.
2014-06-12Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei1-2/+0
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift1-1/+1
2014-06-12Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei1-2/+0
2014-06-12Pica: Use some template magic to define register structures efficiently.Tony Wasserka3-3/+166
2014-06-12Rename LCD to GPU.Tony Wasserka2-2/+2
2014-06-01log: updated MAX_LOGLEVEL to use correct log level enum typebunnei3-5/+5
2014-06-01log: updated GenericLog __attribute__ for newly added parameterbunnei1-1/+1
2014-05-30log: fixed to not print twice, enabled coloring, added OS print logging as its own typebunnei4-37/+42
2014-05-20common_types: Changed BasicRect back to Rect, in the common namespacearchshift1-4/+6
Only Rect is in the namespace for now; the rest of common should be added in the future
2014-05-20Improved clarity and whitespacearchshift1-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.
2014-05-20CMakeLists: rename HEADS, improved commentsarchshift1-2/+2
Changes for clarity of comments, removed redundant compiler flags.
2014-05-17Updated cmakelistsarchshift1-0/+1
2014-05-17added MIN, MAX, and CLAMP macros to common_funcsbunnei1-0/+5
2014-05-16added ThreadQueueList class to common (taken from PPSSPP)bunnei3-0/+218
2014-05-10added kernel logger to commonbunnei2-3/+5
2014-05-08removed incorrect dolphin copyright linebunnei1-1/+0
2014-05-08fixed include of common in bit_field.hbunnei1-1/+1
2014-05-08logger fix for linuxbunnei2-3/+3
2014-05-08added GSP to loggersbunnei2-2/+2
2014-05-08added BitField to commonbunnei3-0/+175
2014-05-06- added better SVC loggingbunnei2-5/+5
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
2014-05-01Support for C++11 on OSXarchshift1-2/+2
2014-05-01Fixed indentsarchshift1-1/+1
2014-04-30Some more experimentationarchshift1-3/+3
2014-04-29IT'S ALIVE!archshift1-1/+39
2014-04-28Fix complaints about functions that could not be foundarchshift1-1/+1
2014-04-28Problematic class with no current implementationarchshift1-2/+2
2014-04-28Rect to BasicRectarchshift1-4/+4
Somewhere along the line an OSX header had already taken the name Rect.
2014-04-28add missing bswap functionsbunnei1-0/+44
2014-04-28fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei1-13/+0
2014-04-28removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei1-5/+0
2014-04-25Resolved undefined Common::g_scm_branch error.Thomas Edvalson1-1/+1
2014-04-24made qt window title consistentbunnei1-1/+1
2014-04-24fixes to scm_rev generation to make it conistent with windows buildbunnei2-5/+5
2014-04-24updated windows scm_rev code to use new styleShizZy5-66/+53
2014-04-24added scm rev generation on Linux/cmakebunnei6-51/+37
2014-04-23fixes to build on linuxbunnei2-14/+14
2014-04-23removed duplicate rotl/rotr functionsShizZy1-26/+0
2014-04-23updated CMakeLists for missing filesShizZy1-0/+1
2014-04-18added NDMA hardware interfacebunnei2-2/+2
2014-04-15added helper functions for upper/lowercase stringsbunnei2-0/+22
2014-04-13Add symbols mapMathieu Vaillancourt4-0/+100
2014-04-11added logger for generic HLEbunnei2-3/+3
2014-04-11removed scm_rev.h from version controlbunnei1-4/+0
2014-04-11added missing const to GetWindowTitlebunnei1-1/+1
2014-04-10updated CMakeListsbunnei1-16/+17
2014-04-09- removed deprecated version.hbunnei4-72/+52
- cleaned up window title - cleaned up emu_window_glfw/emu_window
2014-04-09fixed scm_rev_genbunnei2-5/+5
2014-04-09fixed project includes to use new directory structurebunnei44-211/+201
2014-04-09got rid of 'src' folders in each sub-projectbunnei54-0/+0
2014-04-07added "citra" instead of "emu" to title barbunnei1-1/+1
2014-04-06added logger option specifically for the rendererbunnei2-2/+2
2014-04-05added missing includes to common_types.hbunnei1-0/+3
2014-04-05Updated common_types.h to use Gekko's version w/ Rect and some useful unionsbunnei1-30/+102
2014-04-05added DISALLOW_COPY_AND_ASSIGN macrobunnei1-0/+5
2014-04-05added LCD loggerbunnei2-2/+2
2014-04-05added a HW option to loggingbunnei2-48/+48
2014-04-02convert tabs to spacesbunnei47-5298/+5298
2014-04-01grabbed ppsspp's MemArenabunnei2-221/+428
2013-10-02added TIME logger for core timingShizZy2-2/+2
2013-10-02renamed GC_ALIGNED* macros to MEMORY_ALIGNED*ShizZy1-12/+12
2013-09-27upgraded proj files to vs 2013ShizZy2-2/+16
2013-09-26renamed from citrus to citraShizZy4-5/+5
2013-09-26moved file_sys back to coreShizZy5-973/+0
2013-09-24removed <windows.h> include from common.h and added it only where neededShizZy2-5/+1
2013-09-24moved file_sys to commonShizZy5-0/+973
2013-09-24added localtime_r for use on windowsShizZy1-0/+8
2013-09-24added utf8 to common module, utils for dealing with utf8ShizZy4-0/+534
2013-09-20updated to chunk_file module from ppssppShizZy1-133/+623
2013-09-20added a module for loading bootable binariesShizZy2-4/+4
2013-09-19added swap types to commonShizZy4-0/+549
2013-09-19removed CORE and LOADER from LogTypesShizZy1-2/+0
2013-09-19added CORE and LOADER to LogTypesShizZy1-0/+2
2013-09-18changed log CPU from PPC to ARM11ShizZy2-2/+3
2013-09-18added default windows includeShizZy1-0/+4
2013-09-16added file platform.hShizZy4-0/+137
2013-09-14renamed project to 'citrus'ShizZy3-3/+3
2013-09-13added scm_rev_gen project to automatically create a header with the git revision on buildShizZy4-3/+162
2013-09-09cleaned up VS project filesShizZy1-11/+9
2013-09-09fixed some code warningsShizZy1-1/+1
2013-09-09 removed unneeded dolphin paths code, fixed linker problems with common.libShizZy3-132/+118
2013-09-09re-enabled GetLastErrorMsgShizZy1-19/+23
2013-09-08updated common pathsShizZy2-4/+7
2013-09-06start of 3DS memory mapShizZy3-12/+3
2013-09-05various fixes to be able to build projectShizZy1-17/+13
2013-09-05added emu_window.h to define interface to drawing to a windowShizZy3-0/+108
2013-09-05updated CMakeLists.txt file for new common filesShizZy1-9/+16
2013-09-05replaced common code with dolphin commonShizZy51-107/+8640
2013-09-04deleted gekko's common filesShizZy28-4543/+0
2013-08-30adding initial project layoutShizZy31-0/+4777