JamePeng
97d9804d97
Update the stub code of BOSS
9 years ago
Yuri Kunde Schlesner
1de9e185af
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
32bddfa1f5
Remove special rules for Windows.h and library includes
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
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
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
bunnei
139dceacb2
microprofile: Double buffer size to 16MB.
9 years ago
Emmanuel Gil Peyrot
721bb69d6e
Common: readdir_r() is deprecated, switch to readdir().
9 years ago
Alexandre LittleWhite Laurent
bfc9c4e48f
Protection against a resize of size 0
10 years ago
scurest
de4705914d
Remove superfluous std::move in return std::move(local_var)
10 years ago
Yuri Kunde Schlesner
8e468474ab
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
b7b02d0177
common_funcs: Provide rotr and rotl for MSVC
10 years ago
Emmanuel Gil Peyrot
97e8c6c845
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
3d0953097f
fixup! fixup! Refactor input system
10 years ago
wwylele
c4d6e9b70d
fixup! Refactor input system
10 years ago
wwylele
c7bd2af530
implement circle pad modifier
10 years ago
wwylele
c1cd474866
Refactor input subsystem
10 years ago
Lioncash
fabe55dda3
swap: Get rid of pointer casting for swapping structs
These shouldn't haphazardly convert types
10 years ago
Lioncash
a7ce0e430b
swap: Get rid of undefined behavior in swapf and swapd
This isn't well-defined in C++.
10 years ago
Lioncash
d89a038465
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
638de286c2
AudioCore: SDL2 Sink
10 years ago
Emmanuel Gil Peyrot
c39a267974
VideoCore: Run include-what-you-use and fix most includes.
10 years ago
Yuri Kunde Schlesner
2396b01d5d
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
eaf9abfe8e
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
329e5e3437
assert: Allow UNREACHABLE_MSG to have just one argument
10 years ago
LittleWhite
c803d5a682
Protect use of std::is_trivially_copyable to compile with GCC 4.9
10 years ago
Sam Spilsbury
54a7cb0611
assert: Add _MSG variations for UNREACHABLE and UNIMPLEMENTED
10 years ago
wwylele
1656473b42
fix driver root identification on Windows
10 years ago
MerryMage
aecdc328a3
Thread: Make Barrier reusable
10 years ago
MerryMage
3b73cd6dd4
common/thread: Correct code style
10 years ago
bunnei
2d9c714baf
emitter: Add CALL that can be fixed up.
10 years ago
bunnei
98e70a3040
emitter: Support arbitrary FixupBranch targets.
10 years ago
Lioncash
9b38494bcd
file_util: In-class initialize data members
10 years ago
Lioncash
6c42d6bce9
file_util: const qualify IOFile's Tell and GetSize functions
10 years ago
Lioncash
dc210b6498
file_util: Don't expose IOFile internals through the API
10 years ago
Lioncash
d83fc0b4fd
file_util: Check for is_trivially_copyable
Also applies the template checks to ReadArray as well.
10 years ago
Lioncash
d1778d9220
file_util: Make IOFile data members private
10 years ago
MerryMage
1d61185821
FileUtil: Missing #include, Add const to IOFile methods
10 years ago
mailwl
3eb8b8eebb
cecd stub GetCecStateAbbreviated ( #1648 )
10 years ago
MerryMage
9f9c987924
Common: Remove Common::make_unique, use std::make_unique
10 years ago
exhalatio
ea94aea447
Dummy implementation dlp:SRVR Service.
10 years ago
LFsWang
26fb25e106
remove debug code
10 years ago
mailwl
21655cfb63
cecd stub GetCecInfoEventHandle, GetChangeStateEventHandle
10 years ago
LFsWang
04990e5614
fix unicode url problem on windows
10 years ago
LFsWang
9ad1f457de
Fix encode problem On Windows
10 years ago
mailwl
32a790dbdc
frd Initial stub some functions
10 years ago
wwylele
d62fccadc4
remove unnecessary const
10 years ago
wwylele
9fe0c0b898
implement accel and gyro backend
10 years ago
Lioncash
0c83775827
vector_math: Add missing member in Vec4's SetZero function
10 years ago