aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-01-30service/nvflinger: Rename Get prefix on function to FindLioncash
This more accurately describes what the function is actually attempting to do (it's not a simple trivial getter).
2019-01-29nvflinger: Add the Null displayLioncash
In addition to the default, external, EDID, and internal displays, there's also a null display provided as well, which as the name suggests, does nothing but discard all commands given to it. This is provided for completeness.
2019-01-29nvflinger: Change log message in OpenDisplay to be a debug log instead of a ↵Lioncash
warning Opening a display isn't really a thing to warn about. It's an expected thing, so this can be a debug log. This also alters the string to indicate the display name better. Opening "Default" display reads a little nicer compared to Opening display Default.
2019-01-29nvflinger: Remove unnecessary header inclusionsLioncash
2019-01-29nvflinger: Mark locals const where applicableLioncash
Makes non-mutable state more explicit.
2019-01-29nvflinger: Use a std::array for the available displays instead of std::vectorLioncash
The built-in set of displays is fixed, so we can utilize an array instead of a vector here.
2019-01-29hle/ipc_helpers: Fix clang-format warningsLioncash
2019-01-29hle/ipc_helpers: Allow pushing signed valuesLioncash
This is kind of a large hole in the API, given we allow popping signed values. This fixes that.
2019-01-28service/pm: Implement SetMaintenanceBoot()Lioncash
This quite literally functions as a basic setter. No other error checking or anything (since there's nothing to really check against). With this, it completes the pm:bm interface in terms of functionality.
2019-01-28service/pm: Tidy up functionality related to SystemBootModeLioncash
Just minor tidying of interfaces.
2019-01-28service/vi: Remove stubbed notifier from SetLayerVisibilityLioncash
This appears to be a vestigial API function that's only kept around for compatibility's sake, given the function only returns a success error code and exits. Since that's the case, we can remove the stubbed notification from the log, since doing nothing is technically the correct behavior in this case.
2019-01-26kernel/svc: Log out uncaught C++ exceptions from svcBreakLioncash
Looking into the implementation of the C++ standard facilities that seem to be within all modules, it appears that they use 7 as a break reason to indicate an uncaught C++ exception. This was primarily found via the third last function called within Horizon's equivalent of libcxxabi's demangling_terminate_handler(), which passes the value 0x80000007 to svcBreak.
2019-01-23Merge pull request #2054 from bunnei/scope-context-refactorbunnei
frontend: Refactor ScopeAcquireWindowContext out of renderer_opengl.
2019-01-23frontend: Refactor ScopeAcquireWindowContext out of renderer_opengl.bunnei
2019-01-22citra_qt: Log settings on launchzhupengfei
2019-01-20Merge pull request #2025 from DarkLordZach/loader-banner-logobunnei
loader: Add getters for application banner and logo
2019-01-19Merge pull request #2031 from lioncash/privbunnei
yuzu/web_browser: Minor cleanup
2019-01-18file_sys/directory: Remove unused DirectoryBackend classLioncash
This isn't used at all, so we can just get rid of it.
2019-01-17core/frontend/applets/web_browser: Include missing headersLioncash
Gets rid of a few indirect inclusions.
2019-01-17core/frontend/applets/web_browser: Make OpenPage() non-constLioncash
This is a function that definitely doesn't always have a non-modifying behavior across all implementations, so this should be made non-const. This gets rid of the need to mark data members as mutable to work around the fact mutating data members needs to occur.
2019-01-15loader: Propagate NCA logo section to ReadBanner and ReadLogoZach Hilman
2019-01-15content_archive: Add getter for logo section of NCAZach Hilman
2019-01-10Merge pull request #1959 from DarkLordZach/custom-rtcbunnei
settings: Add support for setting the RTC manually
2019-01-10Merge pull request #1939 from DarkLordZach/web-appletbunnei
applets: Implement HLE web browser applet (LibAppletOff)
2019-01-07settings: Fix comment structureZach Hilman
2019-01-07settings: Use std::chrono::seconds instead of s64 for RTCZach Hilman
2019-01-07time: Use custom RTC settings if applicable for gameZach Hilman
2019-01-07core: Set custom RTC differential on game bootZach Hilman
2019-01-07settings: Add custom RTC settingsZach Hilman
Stored as signed seconds since epoch.
2019-01-07Merge pull request #1989 from lioncash/setbunnei
service/vi: Unstub IApplicationDisplayService's SetLayerScalingMode
2019-01-05Merge pull request #1988 from lioncash/resbunnei
service/vi: Correct reported dimensions from IApplicationDisplayService's GetDisplayResolution()
2019-01-04service/vi: Correct scaling mode conversionsLioncash
These values are not equivalent, based off RE. The internal value is put into a lookup table with the following values: [3, 0, 1, 2, 4] So the values absolutely do not map 1:1 like the comment was indicating.
2019-01-04service/vi: Factor out scaling mode conversions from the IPC function itselfLioncash
Avoids entangling the IPC buffer appending with the actual operation of converting the scaling values over. This also inserts the proper error handling for invalid scaling values.
2019-01-04service/vi: Unstub IApplicationDisplayService' SetLayerScalingMode()Lioncash
This appears to only check if the scaling mode can actually be handled, rather than actually setting the scaling mode for the layer. This implements the same error handling performed on the passed in values.
2019-01-04Merge pull request #1981 from ogniK5377/open-app-area-createbunnei
Return no application area when games try to open an application area
2019-01-04Merge pull request #1980 from ogniK5377/applet-msg-updatebunnei
Proper no message handling for AM::PopMessage
2019-01-04service/vi: Correct reported dimensions from IApplicationDisplayService's ↵Lioncash
GetDisplayResolution() Within the actual service, it makes no distinguishing between docked and undocked modes. This will always return the constants values reporting 1280x720 as the dimensions.
2019-01-04Removed pulse event typeDavid Marcec
Pulse is considered a hack and nothing should be using it. We should completely remove it
2019-01-03Merge pull request #1975 from lioncash/vibunnei
service/vi: Minor updates and corrections to the DisplayInfo struct
2019-01-04Return no application area when games try to open an application areaDavid Marcec
This will prompt CreateApplicationArea
2019-01-04Proper no message handling for AM::PopMessageDavid Marcec
When we have no messages, we should be returning an error code.
2019-01-03 Fixed botw deadlock(and possibly 30 fps games rendering too fast? needs ↵David Marcec
testing to confirm) Upon investigating the issue with #1878, I found that games are the ones who handle the vsync event resetting and not us.
2019-01-02Merge pull request #1976 from lioncash/displaybunnei
service/vi: Implement OpenDefaultDisplay in terms of OpenDisplay
2019-01-02service/vi: Implement SetDisplayEnabled()Lioncash
This IPC command is simply a stub inside the actual service itself, and just returns a successful error code regardless of input. This is likely only retained in the service interface to not break older code that relied upon it succeeding in some way.
2019-01-02Merge pull request #1977 from lioncash/vi-logbunnei
service/vi: Log more information where applicable
2019-01-02service/vi: Log more information where applicableLioncash
In many cases, we didn't bother to log out any of the popped data members. This logs them out to the console within the logging call to provide more contextual information.
2019-01-02service/vi: Implement OpenDefaultDisplay in terms of OpenDisplayLioncash
Internally within the vi services, this is essentially all that OpenDefaultDisplay does, so it's trivial to just do the same, and forward the default display string into the function.
2019-01-02service/vi: Correct initial width and height valuesLioncash
Based off RE, it appears that almost all display types seem to use 1920x1080 except for a few (null display, edid display).
2019-01-02service/vi: Document unknown DisplayInfo struct membersLioncash
It appears that the two members indicate whether a display has a bounded number of layers (and if set, the second member indicates the total number of layers).
2018-12-31core/kernel: Remove unnecessary inclusionsLioncash
Gets rid of a few unnecessary header dependencies in some source files.