Commit Graph

2703 Commits (338a0f01f2289c7c3837759dba1cfeaf6cb484cd)

Author SHA1 Message Date
bunnei a575399fbc Merge pull request #1055 from aroulin/shader-sge-sgei-slt
Shader: Implement SGE, SGEI and SLT in interpreter/JIT
10 years ago
Yuri Kunde Schlesner 08325e51e5 Merge pull request #1045 from LittleWhite-tb/qt-recent-files
Improvements for MRU
10 years ago
LittleWhite adee93d784 Improvements for MRU
avoid duplicates
always put the last file loaded to top of the list
10 years ago
aroulin f3e8f42718 Shader: implement SGE, SGEI and SLT in JIT 10 years ago
aroulin 863730f6a7 Shader: implement SGE, SGEI in interpreter 10 years ago
Yuri Kunde Schlesner a9fc659809 Merge pull request #996 from yuriks/texture-copy
GPU: Implement TextureCopy-mode display transfers
10 years ago
bunnei 3c5ff418ca Merge pull request #1047 from aroulin/shader-ex2-lg2
Shader: Save caller-saved registers in JIT before a CALL
10 years ago
aroulin 2f9eb98f03 Shader: Save caller-saved registers in JIT before a CALL 10 years ago
bunnei 026379ed55 Merge pull request #1037 from aroulin/shader-ex2-lg2
Shader: Implement EX2 and LG2 in interpreter/JIT
10 years ago
darkf e053d30bf7 Fix building under MinGW 10 years ago
bunnei 1f18c9f8dd Merge pull request #1034 from yuriks/rg8-textures
videocore: Added RG8 texture support
10 years ago
aroulin 7d3a6016d6 Shader: implement EX2 and LG2 in JIT 10 years ago
LittleWhite 9d6748fa94 Fix Linux GCC 4.9 build (complaining about undeclared memset) 10 years ago
aroulin 638e47c04d Shader: implement EX2 and LG2 in interpreter 10 years ago
Tony Wasserka 96820ae42a Build fix for Debug configurations. 10 years ago
Tony Wasserka f5144e6c10 Merge pull request #997 from Lectem/cmdlist_full_debug
citra-qt: Improve pica command list widget (add mask, fix some issues)
10 years ago
Tony Wasserka 32592364b8 citra-qt/VertexShader: Minor UI improvements.
Renamed "Iteration index" to the (hopefully) more intuitive "Cycle Index".
Added flexible space at the bottom of the widget.
10 years ago
Tony Wasserka 493c432d1e citra-qt: Fix comment style. 10 years ago
Tony Wasserka 33ba604fd9 Introduce a shader tracer to allow inspection of input/output values for each processed instruction. 10 years ago
Tony Wasserka 2e3601f415 Pica/DebugUtils: Include uniform information into shader dumps. 10 years ago
Tony Wasserka 4cb302c8ae citra-qt: Improve shader debugger.
Now supports dumping the current shader and recognizes a larger number of output semantics.
10 years ago
Tony Wasserka 6a5d560c4f citra-qt: Print the correct swizzle mask for SRC2 in the shader disassembler. 10 years ago
Yuri Kunde Schlesner 0aa443a871 Merge pull request #1033 from bbarenblat/master
Handle `FileType::CIA` in `switch` statements
10 years ago
Yuri Kunde Schlesner 7d0c17d2ae citra-qt: Give RG8 format a proper name in the texture viewer 10 years ago
Patrick Martin 5b65d95310 videocore: Added RG8 texture support 10 years ago
Yuri Kunde Schlesner 9ae5a09655 GPU: Implement TextureCopy-mode display transfers
Fixes glitchy garbage in Fire Emblem 3D scenes.
10 years ago
bunnei 882040fde7 Merge pull request #1017 from LittleWhite-tb/qt-recent-files
citra-qt: save path for recent files loaded
10 years ago
bunnei 5989a6ac57 Merge pull request #1032 from lioncash/swap
vfp: use std::swap where applicable
10 years ago
Yuri Kunde Schlesner 840b85690b Kernel: Remove unused legacy heap MapBlock_* functions 10 years ago
Yuri Kunde Schlesner 38bfbe1b2b APT: Adjust shared font hack so it works with the new linear heap code 10 years ago
Yuri Kunde Schlesner 14eca982f4 Kernel: Implement svcGetProcessInfo in a basic way
This also adds some basic memory usage accounting. These two types are
used by Super Smash Bros. during startup.
10 years ago
Yuri Kunde Schlesner 74d4bc0af1 Kernel: Add more infrastructure to support different memory layouts
This adds some structures necessary to support multiple memory regions
in the future. It also adds support for different system memory types
and the new linear heap mapping at 0x30000000.
10 years ago
Yuri Kunde Schlesner c39b52f974 HLE: Remove empty ConfigMem and SharedPage Shutdown functions 10 years ago
Yuri Kunde Schlesner 69c3021a8d Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h} 10 years ago
Yuri Kunde Schlesner e2c7954be5 Memory: Move address type conversion routines to memory.cpp/h
These helpers aren't really part of the kernel, and mem_map.cpp/h is
going to be moved there next.
10 years ago
Yuri Kunde Schlesner a12a30c9e0 Process: Store kernel compatibility version during loading 10 years ago
Yuri Kunde Schlesner cdeeecf080 Kernel: Properly implement ControlMemory FREE and COMMIT 10 years ago
Yuri Kunde Schlesner ccab02c723 Memory: Move PAGE_MASK and PAGE_BITS to memory.h 10 years ago
Yuri Kunde Schlesner 306408d174 VMManager: Introduce names for used ResultCodes 10 years ago
Yuri Kunde Schlesner b9a9ad9742 VMManager: Make LogLayout log level configurable as a parameter 10 years ago
Yuri Kunde Schlesner 785407d06f VMManager: Change block offsets to size_t 10 years ago
Lioncash 46b0277cbf vfp: use std::swap where applicable 10 years ago
Yuri Kunde Schlesner 2e5696dba4 Merge pull request #1031 from bbarenblat/master
Handle invalid `Log::Class`
10 years ago
bunnei db97090cad Shader: Use a POD struct for registers. 10 years ago
bunnei b39c053785 Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64. 10 years ago
bunnei 0ee00861f6 Common: Cleanup CPU capability detection code. 10 years ago
bunnei a1942238f5 Common: Move cpu_detect to x64 directory. 10 years ago
bunnei bd7e691f78 x64: Refactor to remove fake interfaces and general cleanups. 10 years ago
bunnei cfb354f11f JIT: Support negative address offsets. 10 years ago
bunnei 094ae6fadb Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
10 years ago
bunnei d67e2f78b7 Common: Added MurmurHash3 hash function for general-purpose use. 10 years ago
bunnei ddbeebb887 Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP. 10 years ago
bunnei 4d51792285 Common: Ported over Dolphin's code for x86 CPU capability detection. 10 years ago
bunnei 3f69c2039d Shader: Define a common interface for running vertex shader programs. 10 years ago
bunnei 18527b9e21 Shader: Move shader code to its own subdirectory, "shader". 10 years ago
bunnei 642b9b5030 GPU: Refactor "VertexShader" namespace to "Shader".
- Also renames "vertex_shader.*" to "shader_interpreter.*"
10 years ago
Benjamin Barenblat c0a87bc89f
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
10 years ago
Benjamin Barenblat cd8be1846b
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
10 years ago
Benjamin Barenblat 7cd5a653ff
Handle invalid `Log::Class`
Add a case of `Log::Class::Count` to the switch statement that
dispatches on `Log::Class`.  The case simply calls the `UNREACHABLE`
macro.
10 years ago
bunnei cebf245504 Merge pull request #1027 from lioncash/debugger
debugger: Add the ability to view VFP register contents
10 years ago
archshift d1ae413ffd Stop defining GCC always_inline attributes as __forceinline
__forceinline is a MSVC extension, which may confuse some people working on the codebase.
Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
10 years ago
bunnei 35f3360663 Merge pull request #893 from linkmauve/remove-uint._t-int._t
Replace standard uint*_t and int*_t with CommonTypes’ u* and s* types
10 years ago
Emmanuel Gil Peyrot 5115d0177e ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types. 10 years ago
bunnei 93f607f549 Merge pull request #1023 from yuriks/gl-state-bugs
OpenGL: Fix state tracking in situations with reused object handles
10 years ago
LittleWhite 66eabd326f Add menu and logic to save and load recently loaded files.
This menu is only for ROM and will not save symbols recently loaded.
When the menu is empty, the menu is disabled (greyed out)
10 years ago
aroulin 38c87733d9 arm_disasm: ARMv6 mul/div and abs media instructions
SMLAD, SMUAD, SMLSD, SMUSD, SMLALD, SMLSLD,
SMMLA, SMMUL, SMMLS
USAD8, USADA8
10 years ago
aroulin 4a1db13072 arm_disasm: ARMv6 parallel add/sub media instructions
{S, U, Q, UQ, SH, UH}{ADD16, ASX, SAX, SUB16, ADD8, SUB8}
10 years ago
aroulin 0be8e1bfb6 arm_disasm: ARMv6 reversal media instructions
REV, REV16, REVSH
Only their ARM encoding, Thumb encoding is still missing.
10 years ago
aroulin e4ff244288 arm_disasm: ARMv6 saturation media instructions
SSAT, SSAT16, USAT, USAT16
10 years ago
aroulin 47657a1817 arm_disasm: ARMv6 packing and sign-extend media instructions
PKH, SEL
SXTAB, SXTAB16, SXTB, SXTB16, SXTH, SXTAH
UXTAB, UXTAB16, UXTB, UXTB16, UXTH, UXTAH
10 years ago
Lioncash f48a89af8b Merge pull request #1026 from lioncash/disasm
arm_disasm: Remove unnecessary code
10 years ago
Lioncash 132961b14f registers: Support viewing VFP registers 10 years ago
Lioncash 3b457a5876 arm_interface: Implement interface for retrieving VFP registers 10 years ago
Lioncash 5855cf087d registers: Fix a typo with CPSR's name 10 years ago
Lioncash 59d5358068 arm_disasm: Remove unnecessary code
This part of disassembly only determines the opcode, there's no need for offset calculation here.
10 years ago
aroulin 3425cfe54a Disassembler: ARMv6K REX instructions 10 years ago
aroulin 5d81a2fd48 Disassembler: ARMv6K hint instructions 10 years ago
Yuri Kunde Schlesner 254582aa35 OpenGL: Fix state tracking in situations with reused object handles
If an OpenGL object is created, bound to a binding using the state
tracker, and then destroyed, a newly created object can be assigned the
same numeric handle by OpenGL. However, even though it is a new object,
and thus needs to be bound to the binding again, the state tracker
compared the current and previous handles and concluded that no change
needed to be made, leading to failure to bind objects in certain cases.

