Lioncash
827e7a1898
emu_window: Fix initializer list order.
Gets rid of a warning on OSX.
11 years ago
archshift
1f7c4ab7f6
Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions
11 years ago
Gareth Poole
38df9e96dd
Renamed souce files of services to match port names
11 years ago
Yuri Kunde Schlesner
d72708c1f5
Add `override` keyword through the code.
This was automated using `clang-modernize`.
11 years ago
Yuri Kunde Schlesner
da564d3fe0
Fix compile errors in Clang
11 years ago
Lioncash
2dce9b2ead
bit_field: Fix a typo in the sample usage.
11 years ago
archshift
7fa4dbd0c6
Removed uses of raw c-string manipulation functions.
11 years ago
Yuri Kunde Schlesner
b75ac24391
Use std sized types instead of platform specific typedefs
11 years ago
archshift
a7c7946867
Common: Return from CreateFullPath early if the directory creation fails
11 years ago
archshift
e6594f9f53
Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
11 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.
11 years ago
Lioncash
ca2f0de08a
Fix warnings in core and common
11 years ago
Lioncash
ff442d6cf9
chunk_file: General cleanup
- Remove unnecessary ifdefs
- Remove commented out code. Can be retrieved later if needed.
11 years ago
archshift
1966f7b0ad
Use the citra user path for the sdmc directory
11 years ago
Emmanuel Gil Peyrot
6b7b36a874
Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.
11 years ago
Emmanuel Gil Peyrot
edaf59a759
Common: Return the number of items read/written in IOFile’s methods instead of a boolean.
11 years ago
Kevin Hartman
02fd19b2f6
Added support for multiple input device types for KeyMap and connected Qt.
11 years ago
Kevin Hartman
4a94ec934a
Initial HID PAD work, with GLFW only.
11 years ago
archshift
727bad24a2
Removed fixed_size_queue.h
It's unused and doesn't look like it compiles anyway :/
11 years ago
archshift
9d7cc2bedc
common: Prune all redundant includes
11 years ago
archshift
8fe5f2e2fe
Moved common_types::Rect from common to Common namespace
11 years ago
archshift
5472fd4d9b
Added string_util to common, small changes in loader.cpp
11 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.
11 years ago
Lioncash
5b65decf91
Common: Remove HAVE_CXX11_SYNTAX define from Common.h
11 years ago
Lioncash
2f6ef914db
Common: Fix a potential infinite loop in StringUtil's ReplaceAll
11 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.
12 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.
12 years ago
Lioncash
2f571a0d9d
Common: Add a clamp function to math_utils.h
12 years ago
Lioncash
85a20a9b19
Common: Get rid of an unnecessary forward declaration in symbols.h
12 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.
12 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.
12 years ago
Lioncash
da6f24b374
Common: Move remaining C header includes over to their C++ equivalent
12 years ago
Lioncash
90e994471a
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
12 years ago
Emmanuel Gil Peyrot
c91d9fd837
mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.
12 years ago
archshift
a7c549a40c
Simplified if-tree in extended_trace.cpp
12 years ago
archshift
1a2604902f
break_points.cpp: return directly from conditionals
12 years ago
archshift
e3efc613fd
break_points: cleaned up, added `find_if`s
12 years ago
archshift
5a7c3ad194
Changed iterators to use auto, some of which using range-based loops
12 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.
12 years ago
Anthony J. Bentley
dad3655a6d
Use pthread_set_name_np() on OpenBSD.
12 years ago
Tony Wasserka
246cb75584
RegisterSet: Simplify code by using structs for register definition instead of unions.
12 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.
12 years ago
Tony Wasserka
0da8e2eacc
BitField: Cast enum values to proper integer type.
12 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.
12 years ago
Tony Wasserka
15ab5382a5
BitField: Delete copy assignment to prevent obscure bugs.
Cf. https://github.com/dolphin-emu/dolphin/pull/483
12 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.
12 years ago
bunnei
b919158050
Removed definition of MAX_PATH, this is already defined in common_paths.h.
12 years ago