Commit Graph

194 Commits (2b0d7a1d293ca28f6a9022b220720bf8b57a47e8)

Author SHA1 Message Date
archshift e6594f9f53 Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
10 years ago
Emmanuel Gil Peyrot fbd72fd6bf Common: Add a helper function to generate a 8.3 filename from a long one.
Core: Fix the SDMC Directory implementation to make blargSnes work.
10 years ago
Lioncash ca2f0de08a Fix warnings in core and common 10 years ago
bunnei ee7cfc71bd Merge pull request #118 from lioncash/chunk-file
chunk_file: General cleanup
10 years ago
Lioncash ff442d6cf9 chunk_file: General cleanup
- Remove unnecessary ifdefs
- Remove commented out code. Can be retrieved later if needed.
10 years ago
archshift 1966f7b0ad Use the citra user path for the sdmc directory 10 years ago
Emmanuel Gil Peyrot 6b7b36a874 Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. 10 years ago
Emmanuel Gil Peyrot edaf59a759 Common: Return the number of items read/written in IOFile’s methods instead of a boolean. 10 years ago
Kevin Hartman 02fd19b2f6 Added support for multiple input device types for KeyMap and connected Qt. 10 years ago
Kevin Hartman 4a94ec934a Initial HID PAD work, with GLFW only. 10 years ago
bunnei 532a9e80a0 Merge pull request #99 from archshift/ext-check
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
10 years ago
bunnei d79fe3ebaa Merge pull request #103 from archshift/prune
Prune redundant includes
10 years ago
bunnei 249a567834 Merge pull request #104 from archshift/removal
Removed fixed_size_queue.h
10 years ago
bunnei 8891c27425 Merge pull request #101 from lioncash/inf-loop
Common: Fix a potential infinite loop in StringUtil's ReplaceAll
10 years ago
archshift 727bad24a2 Removed fixed_size_queue.h
It's unused and doesn't look like it compiles anyway :/
10 years ago
archshift 9d7cc2bedc common: Prune all redundant includes 10 years ago
archshift 8fe5f2e2fe Moved common_types::Rect from common to Common namespace 10 years ago
archshift 5472fd4d9b Added string_util to common, small changes in loader.cpp 10 years ago
archshift 4ed24a0619 loader.cpp: improved file extension checking, made Upper/LowerStr useful
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
10 years ago
Lioncash 5b65decf91 Common: Remove HAVE_CXX11_SYNTAX define from Common.h 10 years ago
Lioncash 2f6ef914db Common: Fix a potential infinite loop in StringUtil's ReplaceAll 10 years ago
archshift 498d1a37f1 Removed common/std_xyz, instead using the std header 11 years ago
archshift 4795a64fc8 Removed common/atomic, instead using std::atomic 11 years ago
Yuri Kunde Schlesner c57de3e404 Remove hand-crafted Visual Studio solution. 11 years ago
Yuri Kunde Schlesner b15d631d99 Avoid LOGGING redefinition warnings. 11 years ago
Yuri Kunde Schlesner 45976da975 CMake cleanup
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.
11 years ago
bunnei 59d512484a Merge pull request #58 from lioncash/clamp
Common: Add a clamp function to math_utils.h
11 years ago
Lioncash 2f571a0d9d Common: Add a clamp function to math_utils.h 11 years ago
Lioncash 85a20a9b19 Common: Get rid of an unnecessary forward declaration in symbols.h 11 years ago
Lioncash a49a5fa4d9 Common: Don't return a reference to a string when calling GetName in symbols.cpp
Returning a copy of the string is what was likely meant to be done.
11 years ago
bunnei 68c81f28d9 Merge pull request #52 from lioncash/memory
Common: Correctly set ptr to null if mmap fails in memory_util
11 years ago
bunnei 54d5d4477f Merge pull request #48 from linkmauve/master
Replace insecure temporary file creation with devshm.
11 years ago
Lioncash cc9f352b66 Common: Correctly set ptr to null if mmap fails in memory_util
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
11 years ago
Lioncash da6f24b374 Common: Move remaining C header includes over to their C++ equivalent 11 years ago
Lioncash 90e994471a Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
11 years ago
Emmanuel Gil Peyrot c91d9fd837 mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code. 11 years ago
archshift a7c549a40c Simplified if-tree in extended_trace.cpp 11 years ago
bunnei 0ccd026a6d Merge pull request #41 from archshift/itr
Changed iterators to use auto, many of which using range-based loops
11 years ago
archshift 1a2604902f break_points.cpp: return directly from conditionals 11 years ago
archshift e3efc613fd break_points: cleaned up, added `find_if`s 11 years ago
archshift 5a7c3ad194 Changed iterators to use auto, some of which using range-based loops 11 years ago
Tony Wasserka 9c781a6c76 Remove the fancy RegisterSet class introduced in 4c2bff61e.
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.
11 years ago
Anthony J. Bentley dad3655a6d Use pthread_set_name_np() on OpenBSD. 11 years ago
Tony Wasserka 246cb75584 RegisterSet: Simplify code by using structs for register definition instead of unions. 11 years ago
Yuri Kunde Schlesner 78eb8ba844 [build] Search for the git binary in the default msysgit install dir
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.
11 years ago
Tony Wasserka 0da8e2eacc BitField: Cast enum values to proper integer type. 11 years ago
Tony Wasserka cd1d5786d9 BitField: Add a static_assert.
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.
11 years ago
Tony Wasserka 15ab5382a5 BitField: Delete copy assignment to prevent obscure bugs.
Cf. https://github.com/dolphin-emu/dolphin/pull/483
11 years ago
Tony Wasserka 47a001722d BitField: Add an explicit evaluation method.
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.
11 years ago
bunnei 004df76795 Merge branch 'threading' of https://github.com/bunnei/citra
Conflicts:
	src/core/hle/function_wrappers.h
	src/core/hle/service/gsp.cpp