This manifested as broken text in VVVVVV, which this commit fixes along
with similar texturing problems in other games.
10 years ago
Yuri Kunde Schlesner ff68db61bc OpenGL: Remove redundant texture.enable_2d field from OpenGLState
All uses of this field where it's false can just set the texture id to 0
instead.
10 years ago
bunnei b6c241d667 Merge pull request #1018 from bbarenblat/master
Handle invalid `Log::Level::Count`
10 years ago
Yuri Kunde Schlesner a96502edd3 Videocore: Implement simple vertex caching
This gives a ~2/3 reduction in the amount of vertices that need to be
processed through the vertex loaders and the vertex shader, yielding a
good speedup.
10 years ago
Benjamin Barenblat 0298b7bedd
Use UNREACHABLE macro for impossible cases in previous commit
Use the UNREACHABLE macro instead of `ASSERT(false, ...);`.
10 years ago
Yuri Kunde Schlesner 48393d452c Common: Work around bug in MSVC2015 standard library
The char16_t/char32_t implementations aren't present in the library and
cause linker errors. This is a known issue that wasn't fixed in VS2015
RTM.
10 years ago
Benjamin Barenblat 9ff23da255
Handle invalid `Log::Level::Count`
Add a case of `Log::Level::Count` to all switch statements that
dispatch on `Log::Level`.  The case simply asserts `false` and notes
the invalid log level.
10 years ago
LittleWhite cb405ad1b4 Save the path leading where the last file have been loaded
I use two variables to save the path for the ROMs and the symbols.
Use of QSettings to avoid new member variable to the class.
Global settings of QSettings is done in main.
10 years ago
bunnei ce65925bc3 Merge pull request #1008 from lioncash/pc
dyncom: Handle the case where PC is the source register for STR/VSTM/VLDM
10 years ago
bunnei bb7eb5c574 Merge pull request #1006 from yuriks/fb-commit-profile
OpenGL: Add a profiler category measuring framebuffer readback
10 years ago
bunnei a5f77c9886 Merge pull request #1014 from lioncash/unused-warn
core: Eliminate some unused variable warnings
10 years ago
bunnei 9221e6e67a Merge pull request #1011 from lioncash/initializer
citra-qt: Adjust initializer list order
10 years ago
bunnei 31c1bb901b Merge pull request #963 from yuriks/gpu-fixes
Misc. GPU vertex loading fixes
10 years ago
Yuri Kunde Schlesner ea1b04f5da Merge pull request #1013 from lioncash/unused
dyncom: Remove an unused variable
10 years ago
Lioncash 75631b2a9f core: Eliminate some unused variable warnings 10 years ago
Lioncash 46663d657f dyncom: Remove an unused variable
This was used prior to InterpreterTranslate existing.
10 years ago
bunnei d3eb63a773 Merge pull request #1012 from lioncash/prototype
core: Fix missing prototype warnings
10 years ago
Lioncash 12a9e8502c core: Fix missing prototype warnings 10 years ago
Lioncash 5df3afd522 citra-qt: Adjust initializer list order
Silences a warning.
10 years ago
Lioncash 13ddf60f60 citra-qt: Pass string by const reference 10 years ago
Yuri Kunde Schlesner 8165de065b Merge pull request #1009 from lioncash/table
am_net: Update function table data
10 years ago
Lioncash 6b25e93119 am_net: Add missing function to the function table 10 years ago
Lioncash bed3618480 am_net: Add correct function name to the function table 10 years ago
bunnei e5606d9d6e Merge pull request #982 from Subv/home
Service/APT: Return proper parameters in GetLockHandle.
10 years ago
Lioncash 2e420aba3c dyncom: Handle the case where PC is the source register for STR/VSTM/VLDM 10 years ago
Lioncash 2182adff9e dyncom: Handle left-operand PC correctly for data-processing ops
This is considered deprecated in the ARM manual (using PC as an operand),
however, this is still able to be executed on the MPCore (which I'm quite
sure would be rare to begin with).
10 years ago
bunnei 4ccc171db4 Merge pull request #899 from zawata/Winsock-Deprecation
SOC:U : Fix WinSock function deprecation
10 years ago
Yuri Kunde Schlesner 428154da45 OpenGL: Add a profiler category measuring framebuffer readback 10 years ago
LittleWhite 5e1c32048f Update Start menu text to match with the real state of the emulator.
Move start menu text update in ShutdownGame as adviced by neobrain
10 years ago
Trung Do cc98866b25 Settings: Fix saving wrong values for input configuration 10 years ago
bunnei fe15cf0019 Merge pull request #1003 from lioncash/armcruft
dyncom: Minor cleanups.
10 years ago
Tony Wasserka 62adb4ee7b Merge pull request #873 from jroweboy/input_array
Move input values into an array.
10 years ago
Lioncash 9be4ef3879 dyncom: Remove an unnecessary typedef 10 years ago
Lioncash 89540ea761 dyncom: Use enum class for instruction decoding results 10 years ago
James Rowe 1bc7829ee9 Move input values into an array 10 years ago
Lioncash 7e4fb4db19 dyncom: Remove code duplication regarding thumb instructions 10 years ago
Lioncash a507ea23c1 dyncom: Migrate exclusive memory access control into armstate 10 years ago
Lioncash db4e99c186 dyncom: Remove duplicated typedef and extern
These are already present in arm_dyncom_dec.h.
10 years ago
bunnei 62caa89f48 Merge pull request #1001 from lioncash/arm
dyncom: Centralize state-related functions.
10 years ago
bunnei e1a3fed6ff Merge pull request #991 from yuriks/globjects
OpenGL: Make OpenGL object resource wrappers fully inline
10 years ago
Lioncash 816b1ca776 dyncom: Use std::array for register arrays 10 years ago
Lioncash 0ecc6e2f04 dyncom: Use ARMul_State as an object
Gets rid of C-like parameter passing.
10 years ago
bunnei cb76453ec4 Merge pull request #992 from yuriks/hot-path-debug
VideoCore: #ifdef out some debugging routines
10 years ago
Lectem facb2555a9 citra-qt/debug_utils: Use lock_guard everywhere
unique_lock were being used as lock_guards.
Also replaced manual lock/unlock by lock_guard for harmonization.
10 years ago
Lectem b335cce22e citra-qt/command list: Do not recreate a widget after each selection
Recreating / replacing a widget is slow since it triggers a layout pass.
10 years ago
Lectem e663751f8b citra-qt/command list: Add mask column 10 years ago
Lectem cd06f5cedb citra-qt/command list: monospace font on windows 10 years ago
Yuri Kunde Schlesner 1762267de4 OpenGL: Make OpenGL object resource wrappers fully inline
The functions are so simple that having them separate only bloats the
code and hinders optimization.
10 years ago
Tony Wasserka 72237a9305 Merge pull request #987 from yuriks/regnames
Videocore: Don't reinitialize register name map on every query.
10 years ago
Yuri Kunde Schlesner e130dac7de Videocore: Don't reinitialize register name map on every query
This greatly speeds up the command list debug widget.
10 years ago
Yuri Kunde Schlesner a99fb226fe Merge pull request #995 from linkmauve/remove-dead-option
Remove dead gpu_refresh_rate option from the default ini file
10 years ago
Emmanuel Gil Peyrot 168997df46 Citra: Remove dead gpu_refresh_rate option from the default ini file. 10 years ago
Tony Wasserka 7a132e2a77 Merge pull request #986 from Lectem/better_widgets
citra-qt: Improve pica command list widget.
10 years ago
Yuri Kunde Schlesner 4909a1486e Videocore: Simplify variables in vertex shader interpreter
Simplifies the code and gives a tiny speed-up.
10 years ago
Yuri Kunde Schlesner 877d2a0e48 Videocore: Replace std::stack in shader interpreter with static_vector
Shaves off 1/3rd of the vertex shader time in Fire Emblem
10 years ago
Yuri Kunde Schlesner 13347997ba VideoCore: #ifdef out some debugging routines
Some disabled debugging functionality was being called from rendering
routines in VideoCore. Although disabled, many of them still allocated
memory or did some extra work that was enough to show up in a profiler.
Gives a slight (~2ms) speedup.
10 years ago
Lioncash 03213f893e dyncom: Remove unnecessary initialization code.
Targeting ARM version variants was only a thing on armemu.

