Rohit Nirmal
8a62423970
Change NULLs to nullptrs.
11 years ago
Emmanuel Gil Peyrot
f8c05e53c4
Remove unused includes to common/thread.h
11 years ago
Emmanuel Gil Peyrot
739bb58c3a
Remove tabs in all files except in skyeye imports and in generated GL code
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
Lioncash
1a8f466217
Remove extraneous semicolons
11 years ago
Tony Wasserka
5785f764ab
EmuWindow: Add some explicit documentation and set proper minimal client area size.
11 years ago
Tony Wasserka
6a6464807a
EmuWindow: Add a TODO.
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.
11 years ago
Tony Wasserka
e02ff0121f
MathUtil: Make Rectangle work with unsigned types.
11 years ago
Tony Wasserka
19bb01c223
EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.
11 years ago
Tony Wasserka
182476c96a
EmuWindow: Remove window title getters/setters.
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.
11 years ago
Tony Wasserka
ded9c8a826
EmuWindow: Add documentation.
11 years ago
Tony Wasserka
722ce22589
EmuWindow: Add support for specifying minimal client area sizes.
11 years ago
Tony Wasserka
bd8f491e4c
Fixup EmuWindow interface and implementations thereof.
11 years ago
Kevin Hartman
221a9b023d
Viewport scaling and display density independence
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.
11 years ago
Tony Wasserka
c8d933a142
Add a GUI logging channel.
Replace asserts with _dbg_assert_.
11 years ago
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