Tobias
165c23c848
Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup" ( #1142 )
* Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup"
* Fix compilation
7 years ago
Zach Hilman
67fa51ea2f
qt: Add filename and title id to window title while running
7 years ago
Zach Hilman
60b7a3b904
game_list: Add SD registration loading to game list
7 years ago
Zach Hilman
4112dd6b4e
qt: Make default row data title name and title id
Helps with installed games by making the title not a hexadecimal id string, instead the name.
7 years ago
Zach Hilman
ef3768f323
filesystem: Add CreateFactories methods to fs
Allows frontend to create registration caches for use before a game has booted.
7 years ago
literalmente-game
74e08b4800
Swap "Plus" with "Minus" on the controller GUI ( #1150 )
* Swap "Plus" with "Minus" on the controller GUI
Major fix /s
7 years ago
tech4me
8ce02d85e9
config: Fixed icon size get set to 0
7 years ago
fearlessTobi
f2d5b100c2
Port #3902 from Citra: "Add restart hotkey & menu option"
7 years ago
fearlessTobi
6923ecee3a
Port #4056 from Citra: "Add Clear Recent Files menu action"
7 years ago
tech4me
cc71832b19
qt/main: Port part of citra( #3411 ), open savedata works
7 years ago
Lioncash
477eee3993
service/filesystem: Use forward declarations where applicable
Avoids the need to rebuild multiple source files if the filesystem code
headers change.
This also gets rid of a few instances of indirect inclusions being
relied upon
7 years ago
fearlessTobi
ba8ff096fd
Port #3353 from Citra
7 years ago
Lioncash
ffd60ee476
game_list: Avoid uninitialized variables when retrieving program ID
Avoids potentially leaving this variable uninitialized based off the
loader failing to retrieve the ID value.
7 years ago
David Marcec
706fc5d2d6
Added check to see if ARB_texture_mirror_clamp_to_edge is supported
7 years ago
Lioncash
9791f0d590
qt/main: Unindent code in OnMenuInstallToNAND()
We can change this into an early-return if the filename is empty.
There's no need to include all of the code within the if statement.
7 years ago
Lioncash
2a3d7128d1
qt/main: Make installation dialog text within OnMenuInstallToNAND() translatable
This is user-facing text, so it should be marked as translatable by Qt.
7 years ago
Lioncash
aac807fd3a
qt/main: Get rid of compilation warnings
Gets rid of truncation warnings about conversion to int. While we're at
it, we can also de-hardcode the buffer size being used.
7 years ago
Lioncash
87d8a9c986
loader: Make ResultStatus directly compatible with fmt
We can make the enum class type compatible with fmt by providing an
overload of operator<<.
While we're at it, perform proper bounds checking. If something exceeds
the array, it should be a hard fail, because it's, without a doubt, a
programmer error in this case.
7 years ago
Zach Hilman
6b76b77400
registration: Add support for force overwrite of installed
8 years ago
Zach Hilman
fdf27bf390
game_list: Split game list scans to multiple functions
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
8 years ago
Zach Hilman
f78a6e752f
qt: Use custom RawCopy with progress bar for installs
8 years ago
Zach Hilman
10812f8407
game_list: Populate control data from installed NAND
8 years ago
Zach Hilman
167bfddafa
file_sys: Comply to style guidelines
8 years ago
Zach Hilman
bfb945c243
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
8 years ago
Zach Hilman
b67e751ccb
game_list: Modify game list to scan installed titles
8 years ago
Lioncash
0a93b45b6a
core: Namespace EmuWindow
Gets the class out of the global namespace.
8 years ago
Lioncash
8eb97706b8
qt/game_list: Resolve truncation warning within GameListItemPath's constructor
Silences a warning about truncating from size_t to u32
8 years ago
Lioncash
aaf671a309
gt/game_list: Use std::array in GameListItemPath's data() function
We don't need to use a heap-allocated std::vector here, given we
explicitly know the bounds.
8 years ago
Lioncash
be53097577
qt/game_list: Remove redundant base class constructor from initializer list
This is called automatically anyways.
8 years ago
Zach Hilman
8069fbd37f
game_list: Reorder error checks
clang-format fix
8 years ago
Zach Hilman
ec3bef7b4c
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
8 years ago
bunnei
3a67876252
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
8 years ago
Zach Hilman
668458525e
vfs: Fix documentation
8 years ago
Zach Hilman
94cf327e77
vfs: Fix typo in VfsFilesystem docs
8 years ago
Zach Hilman
2b6128fe0b
file_util: Use enum instead of bool for specifing path behavior
8 years ago
Zach Hilman
4b471f0554
core: Port core to VfsFilesystem for file access
8 years ago
Zach Hilman
1abfd4166e
configure_gamelist: Use explicit QVariant constructor
8 years ago
Lioncash
c8f6754417
qt/hotkey: Get rid of global hotkey map instance
Instead, we make a proper registry class and house it within the main
window, then pass it to whatever needs access to the loaded hotkeys.
This way, we avoid a global variable, and don't need to initialize a
std::map instance before the program can do anything.
8 years ago
Zach Hilman
91cfe70301
loader: Add icon and title support to XCI
8 years ago
Zach Hilman
5927cf0e17
Use const where applicable
8 years ago
Zach Hilman
9e88f03e75
Avoid parsing RomFS to directory in NCA
8 years ago
Hedges
e2b74f6354
GDBStub works with both Unicorn and Dynarmic now ( #941 )
* GDBStub works with both Unicorn and Dynarmic now
* Tidy up
8 years ago
Lioncash
96b6ad11c1
qt/main: Avoid sign conversions in UpdateRecentFiles()
This was intermixing signed and unsigned values when they could all just
be signed.
8 years ago
Lioncash
10d693b9c2
game_list: Remove unnecessary conversion to std::string in ValidateEntry()
We can just use the file interfaces that Qt provides to prevent needing
to convert to std::string.
8 years ago
Lioncash
a5ac53dd4c
game_list: Use QString::fromStdString() where applicable instead of c_str()
The codec used by Qt for const char* and std::string don't necessarily
have to be the same depending on locale. Therefore, we should be using
the correct functions to do the conversions.
8 years ago
Lioncash
251e92513a
game_list: Join declarations and assignments in onTextChanged()
There's no need to keep these separate from one another.
8 years ago
Lioncash
cf983888cc
qt/main: Collapse if statement in UpdateRecentFiles()
Given the function accepts a boolean, we don't need to use an if
statement here and repeat ourselves.
8 years ago
Lioncash
2b2dc00bfd
qt/main: Better file-existence checking within OnMenuRecentFile() and UpdateUITheme()
In OnMenuRecentFile() we don't need to construct a QFileInfo instance
just to check if a file exists, we can just use the static member
function to do that (which Qt's documentation also notes as quicker than
constructing an instance).
In UpdateUITheme(), we just want to try and open the file and check the
success of that operation. Technically speaking, between the existence
check and the open call, the file can be deleted or moved, but still
appear to succeed in code. i.e.
1. Existence check -> Returns true
2. File is moved/deleted
3. Open is called, the return value of which isn't checked
4. Nonsense behavior
This way we combine the existence check and the open into one.
8 years ago
Lioncash
d33f641912
qt: Don't show error dialog when canceling the Load Folder dialog
Previously, when canceling out of the Load Folder dialog, a user would
get an error dialog about the selected folder not containing a main
file, however, by canceling out of the dialog, no selection was actually
made.
8 years ago
Lioncash
9764b4ec0e
qt/game_list_p: Remove redundant base class constructor invocations
These occur automatically without the need to call them. While we're at
it, also std::move the QString instance into its member variable.
8 years ago