The reset routine also does basically the same thing as NewState.
10 years ago
Lioncash 3257d797e1 dyncom: Remove unnecessary abort-related cruft
Both the MPCore and the ARM9 have the same data abort model (base restored), so differentiating isn't necessary.
10 years ago
Lioncash dfb424b6d1 dyncom: Rename armdefs.h to armstate.h 10 years ago
Lioncash 4bb1a5ca47 dyncom: Get rid of skyeye typedefs 10 years ago
Lioncash 0191c26521 dyncom: Move helper functions to their own header 10 years ago
Lioncash 6b73e4566b dyncom: Move arminit.cpp and armsupp.cpp into skyeye_common 10 years ago
Yuri Kunde Schlesner 453764aefc Merge pull request #989 from lioncash/extern
armdefs: Remove unnecessary extern keywords
10 years ago
Lioncash f7ba683dc3 armdefs: Remove unnecessary extern keywords 10 years ago
Lioncash 43d799fd9d loader: Remove unnecessary else usages 10 years ago
Lectem e286cfbadf citra-qt/command list: Enable uniform row heights and automatically resize columns.
Uniform row heights enables some optimisations for a smoother scrolling.
Resize columns to content so that we don't have to do it manually
10 years ago
Lectem 129e3dedc3 citra-qt/command list: Split register and value columns.
Also removed the extra spaces for each cell
10 years ago
Yuri Kunde Schlesner 24d7c05c8d Merge pull request #888 from zawata/Warning-Fixes-2
Core\HLE : Fix Warning
10 years ago
Yuri Kunde Schlesner 00529c71d4 Address error that remained in last merge 10 years ago
Yuri Kunde Schlesner 9a0f9f12cd Merge pull request #892 from zawata/another-warning-fixes
Yet More Warning Fixes
10 years ago
Yuri Kunde Schlesner 43e1f56ff5 Merge pull request #981 from Subv/checkboxes
Qt/GPU Breakpoints: Changed the widget to have a checkbox next to each bp type
10 years ago
Subv 599744921d Service/APT: Fixed a regression, PreloadLibraryApplet should also start an applet when called. 10 years ago
Subv ce31184557 Service/APT: Return proper parameters in GetLockHandle.
Documented some APT functions
This allows applets to boot.
10 years ago
Subv 23fd13dd64 Qt/GPU Breakpoints: Changed the widget so that we don't have to select and click the Enable button when enabling/disabling a breakpoint, now it is done via a checkbox next to the breakpoint's name. 10 years ago
Yuri Kunde Schlesner a989522384 Merge pull request #983 from yuriks/null-memory-fill
GSP: Don't try to write memory fill registers if start address is 0
10 years ago
Yuri Kunde Schlesner 3b61dd97e0 GSP: Don't try to write memory fill registers if start address is 0
Verified to be what GSP does via REing. Fixes invalid virt->phys
translation error spam in some games.
10 years ago
Tony Wasserka 1760eb5ca6 Merge pull request #980 from Subv/more_breakpoints
Qt/GPU Breakpoints: Added three more breakpoint types.
10 years ago
Yuri Kunde Schlesner 1fe9b0b82e VideoCore: Fix values of unset components in input attribute arrays
If an input attribute array had a field with less than 4 components, the
remaining components were left unset if not specified by a default
vertex attribute. If neither mechanism would set a component, it would
assume a garbage value.

