summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/yuzu.cpp
AgeCommit message (Collapse)Author
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash
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.
2018-08-09loader: Add more descriptive errorsZach Hilman
Full list of new errors and descriptions in core/loader/loader.h
2018-08-08core: Port core to VfsFilesystem for file accessZach Hilman
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-04Merge pull request #849 from DarkLordZach/xcibunnei
XCI and Encrypted NCA Support
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-01video_core: Make global EmuWindow instance part of the base renderer classLioncash
Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
2018-08-01Fix merge conflicts with opus and update docsZach Hilman
2018-08-01Use more descriptive error codes and messagesZach Hilman
2018-08-01Make XCI comply to review and style guidelinesZach Hilman
2018-08-01Remove files that are not usedZach Hilman
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-14OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.bunnei
2018-07-12Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual ↵Tobias
error preventing SDL from working" (#637) * Port #3335 and #3373 from Citra * Fixup: Use the new logging placeholders
2018-07-12yuzu-cmd Apply the filter string from settingsJames Rowe
2018-07-02Fix build and address review feedbackbunnei
2018-07-02Add configurable logging backendsJames Rowe
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-05-23yuzu_cmd: Fix project for latest msvc.bunnei
2018-04-26frontends: Move logging macros over to new fmt-capable onesLioncash
2018-04-21Merge pull request #377 from adityaruplaha/sdl2-fullscreenbunnei
SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)
2018-04-21SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)adityaruplaha
2018-04-19Implement Pull #3528 from citra: use nvidia graphics automatically on ↵N00byKing
laptops with optimus (with AMD support) (#271) * Port 3528: use nvidia graphics automatically on laptops with optimus * Force dedicated AMD Card for switchable Graphics * Ran clang-format
2018-03-26yuzu.cpp: Update Link from citra to yuzuN00byKing
2018-01-16clang-formatMerryMage
2018-01-13Minor cleanupMerryMage
2018-01-12Get yuzu sdl to start compilingJames Rowe