11 years ago
bunnei b919158050 Removed definition of MAX_PATH, this is already defined in common_paths.h. 11 years ago
archshift ee4717aaae Preprocessor: #if's out OSX-specific GL changes on other platforms 11 years ago
bunnei 06ef8f001a Common: Removed duplicate "LONG" and "MAX_PATH" definitions. 11 years ago
Tony Wasserka 4c2bff61e5 Pica: Use some template magic to define register structures efficiently. 11 years ago
Tony Wasserka 1dfa392824 Rename LCD to GPU. 11 years ago
bunnei 00adbc7817 log: updated MAX_LOGLEVEL to use correct log level enum type 11 years ago
bunnei 5cd922d151 log: updated GenericLog __attribute__ for newly added parameter 11 years ago
bunnei 6fc62f8c93 log: fixed to not print twice, enabled coloring, added OS print logging as its own type 11 years ago
bunnei 32c314c992 Merge branch 'threading' 11 years ago
archshift 5a8ed196e6 common_types: Changed BasicRect back to Rect, in the common namespace
Only Rect is in the namespace for now; the rest of common should be added in the future
11 years ago
archshift 034e3aabc8 Improved clarity and whitespace
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.
11 years ago
archshift 403e4bf837 CMakeLists: rename HEADS, improved comments
Changes for clarity of comments, removed redundant compiler flags.
11 years ago
archshift c1394650ff Updated cmakelists 11 years ago
archshift b8c8d0903e Merge remote-tracking branch 'upstream/master' into issue-7-fix 11 years ago
bunnei 43bc2ac724 added MIN, MAX, and CLAMP macros to common_funcs 11 years ago
bunnei cf2eb8e3d3 added ThreadQueueList class to common (taken from PPSSPP) 11 years ago
bunnei daf7a7880a added kernel logger to common 11 years ago
bunnei a6b047ec3b removed incorrect dolphin copyright line 11 years ago
bunnei a713bd1bad fixed include of common in bit_field.h 11 years ago
bunnei 505d984f16 logger fix for linux 11 years ago
bunnei 92bde183dd added GSP to loggers 11 years ago
bunnei e7a0283625 added BitField to common 11 years ago
bunnei 9db26df05f - added better SVC logging
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
11 years ago
archshift 7817d6c79a Support for C++11 on OSX 11 years ago
archshift 704075f04a Fixed indents 11 years ago
archshift 52377cf0d2 Some more experimentation 11 years ago
archshift 5a9c2ce5ea IT'S ALIVE! 11 years ago
archshift 5749d1eabe Fix complaints about functions that could not be found 11 years ago
archshift 5741f2fb26 Problematic class with no current implementation 11 years ago
archshift ff48c8bed3 Rect to BasicRect
Somewhere along the line an OSX header had already taken the name Rect.
11 years ago
bunnei 81cb80997a add missing bswap functions 11 years ago
bunnei 535947a0e1 fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it 11 years ago
bunnei 438dba40c1 Merge branch 'hle-interface-updates' 11 years ago
bunnei a48c6b947d removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class 11 years ago
Thomas Edvalson 08e1ba746f Resolved undefined Common::g_scm_branch error. 11 years ago
bunnei 66a98ea686 made qt window title consistent 11 years ago
bunnei 80a040ac77 fixes to scm_rev generation to make it conistent with windows build 11 years ago
ShizZy 121960a2eb updated windows scm_rev code to use new style 11 years ago
bunnei 4405a53cf3 added scm rev generation on Linux/cmake 11 years ago
bunnei 7a136b8a84 fixes to build on linux 11 years ago
ShizZy c479921142 removed duplicate rotl/rotr functions 11 years ago
ShizZy 5c89324809 updated CMakeLists for missing files 11 years ago
bunnei 958bca606e Merge branch 'hle-interface' 11 years ago
bunnei c3a4b4bfca added NDMA hardware interface 11 years ago
bunnei cb504e236b added helper functions for upper/lowercase strings 11 years ago
Mathieu Vaillancourt d046cfbba1 Add symbols map 11 years ago
bunnei d4cb2aab63 added logger for generic HLE 11 years ago
bunnei 17b32b7b3f removed scm_rev.h from version control 11 years ago
bunnei 7b3cde1f3a added missing const to GetWindowTitle 11 years ago
bunnei 6b83509a7e updated CMakeLists 11 years ago