It has been verified that the hardware behavior is to instead to set the
missing components from the fixed default of (0 0 0 1). The default
vertex attribute values aren't used at all if a vertex array is
specified for that attribute.

Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch
when selecting a character in Cubic Ninja, as well as eliminating the
unset-W hack which was required for Ocarina of Time to not have
garbled triangles.

This change has been tested against hardware.
10 years ago
Yuri Kunde Schlesner 4e09202226 VideoCore: Saturate vertex colors before interpolating
During testing, it was discovered that hardware does not interpolate
colors output by the vertex shader as-is. Rather, it drops the sign and
saturates the value to 1.0. This is done before interpolation, such that
(e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the
shader had output the values 1.0 and 0.5 instead, with the interpolated
value never crossing 0.0.

This change has been tested against hardware.
10 years ago
Subv 6c0ea5f5e8 Qt/GPU Breakpoints: Added three more breakpoint types:
* IncomingDisplayTransfer: Triggered just before a display transfer is performed.
* GSPCommandProcessed: Triggered right after a GSP command is processed.
* BufferSwapped: Triggered when the frames flip
10 years ago
bunnei cea45af64d Merge pull request #977 from yuriks/glenable-tex2d
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
10 years ago
Subv 7b4961e968 Rasterizer/GL: Set the border color when binding a texture. 10 years ago
Yuri Kunde Schlesner e5c4fe0098 GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
In OpenGL 3, texturing is always enabled, and this call is invalid.
While it produced no effect in the rest of the execution, it wouldn't
have the intended effect of disabling texturing for that unit. Instead
bind a null texture to the unit.
10 years ago
bunnei 3a5352baf8 Merge pull request #968 from Subv/texture_filtering
GPU: Added registers for min and mag texture filters
10 years ago
bunnei 4a9e97d67d Merge pull request #962 from Subv/am_app
Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
10 years ago
Subv 009e34f08a GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. 10 years ago
bunnei d0b45d45b5 Merge pull request #966 from Subv/log
Services/Logging: Log more useful information when some operations fail.
10 years ago
Subv f5bff67b0b Services/Logging: Log more useful information when some operations fail.
Namely OpenFileDirectly, OpenDirectory and OpenArchive
10 years ago
bunnei dcc8f1bef2 Merge pull request #957 from Subv/hwtest_crash
Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
10 years ago
Tony Wasserka aa6dfdb827 Merge pull request #929 from neobrain/geoshader_definitions
Pica/Shader: Add geometry shader definitions.
10 years ago
Lioncash 043b2f882a Merge pull request #964 from lioncash/svc
dyncom: Pass SVC immediates directly.
10 years ago
Yuri Kunde Schlesner a48aa4f924 Resolve issue accidentally left unaddressed in PR #930 10 years ago
Lioncash c2689b8c2c dyncom: Pass SVC immediates directly.
Previously it would just re-read the already decoded instruction and extract the immediate value.
10 years ago
Sebastian Valle baba0efcd1 Merge pull request #959 from Subv/home
Services/CFG: Added some missing functions to cfg:s
10 years ago
Subv 13f93a0188 Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
Named the service functions in am:app as per 3dbrew.

This fixes an illegal read loop in Steel Diver
10 years ago
Yuri Kunde Schlesner 8833852acd Merge pull request #930 from neobrain/copypaste_commandlist
citra-qt: Add support for copying the command list contents to clipboard.
10 years ago
Subv 38a7f1b727 Services/CFG: Added some missing functions to cfg:s 10 years ago
Subv 275aaeef9c Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
10 years ago
bunnei cd2bb2dc69 Merge pull request #939 from Subv/queryprocmem
Kernel/SVC: Implemented svcQueryProcessMemory
10 years ago
bunnei 863a963911 Merge pull request #951 from Subv/bit5
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
10 years ago
bunnei 9a3b21bcf9 Merge pull request #944 from Subv/spam
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
10 years ago
bunnei 21a696abde Merge pull request #946 from archshift/update-frdu
Add more frd:u unknown service commands from 3dbrew
10 years ago
zawata 395e63d5aa SOC:U : Update deprecated function gethostbyname() to getaddrinfo() 10 years ago
Subv 63dbff9b1f GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
It tells the GPU to not swizzle/de-swizzle the input during the transfer.
10 years ago
Lioncash a2f0a3d019 dyncom: Properly retrieve the PC value in BX if used. 10 years ago
Yuri Kunde Schlesner ae985bf500 Pica: Correct switched S/T texture wrapping registers
This was found and hwtested by Lectem
10 years ago
Yuri Kunde Schlesner 5a75cf8fd2 Pica: Fix DP3 instruction, which wasn't assigning to the w component 10 years ago
archshift 84a88005e2 Change trace/unimplemented service call logs to use hex
Changes the log to use hex in the parameter list instead of decimal.
10 years ago
archshift d1e6afaba1 Add more frd:u unknown service commands from 3dbrew 10 years ago
Subv a694caeee0 GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist. 10 years ago
Subv 3600c32483 Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
Also added its name to the texture viewer widget
10 years ago
zawata 6933a50aeb Vertex Shader : Undo casting 10 years ago
zawata 04756bdaf6 Video_Core : Type fixes 10 years ago
zawata 972dccc3f6 Core : Change variable type
and fix various warnings
10 years ago
zawata f7050021de Video_Core: Finally fix pesky warning 10 years ago
zawata c66b5ca3d9 Citra_QT : Another Conversion Warning Fix 10 years ago
zawata 017437e8d7 Video_Core : Change Tabs to Spaces
This really should be universalized, I keep getting errors creating
commits because lines I've edited use tabs instead of spaces(and yes I
did read the contributing guide and i know they are supposed to be
spaces)
10 years ago
zawata 716120da3d Video_Core : Fix Conversion Warnings 10 years ago
zawata 1be1ff23a9 Core : Fix Conversion Warnings 10 years ago
zawata 6e9a6ca6bf Common : Fix Conversion Warnings 10 years ago
zawata 3c802b06e9 Citra_QT : Fix Conversion Warnings 10 years ago
Yuri Kunde Schlesner 71be5853e0 Merge pull request #941 from citra-emu/armv6-thumb-mov
Dyncom: Support for a new ARMv6 Thumb MOV encoding
10 years ago
Emmanuel Gil Peyrot fcdc8118eb Common: Remove the unused and commented GetThemeDir prototype from FileUtil. 10 years ago
Yuri Kunde Schlesner 13286903e6 Dyncom: Support for a missing ARMv6 Thumb MOV encoding 10 years ago
Subv 83fa3f977d Kernel/SVC: Implemented svcQueryProcessMemory 10 years ago
Yuri Kunde Schlesner 41513cfb0c Merge pull request #938 from Subv/querymem
Kernel/SVC: Implemented svcQueryMemory.
10 years ago
Subv 9e2962081a Kernel/SVC: Implemented svcQueryMemory. 10 years ago
bunnei 32be6a4553 Merge pull request #937 from yuriks/codeset-leak
Ensure all kernel objects are released during shutdown
10 years ago
zawata f723a498e7 Core\HLE : Fix Warning
"signed/unsigned mismatch"
10 years ago
Yuri Kunde Schlesner dc39d06950 Ensure all kernel objects are released during shutdown
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
10 years ago
Lioncash 23dbbb786a arm_dyncom_interpreter: Simplify assignment in SMLAW
Also a side-benefit of not having implementation-defined behavior.
10 years ago
bunnei 946f0ee2f4 Merge pull request #918 from yuriks/romfs
Do not load entire RomFS to memory, read from the file as needed instead (rebased)
10 years ago
Tony Wasserka 7fd03750bd citra-qt: Add support for copying the command list contents to clipboard. 10 years ago
Tony Wasserka 33568494af Pica/Shader: Add geometry shader definitions. 10 years ago
Tony Wasserka 0ea2319f3c Merge pull request #931 from neobrain/move_default_attr_handler
Pica/CommandProcessor: Move default attribute setup to the proper position.
10 years ago
Tony Wasserka aeec12dc33 Pica/CommandProcessor: Move default attribute setup to the proper position. 10 years ago
Tony Wasserka d2c3ecc8d8 Pica/Clipper: Output proper number of triangles in debugging logs. 10 years ago
Lectem d08e9b29e2 VideoCore: Implement the DOT3_RGB combiner 10 years ago
archshift 2501f111a6 Merge pull request #904 from aroulin/y2r-narrowing-warning
Y2R: Fix narrowing warning
10 years ago
Yuri Kunde Schlesner 62c2a262b2 Loader: Fix variable type and remove unused variable 10 years ago
Yuri Kunde Schlesner a1f08788d9 Archive: Correct a few incorrect types in function signatures
Buffer lengths should be size_t, and file offsets should be u64.
10 years ago
Yuri Kunde Schlesner 2d7299a86f Loader: Remove unnecessary pointer indirection to IOFile 10 years ago
condut c385b7767d FS: Stream RomFS from file instead of loading all of it to memory 10 years ago
Yuri Kunde Schlesner 1fc0347d27 Merge pull request #924 from aroulin/qt-disassembly-step
Qt: Fix disassembly widget stepping
10 years ago
Tony Wasserka 5e79706db2 Pica: Implement stencil testing. 10 years ago
Tony Wasserka 302e9a20f3 citra-qt: Add depth formats to framebuffer viewing widget. 10 years ago
Tony Wasserka 88df3fbf27 citra-qt: Properly specify the framebuffer format. 10 years ago
Tony Wasserka 29abb11e8f CiTrace: Clean up initialization method. 10 years ago
Tony Wasserka dc8295298e CiTrace: Record LCD registers. Cleanup recording code. 10 years ago
Tony Wasserka fd62580985 CiTrace: Record default vertex attributes. 10 years ago
Tony Wasserka 0799b40caa Clean up command_processor.cpp. 10 years ago
Tony Wasserka 01a526e1c4 citra-qt: Properly disable the CiTrace widget upon starting/stopping emulation. 10 years ago
Tony Wasserka 902fa4da52 Add CiTrace recording support.
This is exposed in the GUI as a new "CiTrace Recording" widget.

Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
10 years ago
Tony Wasserka 93d66475d4 GPU: Be robust against nullptr addresses; properly reset busy bits in the trigger registers. 10 years ago
Tony Wasserka 279e19732c FileUtil: Add a WriteObject method for writing a single, POD-type object. 10 years ago
Tony Wasserka 256bdfb579 HW: Fix a stupid issue which led to unknown register reads/writes. 10 years ago
aroulin 7ccce98389 Qt: Fix disassembly widget stepping 10 years ago
Yuri Kunde Schlesner c4e11519af Merge pull request #859 from Apology11/master
build with visual studio 2015
10 years ago
bunnei b6719ec922 Merge pull request #921 from linkmauve/fix-applet
Fix applet includes using iwyu
10 years ago
Yuri Kunde Schlesner d4f35fd989 Kernel: Add CodeSet case to Object::IsWaitable 10 years ago
Emmanuel Gil Peyrot fe909b3b5a Core: Fix applet includes using iwyu. 10 years ago
Greg Wicks 9930ef72dd Implement new argument parsing using getopt and add the corresponding library to externals 10 years ago
Apology11 af18572491 don´t define snprintf on Visual Studio 2015
Visual Studio 2015 defines this in stdio now
10 years ago
aroulin 1f125a04c3 Y2R: Fix narrowing warning 10 years ago
bunnei f4e1d8ea36 Merge pull request #823 from Subv/applets_drawing
Library applet support (swkbd for now)
10 years ago
Subv 725d5eea78 Applets: Reworked how the Applet update event is handled.
Applets are now cleaned up in AppletUpdateEvent after calling their respective Update method.
10 years ago
Yuri Kunde Schlesner 5c5cf2f8e0 Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
10 years ago
Yuri Kunde Schlesner 51820691e7 Memory: Fix unmapping of pages 10 years ago
Yuri Kunde Schlesner 34f5f77507 Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun 10 years ago
Yuri Kunde Schlesner fdbf410bd7 Loader: Make 3dsx loader logs a bit less confusing 10 years ago
Yuri Kunde Schlesner d9556912b4 Kernel: Remove unused member from Event 10 years ago
Subv 621ee10eae Applets: Add infrastructure to allow custom drawing and input handling in Applets. 10 years ago
Subv 2a6ebadf66 HLE/APT: Initial HLE support for applets.
Currently only the SWKBD is emulated, and there's currently no way to ask the user for input, so it always returns "Subv" as the text.
10 years ago
Yuri Kunde Schlesner b0d72e3de1 Merge pull request #914 from yuriks/bitfield-mask
Common: Fix mask generation in BitField
10 years ago
Tony Wasserka e110e656b9 Merge pull request #910 from linkmauve/install
Tell CMake to install the compiled binaries on Linux.
10 years ago
Tony Wasserka ae7120f5d9 Merge pull request #907 from Lectem/clamp_to_border
Add GL_CLAMP_TO_BORDER support.
10 years ago
Lioncash e5d90b5797 Common: Remove thunk.h
This isn't used, and there's no implementations of the member functions.
10 years ago
Yuri Kunde Schlesner 867c28ae03 Merge pull request #876 from linkmauve/include-cleanups
Cleanup includes, mostly in common
10 years ago
Yuri Kunde Schlesner d5b5280501 Common: Remove redundant masking in BitField
For the signed case, the shifts already remove the rest of the value, so
ANDing by the mask is redundant.
10 years ago
Yuri Kunde Schlesner d7f9529bdd Common: Fix mask generation in BitField
Fixes #913
10 years ago
Lectem 58d1c6398e Added GL_CLAMP_TO_BORDER support 10 years ago
Emmanuel Gil Peyrot 7c51bc44aa Citra, CitraQt: Tell cmake to install the compiled binaries.
This will help packaging tremendously, as a `make DESTDIR=… install` will now
put every file at their place (on Linux and related).
10 years ago
aroulin 769407e4fa Loader: Remove log line causing warning 10 years ago
bunnei 0ef3f12c71 Merge pull request #797 from linkmauve/blended-downscaling
Implement blended downscaling for display transfers
10 years ago
bunnei c19f9945b7 Merge pull request #885 from Subv/ipc_headers
Services/SOC: Added command headers to some of the soc commands.
10 years ago
Lioncash e3e8ad48c1 vfp: Change return type of VFPInit from unsigned int to void. 10 years ago
Lioncash 32a6379bc8 vfp: Handle accesses to FPINST/FPINST2 system registers
Also has a side-benefit of correcting access to the FPEXC register.
10 years ago
Emmanuel Gil Peyrot 641e78bccf GPU: Implement blended downscaling for display transfers. 10 years ago
Emmanuel Gil Peyrot 8ee814ec27 GPU: Use shifts instead of multiplications to calculate the actual size of the output. 10 years ago
Emmanuel Gil Peyrot ab61e67c09 Common: Remove unused type unions breaking aliasing rules in horrible ways. 10 years ago
Emmanuel Gil Peyrot 4964a359e1 Core: Cleanup hw includes. 10 years ago
Emmanuel Gil Peyrot 7b746914b9 Core: Cleanup soc:U includes. 10 years ago
Emmanuel Gil Peyrot f48b28ad27 Core, VideoCore: Replace or fix exit() calls. 10 years ago
Emmanuel Gil Peyrot e5fcabdd69 Core: Cleanup file_sys includes. 10 years ago
Emmanuel Gil Peyrot aea15f5c73 Core: Cleanup core includes. 10 years ago
Emmanuel Gil Peyrot 45c4781544 CitraQt: Cleanup includes. 10 years ago
Emmanuel Gil Peyrot 22ae87530b Common: Cleanup emu_window includes. 10 years ago
Emmanuel Gil Peyrot 1775adc34c Common: Remove unused ROUND_UP_POW2 macro. 10 years ago
Emmanuel Gil Peyrot 596b7c4f63 Common: Cleanup key_map includes. 10 years ago
Emmanuel Gil Peyrot 2d044a67c9 Common: Cleanup memory and misc includes. 10 years ago
Emmanuel Gil Peyrot 3a771a13dc Common: Cleanup profiler includes. 10 years ago
Emmanuel Gil Peyrot 2a36edfd86 Common: Cleanup thread includes. 10 years ago
Emmanuel Gil Peyrot 13e6876463 Common: Fix string_util includes. 10 years ago
Emmanuel Gil Peyrot 8cf9eb7f43 Common: Fix FileUtil includes, and everything relying on those. 10 years ago
Emmanuel Gil Peyrot 79aa1b0808 Citra: Fix the includes a bit, thanks to include-what-you-use. 10 years ago
Emmanuel Gil Peyrot ce0cfd62d9 Common: Remove now-unused EMU_PLATFORM define, fixes issue #373. 10 years ago
Emmanuel Gil Peyrot 82718c4a41 Common: Remove unused SSE version checking and a GCC macro. 10 years ago
Emmanuel Gil Peyrot c345247431 Services: Use the standard _WIN32 define in soc:U instead of our own EMU_PLATFORM. 10 years ago
Emmanuel Gil Peyrot 0aade9ad63 Common: Remove unused fifo_queue.h. 10 years ago
zawata 92bfec0566 VideoCore: Fix floating point warning 10 years ago
Subv bd336cfdce Services/SOC: Added command headers to some of the soc commands. 10 years ago
Yuri Kunde Schlesner 81488d7a6a Add helpers to create IPC command buffer headers and descriptors 10 years ago
Yuri Kunde Schlesner dc09a2ecb5 Merge pull request #860 from yuriks/y2r-color
Color support for Y2R
10 years ago
Yuri Kunde Schlesner 3e6663da43 Y2R: Rework conversion process, enabling support for all formats 10 years ago
bunnei 9850f98339 Merge pull request #855 from purpasmart96/service_rearrangment
Services: Continue separation of services into their own folders
10 years ago
Yuri Kunde Schlesner 29d2b70ea4 Y2R: Re-organize how params are stored. Support SetConversionParams 10 years ago
Greg Wicks e93056ae77 Make the call stack entries not editable 10 years ago
bunnei 2e16edbc56 Merge pull request #849 from bunnei/fix-waitsynch-2
Fix svcWaitSynch to correctly acquire wait objects
10 years ago
Lioncash a5a6306f59 Merge pull request #864 from linkmauve/gl-info
Log the GL driver’s vendor and renderer
10 years ago
bunnei 71e8822d23 kernel: Fix svcWaitSynch to always acquire requested wait objects. 10 years ago
Lioncash f1ff0fbf07 Merge pull request #866 from lioncash/typo
hw: Fix mismatched Write call
10 years ago
Lioncash bbe4430922 hw: Fix mismatched Write call 10 years ago
Emmanuel Gil Peyrot 94fc644430 VideoCore: Log the GL driver’s vendor and renderer. 10 years ago
Yuri Kunde Schlesner 9b7d85a4f5 video_core: add extra braces around initializer
Trivial change and fixes several warnings in the clang build.
10 years ago
Lioncash 71858fc7cc vfp: Handle accesses to the VFP media feature registers
These are able to be accessed in any privilege mode.
10 years ago
Lioncash e817224f89 vfp: Implement VMOVBCR/VMOVBRC 10 years ago
purpasmart96 7933dbe6a0 Services: Continue separation of services into their own folders 10 years ago
bunnei ca5d1545c3 Merge pull request #835 from tfarley/hw-renderer-fixes
HW Renderer Screen Fixes
10 years ago
Clienthax 8515b23bec Robocopy doesn't like trailing slashes 10 years ago
tfarley 26bc816d7a Renderer formatting edits 10 years ago
tfarley 66b0d799ee Render-to-texture flush, interval math fix 10 years ago
tfarley 5025b35563 Liberal texture unbind (clout menu) 10 years ago
tfarley fa2c92a3ac Depth format fix (crush3d intro/black screens) 10 years ago
tfarley d42275f11c Implemented glColorMask 10 years ago
Lioncash 04f204ed00 arm_dyncom_thumb: Fix handling of writeback for thumb LDMIA 10 years ago
Subv 66c1db7288 ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.
Organize the ExtSaveData folders as they are stored in the console.
10 years ago
Lioncash 1974da272d Merge pull request #838 from lioncash/thumb
arm_dyncom_thumb: Implement missing instructions.
10 years ago
Lioncash c00781a908 arm_dyncom_thumb: Fix encoding of BKPT's immediate 10 years ago
Lioncash 85b1dddda1 arm_dyncom_thumb: Implement CPS and SETEND 10 years ago
Lioncash 7caef19c89 arm_dyncom_thumb: Implement SXTH, SXTB, UXTH, and UXTB. 10 years ago
Lioncash b64dea80ce arm_dyncom_thumb: Implement REV, REV16, and REVSH. 10 years ago
archshift 0414ad20cb Merge pull request #811 from archshift/commonify
Commonify video_core utility headers
10 years ago
bunnei 833936fc64 Merge pull request #832 from yuriks/refresh-rate-option
Remove gpu_refresh_rate configuration option
10 years ago
bunnei 33b9abb91e Pica: Use zero for the SecondaryFragmentColor source.
- This is a workaround until we support fragment lighting.
10 years ago
bunnei dcbc653b90 rasterizer: Remove unnecessary 'using' for BlendEquation. 10 years ago
bunnei e6ace38815 Pica: Implement LogicOp function. 10 years ago
bunnei 3b5ff61201 rasterizer: Implement AddSigned combiner function for alpha channel. 10 years ago
bunnei 1574c44586 vertex_shader: Use address offset on src2 in inverted mode. 10 years ago
bunnei 02c9fe202c Pica: Implement command buffer execution registers. 10 years ago
bunnei 4ac6c1a3b5 vertex_shader: Implement SLT/SLTI instructions. 10 years ago
bunnei 875bd29766 vertex_shader: Implement MIN instruction. 10 years ago
archshift 76690392bf Move video_core/color.h to common/color.h 10 years ago
archshift 5df2d1b5f7 Move video_core/math.h to common/vector_math.h
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
10 years ago
bunnei 595fe49a8f Merge pull request #830 from SeannyM/qt-noborder
QT: Remove border around widgets
10 years ago
Yuri Kunde Schlesner 8a04c65e20 Merge pull request #810 from yuriks/memmap
Kernel: Add VMManager to manage process address spaces
10 years ago
Yuri Kunde Schlesner d65b42a69a Remove gpu_refresh_rate configuration option
Changing it makes emulation inherently inaccurate. It also had a wrong
default value (30, whereas the real system has a refresh rate of 60 Hz)
which, even if changed, would continue to be used unless people manually
removed it from their config files.
10 years ago
Emmanuel Gil Peyrot b1503b2020 Remove every trailing whitespace from the project (but externals). 10 years ago
Yuri Kunde Schlesner fb597b6d68 Merge pull request #817 from linkmauve/citra.ico
Move src/assets/citra.ico and doc-icon.png to dist
10 years ago
Sean Maas cd99944b1d QT: Remove border around widgets 10 years ago
Lioncash a3cad6c332 hid: Get rid of undefined behavior
Modifying a variable twice across a sequence point.
10 years ago
Yuri Kunde Schlesner 88365a23e7 Memmap: Remove unused global pointers to memory areas 10 years ago
Yuri Kunde Schlesner 0a60aa75c2 Kernel: Add VMManager to manage process address spaces
This enables more dynamic management of the process address space,
compared to just directly configuring the page table for major areas.

