Tobias
515e023396
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
6c83024693
qt: Add filename and title id to window title while running
7 years ago
Zach Hilman
b56f075c4e
game_list: Add SD registration loading to game list
7 years ago
Zach Hilman
f7b0f9fde4
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
b8f5034fe1
filesystem: Add CreateFactories methods to fs
Allows frontend to create registration caches for use before a game has booted.
7 years ago
literalmente-game
9dcb7bded1
Swap "Plus" with "Minus" on the controller GUI ( #1150 )
* Swap "Plus" with "Minus" on the controller GUI
Major fix /s
7 years ago
tech4me
c6442d421a
config: Fixed icon size get set to 0
7 years ago
fearlessTobi
230bf50dda
Port #3902 from Citra: "Add restart hotkey & menu option"
7 years ago
fearlessTobi
51fbaae33b
Port #4056 from Citra: "Add Clear Recent Files menu action"
7 years ago
tech4me
5e70a75986
qt/main: Port part of citra( #3411 ), open savedata works
7 years ago
Lioncash
1d77a31e1d
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
fc6901c205
Port #3353 from Citra
7 years ago
Lioncash
9981f15c87
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
2ee02649df
Added check to see if ARB_texture_mirror_clamp_to_edge is supported
7 years ago
Lioncash
5b87516373
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
c28ea940a1
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
4423e138ea
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
aaed702790
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
8c33f20792
registration: Add support for force overwrite of installed
7 years ago
Zach Hilman
9bae8b24ae
game_list: Split game list scans to multiple functions
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
7 years ago
Zach Hilman
54fd907b2b
qt: Use custom RawCopy with progress bar for installs
7 years ago
Zach Hilman
8f96b88d0b
game_list: Populate control data from installed NAND
7 years ago
Zach Hilman
b0531d6ea0
file_sys: Comply to style guidelines
8 years ago
Zach Hilman
e9c7294bb9
qt: Add 'Install to NAND' option to menu
Prompts for title type on NCA files.
8 years ago
Zach Hilman
53ca6f8846
game_list: Modify game list to scan installed titles
8 years ago
Lioncash
53e86e35eb
core: Namespace EmuWindow
Gets the class out of the global namespace.
7 years ago
Lioncash
bc6245290b
qt/game_list: Resolve truncation warning within GameListItemPath's constructor
Silences a warning about truncating from size_t to u32
7 years ago
Lioncash
89aed5c0a2
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.
7 years ago
Lioncash
1eaa022169
qt/game_list: Remove redundant base class constructor from initializer list
This is called automatically anyways.
7 years ago
Zach Hilman
9946a70305
game_list: Reorder error checks
clang-format fix
8 years ago
Zach Hilman
da921ac3f3
loader: Add more descriptive errors
Full list of new errors and descriptions in core/loader/loader.h
8 years ago
bunnei
1a9b133715
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
8 years ago
Zach Hilman
e883f6faa8
vfs: Fix documentation
8 years ago
Zach Hilman
1e2232797a
vfs: Fix typo in VfsFilesystem docs
8 years ago
Zach Hilman
b43d01f09b
file_util: Use enum instead of bool for specifing path behavior
8 years ago
Zach Hilman
4cbef33915
core: Port core to VfsFilesystem for file access
8 years ago
Zach Hilman
0ddf082be2
configure_gamelist: Use explicit QVariant constructor
8 years ago
Lioncash
ee8808c6a7
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
d53b3a13b3
loader: Add icon and title support to XCI
8 years ago
Zach Hilman
469f7cefe4
Use const where applicable
8 years ago
Zach Hilman
f89988272e
Avoid parsing RomFS to directory in NCA
8 years ago
Hedges
3e421bb6fb
GDBStub works with both Unicorn and Dynarmic now ( #941 )
* GDBStub works with both Unicorn and Dynarmic now
* Tidy up
8 years ago
Lioncash
4de0824ad2
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
35f1943b0f
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
2d3b313879
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
c41c5028db
game_list: Join declarations and assignments in onTextChanged()
There's no need to keep these separate from one another.
8 years ago
Lioncash
9790f8c9ff
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
0c6d371dd0
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
ab6bc68bc1
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
56cde60393
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