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
Emmanuel Gil Peyrot
19c2a96ab0
FileSys: Add static asserts for the Directory struct, and fix its fields position.
11 years ago
Emmanuel Gil Peyrot
0be5c03176
FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.
Kernel: Return an invalid handle to OpenFile when it failed to open.
11 years ago
Emmanuel Gil Peyrot
23c2fbfc7a
FileSys/Kernel: Implement SetSize service call for File objects.
11 years ago
Emmanuel Gil Peyrot
d34673990b
FileSys: Add forgotten docstrings.
11 years ago
purpasmart96
1d0ac47832
Added some more names to the function table
Added "SetApplicationCpuTimeLimit" and "GetApplicationCpuTimeLimit" to apt.cpp
11 years ago
purpasmart96
7d6f7684e1
added "StoreDataCache" to the function table
seems simple enough
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
3a570a9fee
Kernel: Implement the Close command for Archive, File and Directory.
11 years ago
Emmanuel Gil Peyrot
99bfa4ae1f
FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.
11 years ago
Emmanuel Gil Peyrot
c197ce2180
Kernel: Add a Directory object and a getter for it from an Archive object.
11 years ago
Emmanuel Gil Peyrot
c14e5713f5
Core: Add a method to obtain a Directory from an Archive.
11 years ago
Emmanuel Gil Peyrot
33b0d1081e
Core: Add a Directory object, with both a stub and a passthrough implementations.
11 years ago
Emmanuel Gil Peyrot
19d04f3abe
Kernel: Add a File object and a getter for it from an Archive object.
11 years ago
Emmanuel Gil Peyrot
e73caaefe5
Core: Add a passthrough backend for the filesystem, exposed as SDMC.
11 years ago
Emmanuel Gil Peyrot
9251f7e2f8
Core: Add a new File class, obtainable from an Archive, and a stub implementation.
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
Lioncash
741321ac24
Core: Get rid of unnecessary switch statement in Kernel
11 years ago
Lioncash
6cc7c73b80
Core: Fix warnings in gpu.cpp
11 years ago
Lioncash
093d6fbcdc
Core: Replace a sprintf in core_timing with StringFromFormat
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
Kevin Hartman
bb7ddede15
Created structure for PAD.
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
6e606c515f
core: Prune redundant includes
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
81baa477b5
renderer_opengl.cpp: improved alignment for readability
11 years ago
archshift
1c02c03e32
Dead code removal: video_core.cpp, load_symbol_map.cpp
11 years ago
archshift
9c0efdb75b
bootmanager::EmuThread: fixed initialization order
11 years ago
archshift
0167e9140e
utils: cleaned up DumpTGA, removing redundancies
11 years ago
Lioncash
403c84cdab
core: Make the ARM disassembler use std::string internally
11 years ago
Lioncash
f68776ce13
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
11 years ago
Lioncash
26cd696843
ncch: inline declare some variables in LZSS_Decompress
11 years ago
Lioncash
d30747efea
core: Pass string by reference in FetchFromPortName and DeleteService
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
Yuri Kunde Schlesner
478289140d
Replace GLEW with a glLoadGen loader.
This should fix the GL loading errors that occur in some drivers due to
the use of deprecated functions by GLEW. Side benefits are more accurate
auto-completion (deprecated function and symbols don't exist) and faster
pointer loading (less entrypoints to load). In addition it removes an
external library depency, simplifying the build system a bit and
eliminating one set of binary libraries for Windows.
12 years ago
bunnei
aabfcfe6ad
GPU: Improve frame synchronization, increases compatibility with both homebrew and retail applications.
11 years ago
bunnei
eb36d3fc90
Core: Refactor core to use only one function for execution.
Core: Cleaned up comment to be more readable.
Citra: Changed loop to be more readable.
11 years ago