This will serve as the foundation upon which the rest of the Kernel
memory management functions will be built.
10 years ago
Yuri Kunde Schlesner ad883db7a9 Merge pull request #826 from lioncash/tables
arm_dyncom_thumb: Merge STR/LDR table subsets.
10 years ago
Lioncash 0265d950e6 arm_dyncom_thumb: Merge STR/LDR table subsets. 10 years ago
Lioncash 0ff414f561 Merge pull request #825 from lioncash/dync
dyncom: Minor cleanup.
10 years ago
Lioncash f62ab75c67 arm_dyncom_interpreter: Remove unused variable
Thum decoding directly checks if the thumb bit is set instead of using a temporary.
10 years ago
bunnei 4d93c30c97 Merge pull request #821 from Subv/ImportDisplayCaptureInfo
Service/GSP: Implemented ImportDisplayCaptureInfo.
10 years ago
Subv fa397494b0 Service/GSP: Implemented ImportDisplayCaptureInfo. 10 years ago
Subv 732839b1f4 Core/SVC: Map the shared memory created in CreateMemoryBlock to the specified address.
This SharedMemory can be passed to service functions (Which should map the memory into their own address space).
10 years ago
Emmanuel Gil Peyrot 87d9df89bb Assets: Move citra.ico from src/assets to dist. 10 years ago
Lioncash 8c1ab1c2c4 arm_dyncom_interpreter: Remove unused macro 10 years ago
Lioncash 6278937a28 dyncom: Get rid of armemu.h 10 years ago
Lioncash 513f6a277e Merge pull request #805 from lioncash/warn
video_core/core: Get rid of more warnings.
10 years ago
Tony Wasserka 5f193bbf06 Merge pull request #806 from yuriks/annoying-qt-warning
Qt: Silence a bogus warning printed when using the debug runtime
10 years ago
Yuri Kunde Schlesner c9244a03c7 Qt: Silence a bogus warning printed when using the debug runtime
The Qt debug runtime prints a bogus warning on the console if you
haven't called makeCurrent since the last time you called swapBuffers.
This presumably means something if you're using QGLWidget the "regular"
way, but in our multi-threaded use case is harmless since we never call
doneCurrent in the rendering thread.
10 years ago
Lioncash 951353558e gl_state: Remove unnecessary const specifier on Apply 10 years ago
Lioncash ebca3a4902 y2r_u: Remove unused variable in StartConversion 10 years ago
Lioncash dc587fa295 video_core/utils: Remove unused variables in GetMortonOffset 10 years ago
Lioncash 1c21354159 Merge pull request #804 from lioncash/dclean
dyncom: Remove unused variables and parameters.
10 years ago
Lioncash 92fd2753c5 dyncom: Remove unused cpu parameter from decode_thumb_instr 10 years ago
Lioncash 097d8282a6 dyncom: remove load_r15 from arm_inst
It's entirely unused. Also allows getting rid of more clunky macros.
10 years ago
bunnei a7946f9027 Merge pull request #776 from bunnei/pica-state
GPU: Consolidate Pica state
10 years ago
Lioncash 8617938441 dyncom: Remove unnecessary parameter for load/store operations 10 years ago
bunnei 1b42d55a9d Pica: Create 'State' structure and move state memory there. 10 years ago
bunnei 41531eeb32 Merge pull request #801 from purpasmart96/hid_stubs
HID: Stub DisableAccelerometer and DisableGyroscopeLow
10 years ago
Lioncash 23d5df9d9c gl_state: Fix a condition typo in Apply 10 years ago
Lioncash 932aeb333f Merge pull request #802 from bunnei/vfp-trace-log
VFP: Log as trace to get rid of spamming.
10 years ago
bunnei 3a348a90fd VFP: Log as trace to get rid of spamming. 10 years ago
purpasmart96 0c62b7b106 HID: Stub DisableAccelerometer and DisableGyroscopeLow 10 years ago
tfarley 62668688e1 Flush for y2r (moflex) 10 years ago
tfarley 16fbba3c2a MakeCurrent race condition fix 10 years ago
tfarley 05dc633a8c OpenGL renderer 10 years ago
tfarley 6d995b1ff6 INI hw/sw renderer toggle 10 years ago
Yuri Kunde Schlesner eca2b71fa8 Merge pull request #798 from yuriks/y2r-bw
Service::Y2R: Support for grayscale decoding of specific formats
10 years ago
Yuri Kunde Schlesner 9108482888 Service::Y2R: Support for grayscale decoding of specific formats
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R.
Currently only the Y (luma) channel is used, so the results don't
contain color. This will be added in a later PR at some point.

