JamePeng
bd8c80a7b4
Update the stub code of BOSS
9 years ago
Yuri Kunde Schlesner
6219654ded
Common: Remove dangerous Vec[234] array constructors
They're not currently used, and it's easy to accidentally pass a single
pointer argument to them, causing an out-of-bounds read.
9 years ago
Yuri Kunde Schlesner
f120e78b56
Remove special rules for Windows.h and library includes
9 years ago
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
bunnei
57ce84d471
microprofile: Double buffer size to 16MB.
9 years ago
Emmanuel Gil Peyrot
519e7013be
Common: readdir_r() is deprecated, switch to readdir().
9 years ago
Alexandre LittleWhite Laurent
7331b79021
Protection against a resize of size 0
10 years ago
scurest
0f9274fe24
Remove superfluous std::move in return std::move(local_var)
10 years ago
Yuri Kunde Schlesner
d6792632f0
Fix recursive scanning of directories
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.
10 years ago
MerryMage
8e1768cf1d
common_funcs: Provide rotr and rotl for MSVC
10 years ago
Emmanuel Gil Peyrot
8ab6f26c09
Common: Make recursive FileUtil functions take a maximum recursion
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!
10 years ago
wwylele
6cccdcacd2
fixup! fixup! Refactor input system
10 years ago
wwylele
6d49e4621c
fixup! Refactor input system
10 years ago
wwylele
416faa20d1
implement circle pad modifier
10 years ago
wwylele
03631f9b8f
Refactor input subsystem
10 years ago
Lioncash
d5b983a8c0
swap: Get rid of pointer casting for swapping structs
These shouldn't haphazardly convert types
10 years ago
Lioncash
47ca79ba4b
swap: Get rid of undefined behavior in swapf and swapd
This isn't well-defined in C++.
10 years ago
Lioncash
aef4630102
swap: Remove unused methods
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.
10 years ago
MerryMage
920d2cf41d
AudioCore: SDL2 Sink
10 years ago
Emmanuel Gil Peyrot
691a42fe98
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Yuri Kunde Schlesner
e3a8292495
Common: Remove section measurement from profiler ( #1731 )
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.
10 years ago
Henrik Rydgård
90501f20e6
Make Citra build with MICROPROFILE_ENABLED set to 0 ( #1709 )
* 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
10 years ago
Sam Spilsbury
ef6873980e
assert: Allow UNREACHABLE_MSG to have just one argument
10 years ago
LittleWhite
9572652ddc
Protect use of std::is_trivially_copyable to compile with GCC 4.9
10 years ago
Sam Spilsbury
205e8f9f9e
assert: Add _MSG variations for UNREACHABLE and UNIMPLEMENTED
10 years ago
wwylele
43b6cbd762
fix driver root identification on Windows
10 years ago
MerryMage
3c710f9b10
Thread: Make Barrier reusable
10 years ago
MerryMage
8c50833445
common/thread: Correct code style
10 years ago
bunnei
507e0b5989
emitter: Add CALL that can be fixed up.
10 years ago
bunnei
e5d417213c
emitter: Support arbitrary FixupBranch targets.
10 years ago
Lioncash
5f51622e9d
file_util: In-class initialize data members
10 years ago
Lioncash
655623ebb2
file_util: const qualify IOFile's Tell and GetSize functions
10 years ago
Lioncash
a4120ca66c
file_util: Don't expose IOFile internals through the API
10 years ago
Lioncash
bf9945b81b
file_util: Check for is_trivially_copyable
Also applies the template checks to ReadArray as well.
10 years ago
Lioncash
3ee4432fe3
file_util: Make IOFile data members private
10 years ago
MerryMage
226c5546e2
FileUtil: Missing #include, Add const to IOFile methods
10 years ago
mailwl
61ec5fa776
cecd stub GetCecStateAbbreviated ( #1648 )
10 years ago
MerryMage
a06dcfeb61
Common: Remove Common::make_unique, use std::make_unique
10 years ago
exhalatio
bbdfbe44e6
Dummy implementation dlp:SRVR Service.
10 years ago
LFsWang
87afef73b1
remove debug code
10 years ago
mailwl
cb8e85a37d
cecd stub GetCecInfoEventHandle, GetChangeStateEventHandle
10 years ago
LFsWang
be01912539
fix unicode url problem on windows
10 years ago
LFsWang
acfa76aa38
Fix encode problem On Windows
10 years ago
mailwl
81d988b022
frd Initial stub some functions
10 years ago
wwylele
6bd5f98272
remove unnecessary const
10 years ago
wwylele
db151efd0a
implement accel and gyro backend
10 years ago
Lioncash
1400aeceac
vector_math: Add missing member in Vec4's SetZero function
10 years ago