This is enough to get all currently know Moflex videos to decode. (Some
don't display on-screen due to seemingly unrelated reasons.)

Thanks to @archshift for doing the initial implementation which I
cleaned up and then fixed the 8x8 block mode.
10 years ago
Lioncash 572c91a024 dyncom: Eliminate clang warnings
Gets rid of a whole load of missing brace initialization warnings.
10 years ago
Emmanuel Gil Peyrot b8f93e6b18 Kernel: Fix a warning introduced with ResourceLimit, and remove the fallback code to prevent it from happening again. 10 years ago
bunnei 25f14e76f1 y2r_u: Stub StartConversion to prevent moflex games from hanging. 10 years ago
bunnei 0b7d2941cf Kernel: Move reschedules from SVCs to actual mechanisms that reschedule. 10 years ago
bunnei 1c3cda5d7e Merge pull request #783 from jroweboy/cond-wait
Use condition var to properly pause the CPU thread
10 years ago
bunnei 859707642e Merge pull request #766 from purpasmart96/cfg_service_update
CFG: Update the cfg service to be like other integrated services
10 years ago
James Rowe a406207cd8 Use condition var to properly pause the CPU thread
Adds support for threaded pausing so citra doesn't spin wait on pause
10 years ago
bunnei f0365f28c2 Merge pull request #772 from lioncash/warn
core/video_core: Fix a few warnings when compiling on MSVC.
10 years ago
bunnei 1b47da4115 Merge pull request #785 from archshift/break
Implement svcBreak
10 years ago
Subv 24d9416930 GPU/DefaultAttributes: Clear up a comment in command_processor 10 years ago
Subv 658c44af5c GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set.
closes #735
10 years ago
archshift 11057488f9 Implement svcBreak 10 years ago
bunnei 9fb9750411 Merge pull request #781 from archshift/delete
Delete unused hle/coprocessor.cpp
10 years ago
bunnei 42c6590349 Merge pull request #778 from purpasmart96/apt_assert_fix
APT/FS: Remove asserts that were causing false positives in games
10 years ago
archshift 4b300ba763 Delete unused hle/coprocessor.cpp 10 years ago
Yuri Kunde Schlesner ba2fe7f795 Merge pull request #758 from yuriks/sync-logging
Common: Remove async logging
10 years ago
purpasmart96 dd9aed9ea9 CFG: Update the cfg service to be like other integrated services 10 years ago
Yuri Kunde Schlesner 7dbc27ff57 Remove unused concurrent_ring_buffer.h 10 years ago
purpasmart96 0fd727f3ad APT/FS: Remove asserts that were causing false positives 10 years ago
Yuri Kunde Schlesner 12f6216741 Merge pull request #774 from lioncash/decodings
dyncom: Add ARMv6K NOP and hint instructions to the interpreter.
10 years ago
bunnei 6abed88092 Merge pull request #770 from lioncash/dyncom_clean
dyncom: Minor cleanup.
10 years ago
bunnei ef8d0e9823 Merge pull request #761 from Subv/resource_limits
Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
10 years ago
Yuri Kunde Schlesner a188e0fa57 Merge pull request #675 from jroweboy/windows-build-fixes
Windows build fixes
10 years ago
Subv d3634d4bf4 Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues.

Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
10 years ago
Yuri Kunde Schlesner dd4430609a Memory: Use a table based lookup scheme to read from memory regions 10 years ago
Yuri Kunde Schlesner 52158c1b8d Memory: Read SharedPage directly from Memory::Read 10 years ago
Yuri Kunde Schlesner ec514b16a6 Memory: Read ConfigMem directly from Memory::Read 10 years ago
Yuri Kunde Schlesner 7ada357b2d Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
10 years ago