summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-11Kernel: Capture SharedMemory attributes at creation, not when mappingYuri Kunde Schlesner7-28/+51
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner2-4/+2
When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
2015-05-09Loader: Add missing includeYuri Kunde Schlesner1-0/+1
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner7-19/+28
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner7-49/+43
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-05-09Memory: Sort memory region variables by VAddrYuri Kunde Schlesner2-10/+10
2015-05-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner10-132/+132
2015-05-09Loader: Remove .bin file supportYuri Kunde Schlesner3-21/+1
It is of very limited practical utility currently, and will soon be impossible to support due to more accurate memory map emulation.
2015-05-09Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner3-5/+1
2015-05-09Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner6-10/+10
2015-05-09Process: Add more documentation to the class membersYuri Kunde Schlesner1-2/+16
2015-05-09Process: Use BitField to store process flagsYuri Kunde Schlesner2-16/+24
2015-05-09Loader/NCCH: Fix formatting of bracesYuri Kunde Schlesner1-9/+9
2015-05-09Process: Support parsing of exheader kernel capsYuri Kunde Schlesner6-4/+77
2015-05-09Common: Add BIT macroYuri Kunde Schlesner1-0/+2
2015-05-09Kernel: Remove g_program_idYuri Kunde Schlesner6-21/+3
This has been obsoleted by the field in Process.
2015-05-09Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner13-48/+191
2015-05-08Common: Add StringFromFixedZeroTerminatedBufferYuri Kunde Schlesner2-0/+14
2015-05-08Core: Fix sorting in CMakeFiles.txtYuri Kunde Schlesner1-21/+21
2015-05-08Remove unnecessary dyncom header filesLioncash6-82/+2
2015-05-08dyncom: Remove an unnecessary variable in the interpreterLioncash1-19/+17
All this was doing was needlessly aliasing a variable.
2015-05-08Profiler: Fix off-by-one error when computing average.Yuri Kunde Schlesner1-2/+1
2015-05-08Common: Remove mem_arena.cpp/hYuri Kunde Schlesner5-560/+31
It is superfluous for Citra. (It's only really necessary if you're doing JIT. We were using it but not taking any advantage from it.) This should make 32-bit builds work again.
2015-05-07Common: Remove hash.cpp/hYuri Kunde Schlesner3-543/+0
Currently unused and the code quality is pretty questionable.
2015-05-07Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner5-17/+11
The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b.
2015-05-07string_util: Get rid of UriDecode/UriEncodeLioncash2-127/+0
2015-05-07Fix printf format warningYuri Kunde Schlesner1-1/+1
2015-05-07Common: Remove common.hYuri Kunde Schlesner102-96/+146
2015-05-07Common: Move alignment macros to common_funcs.hYuri Kunde Schlesner2-21/+21
2015-05-07Common: Move SSE detection ifdefs to platform.hYuri Kunde Schlesner3-16/+21
2015-05-07Common: Remove more unused compatibility definesYuri Kunde Schlesner1-45/+0
2015-05-07Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner2-26/+26
2015-05-07Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner7-90/+12
2015-05-07Clean-up includesYuri Kunde Schlesner8-9/+14
2015-05-07FileSys: De-inline Path membersYuri Kunde Schlesner4-125/+139
2015-05-07FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner7-20/+35
2015-05-07Move typedefs from kernel.h to more appropriate placesYuri Kunde Schlesner3-10/+13
2015-05-07Common: Move NonCopyable to common_types.hYuri Kunde Schlesner2-10/+10
2015-05-07Common: Use C++11 deleted functions for NonCopyableYuri Kunde Schlesner1-8/+6
2015-05-07Common: Remove unused enumsYuri Kunde Schlesner1-17/+0
2015-05-07GPU: Implemented default vertex shader attributes.Subv4-68/+137
Fixes some games crashing.
2015-05-06HLE: Clean up SVC dispatch mechanismYuri Kunde Schlesner5-79/+40
2015-05-04Core: Remove some unused functions and typesYuri Kunde Schlesner2-32/+1
2015-05-02EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo4-8/+23
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
2015-05-02Qt: Shutdown game on emulator close event.bunnei1-0/+2
2015-05-02Qt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash).bunnei2-1/+4
2015-05-02Qt: Fixed a bug in shutdown procedure, various cleanups.bunnei7-35/+26
2015-05-02Qt: Clear registers widget on shutdown.bunnei3-8/+31
2015-05-02Qt: Use signals for emu_thread start/stop and fix disasm widget.bunnei6-79/+138
2015-05-02Qt: Restructured to remove unnecessary shutdown event and various cleanups.bunnei4-90/+40
2015-05-02Qt: Fix loading a new game without stopping emulation.bunnei2-15/+25
2015-05-02CoreTiming: Initialize static variables at bootup.bunnei1-0/+10
2015-05-02HLE: Properly initialize and shutdown remaining modules.bunnei5-3/+20
2015-05-02Dyncom: Move cream cache to ARMul_State.bunnei4-25/+18
2015-05-02Kernel: Properly initialize and shutdown all modules.bunnei4-9/+20
2015-05-02HW: Properly initialize and shutdown all modules.bunnei3-3/+8
2015-05-02Services: Initialize all state variables at bootup.bunnei8-22/+38
2015-05-02Memory: Properly cleanup & shutdown.bunnei3-38/+60
2015-05-02Qt: Create emu thread on bootup, kill it on shutdown.bunnei3-31/+44
2015-05-02EmuThread: Remove unused filename attribute.bunnei3-18/+2
2015-05-02Qt: Move EmuThread ownership from render window to main window.bunnei6-69/+57
2015-04-29VideoCore: Remove a superfluous auto variable declaration in debug_utils.Emmanuel Gil Peyrot1-1/+1
2015-04-29ConfigMem: Remove duplicate retail bitpurpasmart961-1/+0
2015-04-28Services/Loader: Use more sensible log formats for certain functionspurpasmart964-22/+59
along with more info being logged.
2015-04-25ptm_sysm: Add static specifier to IsLegacyPowerOffLioncash1-1/+1
2015-04-20dyncom: Remove more unused/unnecessary codeLioncash5-95/+1
Gets rid of a sizeable amount of stuff in armdefs.
2015-04-18dyncom: Remove unused/unnecessary VFP cruftLioncash7-823/+15
2015-04-16Common: thread.h cleanupsYuri Kunde Schlesner1-65/+16
The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style.
2015-04-14Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.Emmanuel Gil Peyrot2-39/+36
2015-04-14citra-qt: Use std::abs() to get the right absolute function for s64.Emmanuel Gil Peyrot1-1/+2
2015-04-14Kernel: Use the correct format string for u64 hex.Emmanuel Gil Peyrot1-1/+1
2015-04-14Headers: Add some forgotten overrides, thanks clang!Emmanuel Gil Peyrot4-4/+4
2015-04-14De-inline functions from Interface, removing them from service.hYuri Kunde Schlesner3-50/+49
This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
2015-04-10SVC: Assert on unsupported CreateThread processor ID.bunnei1-3/+9
2015-04-10Silence some -Wsign-compare warnings.Rohit Nirmal2-4/+4
2015-04-10SVC: Update various SVCs to cause a reschedule.bunnei2-6/+22
- CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress
2015-04-10Kernel: Implemented priority inheritance for mutexes.bunnei3-4/+22
2015-04-10Thread: Implement priority boost for starved threads.bunnei5-28/+92
SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority.
2015-04-10SVC: Reschedule on svcCreateThread.bunnei1-0/+2
2015-04-10APT: (Subv) Fix bug where start event was being incorrectly signaled.bunnei1-6/+7
2015-04-10Kernel: Fixed default thread priority.bunnei2-5/+4
2015-04-09Initialize base address to 0x0Gareth Higgins1-0/+1
2015-04-07gpu: Fix a missing format specifierLioncash1-1/+1
2015-04-07dyncom: Remove unnecessary enum and typedefLioncash5-50/+30
Also fixes descriptions in the process.
2015-04-06vfp: Make the FPSID values match the MPCoreLioncash1-7/+7
2015-04-06vfp: Get rid of the VFP_OFFSET macroLioncash5-64/+69
2015-04-06core: Migrate 3DS-specific CP15 register setting into InitLioncash2-8/+5
2015-04-06arm_interface: Support retrieval/storage to CP15 registersLioncash3-0/+25
2015-04-06Move CP15 enum definitions into their own enum.Lioncash5-168/+163
Also gets rid of preprocessor mumbo-jumbo
2015-04-06dyncom: Properly return the value of the user RO thread registerLioncash2-4/+10
2015-04-06dyncom: Set CP15 reset values on initializationLioncash1-0/+60
2015-04-06dyncom: Suppress uninitialized variable warningsLioncash1-4/+4
The switch cases will always be hit, but this makes compilers stop complaining.
2015-04-06Clean-up mem_map constants and fix framebuffer translation errorsYuri Kunde Schlesner3-27/+27
2015-04-05Changed occurences of colour to color for consistencyGareth Higgins2-4/+4
2015-04-04IR: Move The IR services to their own folder and implement "GetHandles"purpasmart9611-59/+188
2015-04-04Allow the user to set the background clear color during emulationarchshift5-1/+32
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
2015-04-03Services: Stubs and minor changespurpasmart9620-68/+409
2015-04-02dyncom: Move CP15 register writing into its own function.Lioncash4-88/+265
Also implements writing to the rest of the ARM11 MPCore CP15 register set.
2015-04-02dyncom: Move CP15 register reading into its own function.Lioncash4-49/+253
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
2015-03-30disassembler: Get rid of a const_castLioncash3-8/+5
2015-03-30callstack: Remove unnecessary disassembler instantiationLioncash1-2/+1
Decode is a static function. There's no need to allocate a disassembler instance.
2015-03-26dyncom: Migrate InAPrivilegedMode to armsuppLioncash3-4/+7
It's a generic helper function, so it should be here anyway.
2015-03-24dyncom: Implement SRSLioncash1-1/+32
2015-03-24dyncom: Implement RFELioncash1-1/+30
2015-03-24dyncom: Remove unused/unnecessary macros and macro constantsLioncash2-39/+2
2015-03-24ConfigMem: Set the app memory to be 96MB instead of the default 64MBpurpasmart961-2/+2
2015-03-21armmmu: Remove unnecessary enum valuesLioncash1-30/+20
We don't need to care about XScale or Intel specific ARM stuff.
2015-03-19Service/FS: Document and log some unknown values.Subv1-1/+26
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
2015-03-17dyncom: Make Load/Store instructions support big endianLioncash7-82/+205
2015-03-17HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow alongpurpasmart964-12/+72
with a stub for GetSoundVolume
2015-03-16GPU/DisplayTransfer: Made the scaling bits a single 2bit valueSubv2-6/+17
Rephrased some comments.
2015-03-16arm_interface: Get rid of GetTicks.Lioncash5-17/+6
Removes a TODO.
2015-03-16VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.Emmanuel Gil Peyrot2-4/+4
2015-03-16Common: Fix logic for setting EMU_DATA_DIR.Emmanuel Gil Peyrot1-6/+5
2015-03-16Common: Make a #else more apparent.Emmanuel Gil Peyrot1-5/+1
2015-03-15NCCH: Minor updates to the ncch headerpurpasmart961-11/+14
2015-03-15dyncom: Implement SETENDLioncash1-1/+35
2015-03-14GPU: Implemented the flip_data (bit 0) bit in display transfers.Subv2-6/+15
2015-03-14EmuWindow: Fixed a reference to a temporary variableSubv1-1/+1
in GetTouchState()
2015-03-14Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveDataSubv7-26/+240
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
2015-03-12Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.Tony Wasserka1-20/+24
We now write create a temporary buffer for output registers and copy all of them to the actual output vertex structure after the shader has run. This is technically not necessary, but it's easier to vectorize in the future.
2015-03-11hid_user: Removed unnecessary includes.bunnei1-2/+0
2015-03-11HID: Removed unnecessary global variables.bunnei2-58/+42
2015-03-11HID: Added additional variable comments and some code cleanups.bunnei2-20/+29
2015-03-11HID: Complete refactor of pad/touch input to fix threading issues.bunnei7-204/+109
2015-03-10EmuWindow: Made pad/touch functions non-static.bunnei3-24/+20
2015-03-10HID: Cleanup how `next_touch_index` is calculated for Pad and touch.bunnei1-2/+2
2015-03-10HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings.bunnei2-4/+4
2015-03-10HID: Added static asserts to check register position in shared memory.bunnei1-2/+16
2015-03-10Qt: Implemented EmuWindow touchpad support.bunnei2-0/+29
2015-03-10GLFW: Implemented EmuWindow touchpad support.bunnei2-0/+26
2015-03-10EmuWindow: Added infrastructure code to enable touchpad support.bunnei2-1/+93
2015-03-10HID: Added functions to emulate the touchpad.bunnei2-0/+61
2015-03-10HID: Moved some docstrings to the header.bunnei2-24/+16
2015-03-10HID: Refactored shared memory decoding for touchpad support.bunnei2-33/+64
2015-03-10GPU: Fixed the bit 25 in the display transfer flags.Subv2-5/+5
It is used to downscale the input image horizontally and vertically, previously we were only downscaling it vertically so this caused a hard-to-debug memory corruption problem.
2015-03-10dyncom: Minor cleanupLioncash1-26/+7
Assemblers will exit with an error when trying to assemble instructions with disallowed registers.
2015-03-10GPU: Added the stencil test structure to the Pica Regs struct.Subv7-61/+76
2015-03-10Frontend/Qt: Allow the framebuffer widget to inspect the depth bufferSubv2-5/+66
2015-03-10GPU: Implemented more depth buffer formats.Subv5-14/+120
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift11-37/+234
2015-03-09GPU: Use the correct position for the finished bit in memory fillsSubv1-1/+1
2015-03-09Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order.Tony Wasserka1-6/+3
2015-03-09GPU: Corrected the 24 bit memory fills component orderSubv2-5/+5
2015-03-09dyncom: Fix an indexing bug in STMLioncash1-5/+4
Previously it would write the contents of register 13 for the case where the link register (r14) is supposed to be written.
2015-03-09dyncom: General cleanup of STMLioncash1-16/+14
2015-03-09dyncom: Increment addr when accessing LR in LDMLioncash1-0/+2
2015-03-08Update nihstro submodule to the initial release version.archshift2-57/+59
Includes more opcodes to implement in the future.
2015-03-08default_ini.h: Put comments on their own linesarchshift1-4/+15
Apparently inline comments is not necessarily standard in the INI format, and our parser was erroneously parsing the comments as values.
2015-03-08Build app bundles on OS X. Fixes the issue where the menubar would not appear.archshift1-1/+5
2015-03-08Fixed EmuWindow typo (fixes OSX build)bunnei2-2/+2
2015-03-07Set framebuffer layout from EmuWindow.bunnei7-60/+88
2015-03-07GPU/Textures: Fixed ETC texture decoding.Subv1-1/+1
2015-03-06Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot7-9/+21
2015-03-06Removed swap code redundancy and moved common swap code to swap.harchshift3-127/+97
2015-03-06Implement SetLcdForceBlack, move register enum to hw.harchshift4-36/+69
2015-03-04Services: Moved the PTM and APT services to their own folderSubv40-1110/+1202
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
2015-03-04vfp: Get rid of warningsLioncash2-4/+4
2015-03-04GPU: Added RGB565/RGB8 framebuffer support and various cleanups.bunnei9-194/+213
- Centralizes color format encode/decode functions. - Fixes endianness issues. - Implements remaining framebuffer formats in the debugger.
2015-03-02Services/AM: Stubbed TitleIDListGetTotal and GetTitleIDList.Subv1-8/+45
They will always return 0 titles for every media type for now. This is needed to boot Home Menu further
2015-03-02Profiler: Implement QPCClock to get better precision on Win32Yuri Kunde Schlesner2-1/+42
MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement std::chrono::high_resolution_clock, so it has bad precision. Manually implementing our own clock type using it works around this for now.
2015-03-02Add profiling infrastructure and widgetYuri Kunde Schlesner16-0/+757
2015-03-01Services/FS: Stubbed CardSlotIsInserted to always return falseSubv1-1/+25
We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further
2015-03-01Services/PTM: Stubbed PTM_Sysm::IsLegacyPowerOff.Subv1-1/+13
This allows the Home Menu to boot further
2015-02-28Added RGBA5551 compatibility in the rasterizerarchshift4-3/+42
This allows Virtual Console games to display properly.
2015-02-28arm_disasm: Show conditional code for BKPT instructions.Lioncash1-2/+3
Changed cond_to_str to take a uint32, since unsigned numbers are only ever passed to it, and this can be a source of warnings for some compilers (also indexing an array without bounds checking a signed number is kind of iffy).
2015-02-28arm_disasm: Remove unused variableLioncash1-2/+1
Also declared an array as static, as it's only used in this translation unit.
2015-02-28result: Make comparison operators take referencesLioncash1-2/+2
It's unnecessary to make copies for simple comparisons like this.
2015-02-27GPU: Implemented bits 3 and 1 from the display transfer flags.Subv6-83/+171
Bit 3 is used to specify a raw copy, where no processing is done to the data, seems to behave exactly as a DMA. Bit 1 is used to specify whether to convert from a tiled format to a linear format or viceversa.
2015-02-26arm: The CP15 Main ID register is not writeableLioncash1-3/+1
2015-02-26Video core: Fix A4 texture decodingYuri Kunde Schlesner1-2/+2
It was trying to take the LSB from `coarse_x`, which would always be 0 and thus would always return the same texel from each byte. To add insult to the injury, the conditional was actually the wrong way around too. Fixes blocky text in OoT.
2015-02-26Video core: Fix pixelation/blockiness in textures.Yuri Kunde Schlesner1-3/+3
This was caused during morton decoding by me not masking the bits of each coordinate before merging them, so the bits from x could set bits in y if it was >255.
2015-02-26Archives: Properly implemented the SystemSaveData archive.Subv4-45/+70
Ported to the new factory pattern we have for archives.
2015-02-25arm: Remove unnecessary booleansLioncash2-22/+5
We don't care about any of these.
2015-02-25Common: Switch to the XDG Base Directory Specification for directory selection.Emmanuel Gil Peyrot2-10/+69
This allows for easily movable and independent configuration and data directories, using standardized paths.
2015-02-25Rasterizer: Add support for RGBA4 framebuffer format.bunnei1-0/+21
2015-02-24Services: Implemented Y2R_U::GetTransferEndEventSubv1-1/+18
Aero Porter was throwing an "Invalid Handle" fatal error without this.
2015-02-22GPU: Fixed RGBA8 as output format in a display transfer.Subv1-8/+7
Verified with hwtests
2015-02-22Added information reporting from ThrowFatalErrorarchshift4-3/+166
This was RE'd from the errdisp applet.
2015-02-22Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.Emmanuel Gil Peyrot7-13/+82
2015-02-22GPU: Add support for more framebuffer formats in display transfers.Tony Wasserka1-0/+37
2015-02-22Rasterize with the correct color component order.bunnei1-11/+24
- Fixes a regression with #594.
2015-02-22Cleaned up unaligned access.Kevin Hartman2-35/+2
2015-02-22GPU: Fixed the RGBA8 input format and RGB8 output formatSubv1-8/+6
in Display Transfers, tested with hwtests.
2015-02-21Pica/VertexShader: Fixed LOOP with more than one iteration.Subv1-1/+4
Previously it wouldn't jump back to the start of the loop code once it reached the end of the block. Fixes the texture problems in a lot of games.
2015-02-21Fix error message for bad config block request.Kevin Hartman1-5/+10
2015-02-20Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.Emmanuel Gil Peyrot2-8/+8
2015-02-20Misc cleanup of common and related functionsarchshift4-81/+31
2015-02-20Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift4-25/+3
2015-02-19Remove "super lame/broken" file_search compilation unit that was leftover from Dolphinarchshift3-128/+0
2015-02-19Remove redundant utf8 compilation unit that was leftover from Dolphinarchshift3-528/+0
2015-02-19Remove useless extended_trace compilation unit that was leftover from Dolphinarchshift3-480/+0
2015-02-19Remove the useless msg_handler compilation unit that was left over from Dolphinarchshift8-180/+13
2015-02-19Convert a few C stdlib asserts to Citra's own assertsarchshift1-6/+4
2015-02-19Rasterizer: Fixed a warning in GetWrappedTexCoord.Subv1-4/+4
Redeclaring the variable inside the switch was causing weird behavior.
2015-02-18Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED().Tony Wasserka1-5/+5
2015-02-18Pica/Rasterizer: Make some local lambdas static.Tony Wasserka1-8/+8
2015-02-18Pica/BlendUnit: Implement separate color/alpha blend equations.Tony Wasserka2-65/+59
2015-02-18Pica/TextureEnvironment: Add a note.Tony Wasserka1-0/+4
2015-02-18Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.Tony Wasserka2-0/+4
Not really sure where the difference is, but some applications seem to use this 1:1 the same way...
2015-02-18Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic.Tony Wasserka2-0/+28
2015-02-18Pica/OutputMerger: Fix flipped framebuffers.Tony Wasserka1-0/+10
2015-02-18Pica/TextureUnit: Implement mirrored repeating texture wrapping.Tony Wasserka2-3/+12
2015-02-18Pica: Fix a bug in the register definitions, relating to texture wrapping.Tony Wasserka2-2/+2
2015-02-18Pica/OutputMerger: Implement color format checking.Tony Wasserka2-4/+13
2015-02-18Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners.Tony Wasserka1-2/+3
2015-02-18Pica/Rasterizer: Fix garbage pixels at triangle borders.Tony Wasserka1-1/+3
2015-02-18Pica/Rasterizer: Clean up and fix backface culling.Tony Wasserka1-11/+27
2015-02-18Pica: Cleanup clipping code and change screenspace z to range from -1..0.Tony Wasserka2-53/+42
The change in depth range seems to reflect better to what applications are expecting, and makes for cleaner code overall (hence is more likely to reflect hardware behavior).
2015-02-18Pica/VertexShader: Implement the LOOP instruction.Tony Wasserka1-14/+36
2015-02-18Pica/CommandProcessor: Properly implement shader load destination offset registers.Tony Wasserka2-20/+10
2015-02-18Pica/CommandProcessor: Work around initialized vertex attributes some more.Tony Wasserka1-2/+8
2015-02-18GPU: Properly implement memory fills.Tony Wasserka4-33/+78
2015-02-18Asserts: Use lambdas to keep assertion code away from the main code pathYuri Kunde Schlesner1-6/+25
2015-02-18vfpinstr: Fix trivial signed/unsigned mismatch warningsLioncash1-4/+4
2015-02-17core/video_core: Use in-place construction where possibleLioncash3-5/+5
2015-02-17dyncom: Support conditional BKPT instructionsLioncash2-2/+28
2015-02-17ConfigMem: Clean up the Config memory to be more like the shared page and movedpurpasmart965-50/+65
the helper macro for padding to common_funcs.h
2015-02-16VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.Emmanuel Gil Peyrot1-1/+1
2015-02-16Services: Fixed "Tried to connect to named port err:f".Subv1-1/+1
err:f is a named port, not a service
2015-02-16dyncom: Actually set the destination register for USAD8/USADA8.Lioncash1-0/+1
Idiotville: Population: 1 - Inhabitant name: Lioncash
2015-02-15vfpdouble: Use %p for printing pointer addresses.Lioncash1-2/+2
2015-02-15video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot3-12/+86
2015-02-15arm: Set the A bit on reset.Lioncash1-1/+1
This enum value is ORed against in ARMul_Reset (and used to refer to all interrupt bits in the CPSR). So simply updating this is enough.
2015-02-13core: Apply static to local functionsLioncash11-245/+252
2015-02-13arm: General cleanupLioncash13-227/+116
- Remove several typedefs for ARMul_State. - Remove unused functions - Remove unused/unnecessary headers - Removed unused enums, etc.
2015-02-13dyncom: Switch the app and system cores into the correct mode at initializationLioncash5-17/+21
2015-02-13dyncom: Clean up the constructorLioncash3-16/+7
Some function calls aren't necessary and would be handled by regular initialization routines.
2015-02-13backend: Add logging subentry for ldrLioncash1-0/+1
Fixes an assertion upon executing citra in debug mode.
2015-02-13dyncom: Remove warning for SXTAHLioncash1-1/+0
This is tested to work correctly.
2015-02-12arm: Remove ARMul_EmulateInitLioncash4-55/+1
This was only used for armemu, which has since been removed. Removed components related to this as well.
2015-02-12Build: Fixed some warningsSubv11-52/+70
2015-02-12armdefs: Remove unnecessary extern CLioncash1-6/+0
2015-02-11Fix Min and Max blend equationsDarius Goad1-6/+8
2015-02-11Implemented WriteHWRegsWithMask for GSP.Kevin Hartman1-6/+91
2015-02-11arm: Remove ARM26 support.Lioncash2-45/+4
This will never be used. 32-bit is the norm.
2015-02-11arm: Get rid of some magic constants. Specify proper ARM mode.Lioncash3-3/+10
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
2015-02-11arm: Change some more constants into enumsLioncash2-21/+30
2015-02-11citra-qt: Add a vertex shader debugger.Tony Wasserka4-0/+357
2015-02-11Pica/DebugUtils: Factor out BreakPointObserverDock into its own file.Tony Wasserka5-50/+68
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift87-216/+134
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-11GSP: Fixed typo in SignalInterruptbunnei1-1/+1
2015-02-11GSP: Call SetBufferSwap for each screen on corresponding signal interrupt.bunnei1-4/+3
2015-02-10arm: Remove TRUE/FALSE definesLioncash4-28/+19
- Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true.
2015-02-10PTM: Fixed a problem with the gamecoin PTM file.Subv1-21/+13
2015-02-10Archives: Made the Format function more generic.Subv3-9/+10
2015-02-10Archives: Expose the File and Directory classes to HLESubv3-58/+62
2015-02-10ResultVal: Fixed compilation when reassigning a ResultVal.Subv1-3/+3
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner19-159/+199
2015-02-10FS: Get rid of completely useless Archive classYuri Kunde Schlesner1-36/+26
2015-02-10arm_dyncom_thumb: Make lookup tables staticLioncash1-7/+7
These don't need to be recreated all the time.
2015-02-10dyncom: Add more regs to MCR/MRCLioncash2-18/+35
Adds the registers that were left out of some coprocessor ranges.
2015-02-10vfp: Normalize accumulator for multiply accumulate instructionsLioncash2-0/+6
2015-02-10Scheduler refactor Pt. 1Kevin Hartman7-284/+287
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
2015-02-10Mutex: Locks should be recursive.bunnei2-16/+20
2015-02-10WaitSynch: Always reschedule (verified behavior on hw).bunnei1-4/+4
2015-02-10Add more blend equations from 3dbrewDarius Goad2-2/+49
2015-02-09vfpdouble: Fix the FTOUI NaN sign settingLioncash1-1/+1
This was fixed for vfpsingle, but not vfpdouble
2015-02-09Throw more unused/unnecessary VFP code outLioncash3-215/+1
2015-02-09vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuffLioncash4-192/+153
2015-02-09vfp_helper: Normalize tabs to spacesLioncash1-172/+170
2015-02-08Services: Stub some functionspurpasmart968-8/+206
2015-02-07Fix a wrong file name in a commentchinhodado1-1/+1
2015-02-06vfp_helper: Remove unnecessary extern C blocksLioncash1-17/+1
2015-02-06vfp: Move FPSID, FPEXC, and FPSCR values over to enums.Lioncash3-150/+104
Also got rid of duplicate definitions of some of these values.
2015-02-05Rasterizer: Implement the other color and alpha modifiers.bunnei2-58/+69
2015-02-05VideoCore: Added same-component swizzlers to math utility functions.bunnei1-16/+35
2015-02-04vfp: Fix VCVTLioncash1-6/+6
These variants exclusively read from the single precision regs and write to double-precision registers Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers.
2015-02-04vfp: Throw out unused codeLioncash2-1765/+0
2015-02-03citra-qt: Fix horrible scrolling responsiveness in disassembler by giving the uniformRowHeight hint.Tony Wasserka1-57/+60
2015-02-03citra-qt: Fix a crash when double-clicking a disassembler list item.Tony Wasserka2-12/+6
2015-02-03dyncom: Remove more unnecessary codeLioncash1-45/+3
2015-02-03core: Fix some warnings on OSXLioncash4-6/+5
2015-02-02Kernel: Stop creating useless Handles during object creationYuri Kunde Schlesner18-57/+41
They're finally unnecessary, and will stop cluttering the application's handle table.
2015-02-02Kernel: Make WaitObjects share ownership of Threads waiting on themYuri Kunde Schlesner6-12/+17
During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.)
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner17-8/+51
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
2015-02-02Mutex: Replace g_mutex_held_locks with a set inside ThreadYuri Kunde Schlesner3-23/+18
2015-02-02HID: Fix crash when pressing a key when the emulator is stoppedYuri Kunde Schlesner1-0/+2
2015-02-02SVC: Enable CloseHandle, clean up DuplicateHandleYuri Kunde Schlesner1-9/+5
2015-02-02Kernel: Fix bug in HandleTable::CloseYuri Kunde Schlesner1-1/+1
2015-02-02Kernel: Remove Object::GetHandle (it's not used anymore :D)Yuri Kunde Schlesner2-9/+1
2015-02-02Kernel: Introduce unique Object ids for debuggingYuri Kunde Schlesner4-8/+16
2015-02-02Kernel: Use separate Handle tables for CoreTiming userdataYuri Kunde Schlesner4-18/+25
This is to support the removal of GetHandle soon
2015-02-02Kernel: Remove previous scheduled event when a Timer is re-SetYuri Kunde Schlesner1-0/+3
2015-02-02FS: Remove use of GetHandleYuri Kunde Schlesner1-1/+1
2015-02-02Thread: Modernize two functions that slipped through previous rebasesYuri Kunde Schlesner4-18/+16
2015-02-02Service: Store function names as const char* instead of std::stringYuri Kunde Schlesner1-6/+6
Uses less memory (strings and function table is stored in constant data) and speeds up start up (no need to allocate and copy strings).
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner46-67/+54
2015-02-02Make Port/Service registration and querying more HW-accurateYuri Kunde Schlesner4-106/+80
2015-02-02Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner3-32/+33
2015-02-01vfp: Get rid of some compile warningsLioncash2-6/+3
2015-02-01arm: Clean up ARMul_StateLioncash5-138/+84
Remove unnecessary/unused struct variables.
2015-02-01arm: Adios armemuLioncash19-8603/+166
2015-01-31Pica: Implement blend factors.bunnei2-10/+67
2015-01-30dyncom: clean up arm_dyncom_dec.hLioncash1-43/+2
2015-01-30arm: Move headers over to pragma onceLioncash7-31/+11
2015-01-30arm: Get rid of armcpu.h and skyeye_types.hLioncash6-115/+0
2015-01-30arm: Clean out armos.h and armmmu.hLioncash2-181/+23
2015-01-30Silence a few warnings.Rohit Nirmal3-5/+5
2015-01-30arm: Throw out a lot of unnecessary codeLioncash6-1536/+56
2015-01-30armdefs: Move some defines over to enumsLioncash1-131/+112
2015-01-30shared_memory: Fix assignments in SharedMemory::MapLioncash2-4/+4
2015-01-30loader: Add missing printf argumentLioncash1-1/+1
2015-01-30archive: Fix initializer list order for the File class.Lioncash1-1/+1
2015-01-30apt_u: Fix missing printf specifiersLioncash1-2/+2
2015-01-30Kernel: Mark all appropriate kernel objects as "final"Yuri Kunde Schlesner7-8/+7
2015-01-30SVC: Use CASCADE_RESULT in SVC handlersYuri Kunde Schlesner2-77/+32
2015-01-30Remove result.h InvalidHandleYuri Kunde Schlesner4-30/+32
It was only being used in two places, where it was replaced by a local constant.
2015-01-30SVC: Change return type of handlers to ResultCodeYuri Kunde Schlesner2-132/+127
2015-01-30Kernel: Convert Event to not use HandlesYuri Kunde Schlesner10-152/+151
2015-01-30Kernel: Convert Timer to (mostly) not use HandlesYuri Kunde Schlesner3-111/+112
2015-01-30Kernel: Convert Mutex to not use HandlesYuri Kunde Schlesner5-114/+110
2015-01-30Kernel: Convert AddressArbiter to not use HandlesYuri Kunde Schlesner3-38/+55
2015-01-30Kernel: Convert Semaphore to not use HandlesYuri Kunde Schlesner3-67/+88
2015-01-30Kernel: Convert SharedMemory to not use HandlesYuri Kunde Schlesner8-102/+107
2015-01-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner2-1/+7
2015-01-30Additions to ResultVal to make it more convenient to use.Yuri Kunde Schlesner1-1/+25
2015-01-30Move VAddr/PAddr typedefs to kernel.hYuri Kunde Schlesner2-9/+7
2015-01-30Kernel: Remove useless/duplicated comments; mark functions staticYuri Kunde Schlesner6-32/+8
2015-01-28Pica: Implement color/alpha channel enable.bunnei2-1/+12
2015-01-27Rasterizer: Implemented alpha testing.bunnei2-7/+52
2015-01-27dyncom: Minor cleanupLioncash1-126/+137
Narrow scopes for the instruction variables. Remove unnecessary parentheses.
2015-01-27SVC: Update the SVC function tablepurpasmart961-7/+7
2015-01-27Update vfp.cppbunnei1-1/+1
VFP: Changed a debug log to trace.
2015-01-26GPU: Implement the remaining depth testing functions.bunnei2-3/+28
2015-01-24Services/HID: Removed some files due to a rebase errorSubv3-267/+0
2015-01-24Services: Stubbed more services.Subv24-3/+693
Implemented FSUser::CreateExtSaveData
2015-01-23vfp: Clean up vertical alignment for instructionsLioncash1-131/+125
2015-01-23APT_U: Stub some functions & misc changespurpasmart961-91/+276
2015-01-22cam_u.h: fix indentationarchshift1-2/+2
Withholding my profanity towards Xcode.
2015-01-22dyncom: Minor cleanupLioncash1-282/+270
Removes some unused macros and cleans up indentation inconsistencies
2015-01-22WaitSynchronization: Added a result code for invalid result, fixed bug.bunnei1-3/+9
2015-01-22Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup.bunnei3-25/+45
2015-01-22Thread: Use std::find in CheckWait_WaitObject.bunnei1-4/+5
2015-01-22Mutex: Cleanup and remove redundant code.bunnei3-47/+29
2015-01-22Kernel: Renamed some functions for clarity.bunnei7-10/+10
- ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads.
2015-01-22Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei9-71/+42
2015-01-22WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.bunnei9-23/+22
2015-01-22Event: Fix implementation of "non-sticky" events.bunnei1-0/+4
2015-01-22Session: Change to a WaitObject.bunnei3-2/+9
2015-01-22Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs.bunnei2-1/+2
2015-01-22Mutex: Fix a bug where the thread should not wait if it already has the mutex.bunnei1-1/+4
2015-01-22Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely.bunnei4-20/+59
2015-01-22SVC: Removed a Sleep that made no sensebunnei1-6/+1
- Would deadlock the calling thread - Code would never get hit anyways
2015-01-22AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense.bunnei5-38/+45
2015-01-22Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei9-122/+63
2015-01-22WaitSynchronizationN: Improved commentsbunnei1-7/+12
2015-01-22WaitSynchronizationN: Refactor to fix several bugsbunnei8-79/+76
- Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles
2015-01-22Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei8-18/+59
2015-01-22WaitSynchronizationN: Handle case where handles=nullptr.bunnei1-0/+4
2015-01-22WaitSynchronizationN: Handle case where handle_count is invalid.bunnei1-3/+7
2015-01-22WaitSynchronizationN: Handle case where handle_count=0.bunnei1-19/+29
2015-01-22WaitSynchronizationN: Implement return valuesbunnei10-83/+189
2015-01-22Event: Fixed some bugs and cleanup (Subv)bunnei4-57/+16
2015-01-22Thread: Keep track of multiple wait objects.bunnei3-16/+30
2015-01-22Event: Get rid of permanent_lock hack.bunnei2-36/+8
2015-01-22WaitObject: Added RemoveWaitingThread, fixed a bug, and cleanup.bunnei2-4/+17
2015-01-22Kernel: Added WaitObject and changed "waitable" objects inherit from it.bunnei8-71/+73
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift15-264/+378
2015-01-21Stubbed cam:u servicearchshift4-0/+51
2015-01-21Stubbed ptm:play servicearchshift4-0/+55
2015-01-20citra-qt: Add option to hide dock widget title barsKingcom3-34/+86
2015-01-20core: Fix a few docstringsLioncash4-4/+4
2015-01-20core_timing: Mark several variables as staticLioncash1-14/+14
These are only used in this translation unit.
2015-01-20dyncom: Clarify precedence for ternary statementsLioncash3-3/+3
2015-01-19Cleanup: Logging in CoreChin5-483/+157
2015-01-19dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etcLioncash1-7/+33
2015-01-19Expose GetSharedFont and NotifyToWait to APT:A and APT:S respectivelyarchshift2-1/+4
2015-01-17dyncom: Handle the ARM A2 encoding of STRT/LDRTLioncash1-10/+24
These were also missing the shifted register case.
2015-01-17dyncom: Handle the ARM A2 encoding of LDRBT/STRBT.Lioncash1-17/+15
2015-01-16Add some support for the shared page (currently 3d slider is implemented)Zhuowei Zhang5-0/+116
2015-01-16APT: Fix typo in setting return code for NotifyToWaitbunnei1-1/+1
2015-01-16DSP: Removed useless spam log for SignalInterruptbunnei1-5/+2
2015-01-15Loader: Clean up the ELF AppLoader.Emmanuel Gil Peyrot2-42/+35
2015-01-15Loader: Clean up the 3DSX AppLoader.Emmanuel Gil Peyrot1-17/+24
2015-01-15Loader: Clean up the NCCH AppLoader.Emmanuel Gil Peyrot1-51/+48
2015-01-15Loader: Display the type of the file being loaded.Emmanuel Gil Peyrot1-3/+23
2015-01-15Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot8-26/+112
2015-01-15Loader: Don’t assume the file hasn’t been read before.Emmanuel Gil Peyrot3-4/+13
2015-01-15Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.Emmanuel Gil Peyrot8-176/+116
2015-01-15Loader: Initialize the default NCCH values in the class declaration, not in the constructor.Emmanuel Gil Peyrot2-8/+4
2015-01-15Loader: Remove the useless THREEDSXReader class.Emmanuel Gil Peyrot1-10/+4
2015-01-15Loader: Never forget to change is_loaded.Emmanuel Gil Peyrot6-7/+15
2015-01-15Loader: Don’t duplicate the docstring into the cpp file.Emmanuel Gil Peyrot4-56/+0
2015-01-15Loader: Fix indentation, whitespace, and a few other such cosmetic stuff.Emmanuel Gil Peyrot2-26/+24
2015-01-14APT: Fixed the comment style in some variablesSebastian Valle1-2/+2
2015-01-14GPU: Fix buffer overrun in Display TransfersYuri Kunde Schlesner1-9/+12
Display transfers with the horizontal downscaling flag were calculating the wrong output size, causing them to write double the amount of data intended. It is likely that this was perceived as correct due to a separate bug in calculating source indices which caused the image to be padded unless the previous bug was present. This fixes both issues, correcting flickering issues in 3dscraft, blargSnes and more (caused by the transfer overwriting the back buffer which followed) as well as potentially fixing other crashes.
2015-01-14GSP: Fix appending of interrupts to the shared memory bufferYuri Kunde Schlesner2-17/+12
The code was previously appending the interrupt to after the end of the buffer, instead of at the end.
2015-01-14GPU: Do periodic VBlank updates using CoreTimingYuri Kunde Schlesner3-51/+44
2015-01-14GPU: Correct wrong default framebuffer address for sub-screen.Yuri Kunde Schlesner1-2/+2
It appears this is a mistake, since the sub-screen has no right framebuffer.
2015-01-14GSP: Update framebuffer info on all interruptsYuri Kunde Schlesner2-15/+14
Hardware testing determined that the GSP processes shared memory framebuffer update info even when no memory transfer or filling GX commands are used. They are now updated on every interrupt, which isn't confirmed correct but matches hardware behaviour more closely. This also reverts the hack introduced in #404. It made a few games behave better, but I believe it's incorrect and also breaks other games.
2015-01-14GPU: Fire GPU interrupts at the correct places.Yuri Kunde Schlesner2-21/+18
PDC0 and PDC1 are both VBlank interrupts. PDC0 was being treated as a HBlank interrupt and fired many more times than it should. They now both fire together at 60 Hz. This puzzlingly *improves* apparent framerate on many applications. A few other interrupts were being fired inside the GSP command processing instead of on the actual GPU register writes, so they were moved there, which should cover direct writes tho those registers not going through the GX command queue.
2015-01-14APTU: Stubbed NotifyToWait, taken from 3dmoo.Subv1-7/+21
Also renamed some handles in the APT:U service to be more descriptive. Fixed a typo in InquireNotification
2015-01-13Pica/Rasterizer: Add ETC1 texture decompression support.Tony Wasserka3-14/+144
2015-01-13AddrArbiter: Implement arbitration types 3 and 4.Subv3-4/+21
2015-01-13Services: Added some missing services.Subv9-1/+364
cfg:s, ptm:sysm, apt:s. apt:s is almost exactly the same as apt:u as per 3dbrew
2015-01-13Pica/VertexShader: Implement JMPC/JMPU/CALLC/CALLU.Tony Wasserka1-23/+52
2015-01-13Pica/VertexShader: Implement the MAD instruction.Tony Wasserka1-0/+69
2015-01-12vfp: Remove dead codeLioncash1-50/+14
2015-01-12dyncom: Fix 32-bit ASR shifts for immediatesLioncash1-5/+3
2015-01-12dyncom: Remove unused flag macrosLioncash1-15/+3
2015-01-12dyncom: Get rid of unnecessary outer-scope variables in InterpreterMainLoopLioncash1-97/+108
2015-01-12dyncom: Fix overflow flag setting for ADD/RSB/RSC/SUB/SBCLioncash1-38/+41
Also cleans up CMN, and CMP.
2015-01-12Qt Callstack: Clear the callstack every time it's updatedarchshift2-0/+14
This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
2015-01-12dyncom: Add a helper function for addition with a carryLioncash3-12/+26
2015-01-12Fix building on MinGWdarkf2-0/+13
2015-01-12dyncom: Fix ADC overflow flag settingLioncash1-8/+12
2015-01-12dyncom: Fix conditional execution of MSRLioncash1-29/+31
2015-01-11citra-qt: Replace OnCpuStepped signal by new signals DebugModeEntered and DebugModeLeftKingcom9-15/+60
2015-01-11Thread: Prevent waking a thread multiple times.Subv1-0/+3
If a thread was woken up by something, cancel the wakeup timeout.
2015-01-11SVC: Wake up the thread after the delay in WaitSync1Subv1-3/+2
2015-01-11Stubbed y2r:u IsBusyConversionarchshift1-1/+16
There is no documentation available on this function, but we set the result to false as a stub. This allows Super Little Acorns to move all the way in game with pp3c.
2015-01-10Added Archive ID to fs:USER debug logs involving opening the archive.archshift1-3/+3
2015-01-10Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift12-57/+30
2015-01-10citra-qt: Add explicit casts to prevent some warnings.Subv1-2/+2
2015-01-10citra-qt: Fixed some Qt errors on initializationSubv2-4/+4
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner12-90/+95
2015-01-09Kernel: Don't re-assign object's handle when duplicating oneYuri Kunde Schlesner2-2/+3
2015-01-09Use -pthread where and only where neededJohannes Ekberg2-8/+0
Passing -pthread to GCC as a flag makes it both link to libpthread, and make C standard library routines reentrant. This makes the additional explicit links unnecessary. Additionally, on OSX, this is the default behavior, and clang will print a message about it being unused if it's present there.
2015-01-09Generic PLATFORM_LIBRARIES varJohannes Ekberg2-19/+2
This both reduces redundancy in add_executable definitions, and makes it easier to link additional libraries. In particular, extra libraries are needed on OSX - see next commit.
2015-01-09Thread: Fix nullptr access in a logging functionYuri Kunde Schlesner1-1/+2
2015-01-09Thread: Rename thread_queue => thread_listYuri Kunde Schlesner1-6/+6
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner11-302/+222
2015-01-09Kernel: Move Thread's definition to the header fileYuri Kunde Schlesner3-53/+67
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner18-32/+53
2015-01-09Core: Fixed a crash and removed some unused variables.Subv2-8/+2
ARM_Disasm only has static methods, so there's no need to have an instance of it.
2015-01-09SVC: Implemented the Timer service calls.Subv8-5/+234
2015-01-09DynCom: Add a comment to GetTicks.Subv1-0/+1
2015-01-09Timing: Use CoreTiming::GetTicks to keep track of ticks.Subv2-6/+2
This will keep track of idle ticks for us, and fixes some tickcount-related issues
2015-01-09SVC: Fixed SleepThread.Subv3-8/+43
It will now properly wait the specified number of nanoseconds and then wake up the thread.
2015-01-08dyncom: Fix UMAALLioncash1-4/+4
These need to be done as a 64-bit operation.
2015-01-08Threads: Use a dummy idle thread when no other are ready.Subv4-2/+47
This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
2015-01-08GSP: Toggle active framebuffer each framebunnei2-2/+8
2015-01-07Warn if a new thread is intended to be run on the system CPU core until we implement correct scheduling for such a thread.Kevin Hartman1-0/+5
2015-01-07dyncom: Fix SMULWB/SMULWTLioncash1-10/+7
Wasn't doing proper sign-extension
2015-01-07citra-qt: Add check for valid address to call stackKingcom1-0/+3
2015-01-07Common: Clean up ThreadQueueListYuri Kunde Schlesner2-145/+75
Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style.
2015-01-07CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv6-418/+380
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
2015-01-07Fix double-free in Service manager during shutdownYuri Kunde Schlesner2-25/+4
Fixes #423.
2015-01-07dyncom: Fix SWPBLioncash1-0/+1
2015-01-07dyncom: Move over SMLALXYLioncash1-1/+56
2015-01-06Archives/Exdata: Don't set concrete_mount_point in the ctorSubv1-1/+1
2015-01-06Archives: Changed the unimplemented archives comment.Subv1-1/+1
It now refers to me as the PoC
2015-01-06Archives: Addressed some commentsSubv5-15/+15
2015-01-06Common: Remove dead platform #ifdefs to make the code more readable.Emmanuel Gil Peyrot5-101/+2
Symbian, Xbox, Blackberry and iOS got removed. FreeBSD and Android kept due to them potentially being able to run Citra in the future. The iOS specific part also got removed from PPSSPP in order to fix a bug there.
2015-01-06citra-qt: Renamed all .hxx headers to .hchrisvj30-45/+45
2015-01-06Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX.Kevin Hartman2-16/+18
2015-01-06Services: Clean up a few things and add a few function namespurpasmart967-33/+36
2015-01-05SaveDataCheck: Fixed a typoSubv1-1/+1
2015-01-05dyncom: Partially emulate BXJLioncash1-8/+25
Just in case some game studio let the intern write inline assembly or something.
2015-01-05Common: Use std::abs instead of abs, using abs with cmath fails on some systems.Emmanuel Gil Peyrot1-2/+3
2015-01-05dyncom: Actually set the Q flag for SMLABB/SMLABT/SMLATB/SMLATTLioncash1-1/+2
Easy skyeye todo fix.
2015-01-05Common: Remove the unused x86-specific 128-bit float type.Emmanuel Gil Peyrot1-11/+0
2015-01-05dyncom: Implement QADD/QSUB/QDADD/QDSUBLioncash4-25/+117
2015-01-05DSP: Signal (faked) interrupt on every frame.bunnei3-5/+28
- Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
2015-01-05Fix correct espaceDante384901-2/+2
2015-01-05Add support load 3DS roomDante384902-1/+3
2015-01-04Mutex: Add the calling thread to the waiting list when neededSubv1-2/+2
This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken.
2015-01-04citra-qt: Added license headers to files.chrisvj18-0/+72
2015-01-04skyeye: Remove duplicate typedefsLioncash4-41/+17
citra already has its own typedefs like this.
2015-01-04Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv6-9/+11
2015-01-04Frontends: Shutdown core when emulation is stoppedYuri Kunde Schlesner2-0/+5
2015-01-04Archives: Changed the way paths are built for the archives.Subv13-47/+68
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
2015-01-04SaveDataCheck: Move the files to nand/titleSubv2-2/+3
under /nand/title/high/low/content/00000000.app.romfs
2015-01-03FileSys: Fix crash bug in DiskFile exposed by #400Yuri Kunde Schlesner1-4/+0
2015-01-03Stub the y2r:u servicearchshift4-0/+72
2015-01-03FileSys: Fix a few memory leaksYuri Kunde Schlesner2-6/+7
2015-01-03AddressArbiter: Ported arbitration type 2 from 3dmoo.Subv1-0/+11
(Thanks 3dmoo!)
2015-01-03dyncom: Implement SMLAWLioncash1-1/+43
2015-01-03VFP: Minor cleanup, functionally the same.bunnei1-2587/+2476
2015-01-03dyncom: Implement REVSHLioncash1-45/+45
Also joins the REV ops into one common place.
2015-01-03Core: Change default CPU to dyncom.bunnei3-4/+4
2015-01-03dyncom: Implement SMLALD/SMLSLDLioncash1-3/+72
2015-01-03Archives: Change the folder layout of some archives.Subv6-24/+27
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
2015-01-03dyncom: Implement SMMLA/SMMUL/SMMLSLioncash1-3/+64
2015-01-03IVFCArchive: Use a critical log to notify of invalid operations.Subv1-9/+9
2015-01-03SaveDataCheck: Remove unneeded constructor from a classSubv1-2/+0
2015-01-03Archives: Added some documentation to IVFCArchiveSubv1-0/+5
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv17-341/+242
Fixed a few warnings and cleaned up the code
2015-01-03SaveDataCheck: Preliminary work in this archive.Subv4-7/+63
This allows Steel Diver to boot further, some files are needed. This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
2015-01-03dyncom: Implemented LDREXD/STREXD/LDREXH/STREXHbunnei3-227/+282
2015-01-03elf: Make DidRelocate constLioncash1-1/+1
2015-01-03archive: Fix initializer list orderLioncash1-3/+3
2015-01-03dyncom: Remove dead function InterpreterInitInstLengthLioncash1-27/+0
Technically eliminates two memory leaks as well.
2015-01-03soc_u: Fix a missing formatting argumentLioncash1-1/+1
2015-01-03armemu: Fix missing Q flag check for SMLSD.Lioncash1-2/+6
2015-01-03dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSDLioncash5-50/+84
2015-01-02dyncom: Implement SXTAB16 and SXTB16Lioncash1-3/+58
2015-01-01Silence some -Wsign-compare warnings.Rohit Nirmal4-16/+16
2015-01-01Make letter cases consistent in menus and widgetsDaniel Lundqvist6-10/+10
In various menu options letter cases were not consistent. This was also the case within various debugging widgets. This attempts to make letter cases consistent, but it is of course a matter of opinion which way is the correct one.
2015-01-01Change popout mode to "Single Window Mode"Daniel Lundqvist2-9/+9
2015-01-01dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAXLioncash1-8/+110
2015-01-01Fix SADD8/SSUB8 in the armemuLioncash1-50/+28
2015-01-01dyncom: Implement SADD8/SSUB8Lioncash1-55/+108
2015-01-01Set object name for the graphics debuggerDaniel Lundqvist1-1/+1
Setting an object name for GPUCommandStreamWidget allows for saving the graphics debugger's state (if it's show, position, etc). This state is then restored when restarting the application.
2014-12-31SOC_U: Preliminary implementation of sockets.Subv8-25/+726
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
2014-12-31Pica/Rasterizer: Remove some redundant casts.Tony Wasserka1-3/+3
2014-12-31Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea.Tony Wasserka1-31/+38
2014-12-31Pica: Cleanup color conversion.Tony Wasserka3-26/+51
2014-12-31VideoCore: Remove some unused functions.Tony Wasserka1-26/+0
2014-12-31Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping.Tony Wasserka1-2/+2
2014-12-31Pica/Rasterizer: Clean up long code lines.Tony Wasserka1-4/+8
2014-12-31Pica/VertexShader: Coding style fixes.Tony Wasserka1-16/+8
2014-12-31Pica/CommandProcessor: Cleanups.Tony Wasserka1-3/+4
2014-12-31Pica/CommandProcessor: Workaround games not setting the input position's w component.Tony Wasserka1-0/+14
2014-12-31GPU: Pseudo-implement horizontal scaling.Tony Wasserka2-1/+8
It's not really known how this actually works. Some testing has shown that this probably performs no filtering, and common usage in games suggests it's not actually resizing the image at all. However, this patch does seem to fix some homebrew showing quasi-duplicated images while still keeping other applications in a working state.
2014-12-31Pica/Rasterizer: Implement backface culling.Tony Wasserka2-10/+36
2014-12-31Pica/Rasterizer: Textures seem to be laid out flipped vertically.Tony Wasserka1-1/+1
Not sure if this is a correct fix. Probably should instead change the decoding logic itself.
2014-12-31Pica/DebugUtils: Fix a bug in RGBA4 texture decoding.Tony Wasserka1-2/+2
2014-12-31Pica/Rasterizer: Implement alpha blending.Tony Wasserka1-0/+84
2014-12-31Pica/Rasterizer: Implement depth testing.Tony Wasserka2-6/+34
2014-12-31Pica/Rasterizer: Further enhance Tev support.Tony Wasserka1-4/+19
2014-12-31Pica: Add output merger definitions.Tony Wasserka1-1/+56
2014-12-31Pica: Fix A4, IA4 and IA8 texture formats.Tony Wasserka1-13/+7
Both IA4 and IA8 had their component order mixed up. Additionally, IA4 used the wrong number of nibbles per texel. A4 skipped every second texel.
2014-12-31Pica/CommandProcessor: Add support for integer uniforms.Tony Wasserka4-1/+30
2014-12-31citra-qt: Fix displaying RGBA5551 framebuffers.Tony Wasserka1-0/+4
(not that it matters at the moment, because this code is not used yet)
2014-12-31citra-qt: Always show pica framebuffers as RGBA8.Tony Wasserka1-1/+2
We actually don't really know yet how the format is encoded. Hence just use what works.
2014-12-31dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAXLioncash1-9/+208
2014-12-31Add citra icon to Windows executable and title barChin5-0/+2
2014-12-31dyncom: Massive refactorbunnei2-654/+221
2014-12-30vfp: Get rid of a few warningsLioncash2-2/+2
2014-12-30vfp: Implement VMOVBRRSSLioncash3-12/+44
2014-12-30dyncom: Implement USAT16/SSAT16Lioncash1-2/+61
2014-12-30Fix MSVC-related #defines and add CMakeLists commentdarkf6-11/+11
2014-12-30APT:A: Some style changesSubv1-12/+12
2014-12-30MemMap: Add support for DSP Read & Writes in the memory mappurpasmart963-2/+12
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv17-60/+268
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
2014-12-30dyncom: Implement USAT/SSATbunnei3-2/+131
2014-12-30dyncom: Various cleanups to match coding style, no functional changes.bunnei5-7087/+5962
2014-12-29dyncom: Fix SMLALXY's instruction labelsLioncash1-2/+2
They were erroneously labeled as SMLAL.
2014-12-29dyncom: Implement QADD8/QSUB8Lioncash1-32/+42
2014-12-29armemu: Implement QADD8/QSUB8Lioncash3-33/+100
2014-12-29Rasterizer: Pre-divide vertex attributes by WYuri Kunde Schlesner3-8/+32
Execute the division-by-W for perspective-correct interpolation of values in the clipper, moving them out of the rasterization inner loop.
2014-12-29GPU: Bitwise texture swizzlingYuri Kunde Schlesner1-27/+24
Replace the loop-based texture address swizzling code by a bit-twiddling implementation, providing a very small speed up. Also simplify addressing code.
2014-12-29Rasterizer: Common sub-expression eliminationYuri Kunde Schlesner1-14/+17
Move the computation of some values out of loops so that they're not constantly recalculated even when they don't change.
2014-12-29Clipper: Compact buffers on each clipping passYuri Kunde Schlesner1-28/+27
Use a new buffer management scheme in the clipper that allows using a bounded minimal amount of buffer space. Even though it copies more data it is still slightly faster likely due to using less cache.
2014-12-29Clipper: Avoid dynamic allocationsYuri Kunde Schlesner1-10/+7
The triangle clipper was allocating its temporary input, output and work buffers using a std::vector. Since this is a hot path, it's desirable to use stack allocation instead.
2014-12-29Vertex Shader: Zero OutputVertex to avoid denormalsYuri Kunde Schlesner1-0/+4
Unused OutputVertex attributes were being left un-initialized. The leftover garbage sometimes decoded as floating-point denormalized values, causing fallbacks to microcode and massive slowdowns in the rest of the rasterization pipeline even though the results were unused. By zeroing the structure we ensure these attributes only contain harmless zeros.
2014-12-29dyncom: Implement UXTB16/UXTAB16Lioncash1-2/+55
2014-12-29GPU: Implement frameskip and remove forced framebuffer swap hack.bunnei7-27/+47
2014-12-29vfp: Actually make the code somewhat readableLioncash5-1664/+1053
2014-12-28dyncom: Implement PKHBT and PKHTB.bunnei1-2/+57
2014-12-28armemu: Fix PKHTB to do an arithmetic shift and correctly decode immediate field.bunnei1-13/+5
2014-12-28Qt: we don't need to check if model is valid.xdec1-1/+1
2014-12-28dyncom: Implement USAD8/USADA8Lioncash3-3/+53
2014-12-28armemu: Simplify SSAT/SSAT16/SXTB/SXTABLioncash1-71/+48
2014-12-28armemu: Simplify REV/REV16/SXTH/SXTAHLioncash1-38/+26
2014-12-28armemu: Simplify USAT16/UXTB/UXTABLioncash1-65/+42
2014-12-28armemu: Simplify REVSH/UXTH/UXTAHLioncash1-48/+23
2014-12-28Kernel: New handle managerYuri Kunde Schlesner13-168/+209
This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
2014-12-28Kernel: Replace GetStaticHandleType by HANDLE_TYPE constantsYuri Kunde Schlesner8-15/+15
2014-12-28Rename ObjectPool to HandleTableYuri Kunde Schlesner12-54/+54
2014-12-28armemu: Fix underflows in USAD8/USADA8Lioncash3-4/+14
Initially reported by xdec.
2014-12-28Fix crash when the disassembler pause button is pressed while no game is running.xdec1-1/+3
2014-12-27dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX.Lioncash3-12/+102
2014-12-27armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAXLioncash3-19/+93
2014-12-27dyncom: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAXLioncash1-11/+123
2014-12-27armemu: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAXLioncash1-2/+73
2014-12-27GPU: Change internal framerate to 30fps.bunnei3-3/+3
2014-12-26Remove duplicate workDaniel Lundqvist1-7/+0
2014-12-26Allow focus only when in popout modeDaniel Lundqvist2-4/+10
Only allow manually setting focus to the rendering widget when in Single Window mode. Apply this behavior to when changing the mode while an app is running.
2014-12-26GPU: Further improve synchronization.bunnei1-22/+20
2014-12-26ARM: Add a mechanism for faking CPU time elapsed during HLE.bunnei6-95/+39
- Also a few cleanups.
2014-12-26More services & small clean upspurpasmart9661-309/+367
2014-12-26Allow focus on the Qt render widgetDaniel Lundqvist2-0/+4
By default widgets are set to the focus policy Qt::NoFocus which disallows manually focusing it. Changing the policy to allow clicking the widget to set focus to it allows for keyboard input when not rendering to a popout window. This commit also sets focus to the widget when showing it. Fixes issue #158.
2014-12-25armemu: Implement SMMUL, SMMLA, and SMMLS.Lioncash1-2/+30
2014-12-24armemu: Implement SMLALD/SMLSLDLioncash1-2/+33
2014-12-24armemu: Fix GE/Q flag setting semanticsLioncash1-62/+56
2014-12-24FileSys: Clean up according to the coding style, and remove redundant namespaced names.Emmanuel Gil Peyrot9-169/+97
2014-12-24Stubbed IsSdmcWriteable to always return writeable.archshift1-1/+18
2014-12-23armemu: Set the Q flag correctly for much of the other opsLioncash1-8/+8
They were setting the old S flag.
2014-12-23armemu: Set the Q flag properly for SMLAD/SMUADLioncash3-13/+28
2014-12-23armemu: Properly set the Q flag for SSAT16/USAT16 upon saturation.Lioncash1-9/+23
2014-12-23armemu: Fix SELLioncash1-1/+1
Needs to use the updated state of the CPSR.
2014-12-23armemu: Fix construction of the CPSRLioncash4-15/+54
2014-12-23armemu: Fix retrieval of the CPSR in MRS instructions.Lioncash1-1/+1
2014-12-22dyncom: Move over QADD16/QASX/QSAX/QSUB16Lioncash1-7/+87
2014-12-22dyncom: Move SEL overLioncash1-1/+58
2014-12-22dyncom: Move over SASX/SSAX/SADD16/SSUB16Lioncash1-7/+102
2014-12-22CFG: Fixed some warnings and errors in ClangSubv2-4/+4
2014-12-22CFG: More style changesSubv1-5/+5
2014-12-21CFGU: IndentationSubv1-4/+3
2014-12-21CFG: Some indentationSubv1-11/+13
2014-12-21CFG: Changed the CreateConfigInfoBlk search loopSubv1-7/+4
2014-12-21CFG: Corrected the licenses in cfg_i.cpp and cfg_u.cppSubv2-2/+2
2014-12-21CFG: Create a new subfolder cfg inside service to handle cfgSubv11-489/+617
Moved most of the shared CFG code there, implemented a few CFG:I functions
2014-12-21CFGU: Some changesSubv1-12/+33
2014-12-21CFGU: Addressed some issues.Subv1-43/+55
2014-12-21CFGU: Addressed some comments.Subv1-11/+13
2014-12-21Style: Addressed some commentsSubv2-6/+12
2014-12-21CFG_U: Use Common::make_unique instead of the std versionSubv1-1/+2
2014-12-21CFG:U: Implemented some more blocksSubv1-4/+30
2014-12-21CFG: Implemented block 0x00070001 in the config savefileSubv1-0/+5
2014-12-21CFGU: Use an absolute offset in the config savefile blocksSubv1-1/+3
2014-12-21CFG: Load the Config savedata file if it already exists.Subv1-3/+4
2014-12-21CFGU: Added block 0x000A0002 to the default savegame fileSubv1-0/+18
That's the language id block, we're using LANGUAGE_EN for now. This block allows some games to boot further
2014-12-21CFG: Refactored how the config file works.Subv2-56/+127
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
2014-12-21CFG:U: Add some data to the 0x00050005 config block.Subv1-6/+11
Seems to allow some games to boot further, thanks @Normmatt for sharing this information
2014-12-21CFG: Implemented the GetConfigInfoBlk2 function.Subv5-15/+197
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS
2014-12-21Fix visual studio ambiguous symbol errorApology111-4/+4
2014-12-21More warning cleanupsChin7-18/+21
2014-12-21Added CreateFile to the FS_USER servicearchshift8-1/+91
Tested with hwtests.
2014-12-21License changepurpasmart96218-253/+253
2014-12-21Thread: Wait current thread on svc_SleepThreadbunnei3-22/+35
- Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear
2014-12-21armemu: Implement SADD8/SSUB8Lioncash1-14/+87
2014-12-20armemu: Should be using labs for USAD8/USADA8Lioncash1-4/+4
2014-12-20Pica/VertexShader: Promote a log message to critical status.Tony Wasserka1-1/+1
2014-12-20Pica/VertexShader: Small optimization.Tony Wasserka1-7/+7
2014-12-20Pica/VertexShader: Be robust against invalid inputs.Tony Wasserka1-2/+9
More specifically, this also fixes crashes by Citra trying to load a src2 register even if the current instruction does not use that.
2014-12-20Pica/VertexShader: Clarify a comment.Tony Wasserka1-1/+3
2014-12-20Pica/DebugUtils: Further cleanups to LookupTexture.Tony Wasserka1-7/+7
2014-12-20Pica/DebugUtils: Fix two warnings.Tony Wasserka1-2/+2
2014-12-20Pica/DebugUtils: Better document LookupTexture.Tony Wasserka2-7/+16
2014-12-20Pica/Rasterizer: Get rid of C-style casts.Tony Wasserka1-4/+4
2014-12-20Pica/DebugUtils: Make a number of variables static.Tony Wasserka1-13/+13
Makes for cleaner and faster code.
2014-12-20Pica/VertexShader: Cleanup flow control logic and implement CMP/IFU instructions.Tony Wasserka1-50/+56
2014-12-20Pica/VertexShader: Run instruction handlers according to the effective opcode.Tony Wasserka1-1/+1
This allows for proper emulation of the different CMP/LRP/MAD instructions.
2014-12-20Pica/VertexShader: Implement MAX instructions.Tony Wasserka1-0/+9
2014-12-20Pica: Add support for boolean uniforms.Tony Wasserka4-2/+21
2014-12-20Pica/VertexShader: Add support for MOVA, CMP and IFC.Tony Wasserka2-7/+138
2014-12-20Pica/VertexShader: Move code around a bit.Tony Wasserka1-42/+58
2014-12-20Pica/VertexShader: Some cleanups using std::array.Tony Wasserka2-5/+19
2014-12-20Pica/VertexShader: Support negating src2.Tony Wasserka2-3/+9
2014-12-20Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.Tony Wasserka1-61/+8
2014-12-20Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones.Tony Wasserka2-222/+30
2014-12-20Pica/DebugUtils: Add an event triggered after loading a vertex.Tony Wasserka3-0/+5
2014-12-20Pica/PrimitiveAssembly: Implement triangle strips.Tony Wasserka2-8/+16
2014-12-20Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations.Tony Wasserka1-0/+7
2014-12-20Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes.Tony Wasserka1-7/+8
2014-12-20Add support for a ridiculous number of texture formats.Tony Wasserka3-8/+88
2014-12-20Pica: Unify ugly address translation hacks.Tony Wasserka7-24/+33
2014-12-20Pica: Further improve Tev emulation.Tony Wasserka3-12/+51
2014-12-20Pica: Merge texture lookup logic for DebugUtils and Rasterizer.Tony Wasserka4-56/+42
This effectively adds support for a lot texture formats in the rasterizer.
2014-12-20Pica: Implement texture wrapping.Tony Wasserka2-2/+31
2014-12-20Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.Tony Wasserka2-3/+48
2014-12-20citra-qt: Fix invalid memory read upon program startup.Tony Wasserka1-1/+2
This was caused by the framebuffer display widget not checking whether we are actually in a valid emulation state or not.
2014-12-20Pica: Initial support for multitexturing.Tony Wasserka4-31/+115
2014-12-20BitField: Add an explicit Assign method.Tony Wasserka1-1/+5
This is useful when doing crazy stuff like inheriting from BitField.
2014-12-20citra-qt: static-constify a map.Tony Wasserka1-6/+7
2014-12-20Clean up some warningsChin8-20/+27
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner5-10/+31
2014-12-20Kernel: Implement support for current thread pseudo-handleYuri Kunde Schlesner3-2/+16
This boots a few (mostly Nintendo 1st party) games further.
2014-12-20FS_U: Added the command to the docs of SaveData functionsSubv1-0/+2
2014-12-19Properly erase/remove an observerchinhodado1-1/+1
2014-12-19armemu: Implement QASX and QSAXLioncash1-7/+20
2014-12-19armemu: Implement SMLSDLioncash1-6/+10
2014-12-19dyncom: Implement UMAALLioncash1-1/+47
2014-12-19armemu: Implement USAD8 and USADA8Lioncash1-1/+24
2014-12-19armemu: Fix SSAT16Lioncash1-1/+1
The lower-bound would never be negative like it should
2014-12-19armemu: Clean up naming and formatting for SSAT16Lioncash1-14/+20
2014-12-19GSP_GPU: Shut up FlushDataCachepurpasmart961-1/+25
2014-12-19SystemSaveData: Fixed a typo that was segfaultingSubv1-1/+1
2014-12-18SystemSaveData: Added a TODO to move it to the NAND.Subv1-1/+3
Maybe sometime when we actually implement that
2014-12-18armemu: Fix lower-bounds clamping for USAT16Lioncash1-1/+6
2014-12-18SaveData: Added some documentation to FormatSaveDataSubv1-2/+29
We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData. Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
2014-12-18armemu: More concise names for USAT16-related variablesLioncash1-11/+15
2014-12-18armemu: Get rid of bitwise parenthesis warningsLioncash1-4/+4
2014-12-18armemu: Set GE flags correctly for SSUB16, SADD16, SSAX, and SASX.Lioncash1-4/+29
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv8-2/+80
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
2014-12-18armemu: Combine SSUB16, SADD16, SASX, and SSAX.Lioncash1-34/+23
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv25-490/+458
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found
2014-12-17armemu: Unset GE flags for UADD8 if results are < 0x100Lioncash1-4/+22
Reference manual states these must be set to zero if this case is true.
2014-12-17armemu: Fix SSUB16Lioncash1-8/+8
Broken from the same reason SADD16 was. The lo part of the result should only be constructed from the lo halfwords of rm and rn. The hi part of the result should only be constructed from the hi halfwords of rm and rn.
2014-12-17armemu: Implement UMAALLioncash1-3/+25
2014-12-17armemu: Narrow the scope of some variables in handle_v6_insnLioncash1-12/+9
There's no reason to have these in the outer-most scope.
2014-12-17armemu: Fix SADD16Lioncash1-8/+9
The lo and hi parts of the result were being constructed as a result of hi and lo halfword intermixing from the rm and rn regs. However the lo part of the result should be constructed only from the lo halfwords of rm and rn, and the hi part of the result should only be constructed from the hi halfwords of rm and rn.
2014-12-17armemu: Fix PKHTBNormmatt1-6/+12
2014-12-17armemu: Implement REVSHNormmatt1-5/+9
2014-12-17armemu: Fix UXTAB/UXTAHNormmatt1-4/+4
2014-12-17armemu: Fix SXTABNormmatt1-2/+2
2014-12-17armemu: Fix SXTAHNormmatt1-2/+3
2014-12-16armemu: Fix FTOUI NaN sign.Normmatt1-1/+1
2014-12-16armemu: Fix FSUBS bug where NaN shouldn't be negatedNormmatt1-1/+4
2014-12-16armemu: Fix SMUAD, SMUSD, and SMLADLioncash1-3/+3
Wrong values were being multiplied together.
2014-12-16armemu: Join SMUAD, SMUSD, and SMLADLioncash1-38/+35
2014-12-16armemu: Fix lower-bound signed saturation clamping for QADD16/QSUB16.Lioncash1-2/+2
2014-12-16armemu: Join QADD16 and QSUB16 together.Lioncash1-33/+37
The only difference between these ops is one adds and one subtracts. Everything is literally the same.
2014-12-16Comment out empty arrays causing compile errors in MSVCYuri Kunde Schlesner2-6/+8
2014-12-16Work around libstdc++'s lack of support for std::hash on enumsYuri Kunde Schlesner1-0/+15
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner11-387/+197
- Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
2014-12-16Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner10-17/+17
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner10-18/+18
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner6-12/+12
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner7-42/+32
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner10-49/+43
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner9-12/+11
2014-12-16armemu: Implement UXTAB16Lioncash1-10/+25
2014-12-16Added stub for nim:aoc service...archshift4-0/+62
2014-12-16Added stub for cecd:u service...archshift4-0/+54
I couldn't find any information about this service...
2014-12-16Added stub for ldr:ro service...archshift4-0/+59
2014-12-16Added am:app service stub.archshift4-0/+54
Apparently nothing at all is known about this service...
2014-12-15Clean up CMake library specificationYuri Kunde Schlesner2-8/+10
The X11 libraries don't need to be specified when doing dynamic linking
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner15-104/+129
This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
2014-12-15armemu: Fix UXTB16Lioncash1-12/+12
Rotation bits are 10 and 11, not 9 and 10.
2014-12-15ARM: Pull some SkyEye fixes from 3dmoo.bunnei3-419/+485
2014-12-14Clean up armdefs.hLioncash1-306/+169
2014-12-14Restore the original console color after logging a message.Yuri Kunde Schlesner2-13/+25
Fixes #277
2014-12-14MemMap: Added AXI_WRAM & SHARED_PAGE along with other stuffpurpasmart962-69/+76
Got rid of I/O address's since the I/O addresses range's overlap with other address's types such as vram, these I/O addresses need to be done in an different way.
2014-12-13Kernel/Semaphores: Fixed buildSubv1-2/+2
2014-12-13Kernel/Semaphore: Small style changeSubv1-1/+1
2014-12-13Kernel/Semaphores: Invert the available count checking.Subv1-11/+9
Same semantics, idea by @yuriks
2014-12-13Kernel/Semaphores: Addressed some issues.Subv2-32/+18
2014-12-13Semaphore: Removed an unneeded functionSubv1-5/+0
2014-12-13Semaphores: Addressed some style issuesSubv1-6/+5
2014-12-13Semaphore: Implemented the initial_count parameter.Subv2-5/+7
2014-12-13SVC: Implemented ReleaseSemaphore.Subv4-19/+81
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
2014-12-13SVC: Implemented svcCreateSemaphoreSubv5-1/+117
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
2014-12-13kernel: Remove unused log argumentsLioncash1-3/+3
2014-12-13Remove old logging systemYuri Kunde Schlesner7-851/+2
2014-12-13Add configurable per-class log filteringYuri Kunde Schlesner11-14/+223
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner65-516/+502
2014-12-13Implement text path trimming for shorter paths.Yuri Kunde Schlesner3-1/+53
2014-12-13Re-add coloring to the console logging output.Yuri Kunde Schlesner1-0/+50
2014-12-13New logging systemYuri Kunde Schlesner14-74/+743
2014-12-13Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2-0/+38
2014-12-13Added missing include in common_funcs.hYuri Kunde Schlesner1-0/+1
2014-12-13Remove redundant include from common_funcs.hYuri Kunde Schlesner1-2/+0
2014-12-13APT_U: Added GetSharedFont service function.bunnei2-34/+103
2014-12-12DSP: Added stub for ReadPipeIfPossible.bunnei1-1/+45
2014-12-12Common: Add "sysdata" to GetUserPath and cleanup.bunnei3-26/+3
2014-12-12MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.bunnei5-34/+34
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
2014-12-10CFG:U: Store country codes as u16 instead of char pointers, and return the correct error in GetCountryCodeID.Emmanuel Gil Peyrot1-44/+48
2014-12-10Explicitly specify LE strings to iconv, fixes paths in Steel Diverarchshift1-2/+2
2014-12-10GSP: Trigger GPU interrupts at more accurate locations.bunnei3-8/+21
2014-12-10GSP: Updated TriggerCmdReqQueue to return success code.bunnei1-0/+3
2014-12-10GSP: Updated RegisterInterruptRelayQueue to return expected magic number.bunnei1-1/+4
2014-12-10GPU: Fixed bug in command list size decoding.bunnei4-5/+5
2014-12-09Remove unused NDMA moduleYuri Kunde Schlesner6-90/+0
2014-12-09More cleanups.Tony Wasserka2-6/+13
2014-12-09Pica: Re-enable command names on MSVC.Tony Wasserka1-5/+0
The affected code is no longer limited by compiler support on that platform.
2014-12-09citra-qt: Rename "Stop Tracing" to "Finish Tracing".Tony Wasserka1-1/+1
This better reflects that no commands are supposed to show up until you hit the button a second time.
2014-12-09More coding style fixes.Tony Wasserka3-8/+14
2014-12-09Some code cleanup.Tony Wasserka8-67/+66
2014-12-09citra-qt: Add pica framebuffer widget.Tony Wasserka4-0/+382
2014-12-09citra_qt: Add enhanced texture debugging widgets.Tony Wasserka5-19/+209
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area.
2014-12-09citra-qt: Add texture viewer to Pica command list.Tony Wasserka4-22/+116
The texture viewer is enabled when selecting a write command to one of the texture config registers.
2014-12-09Add GUI widget for controlling pica breakpoints.Tony Wasserka4-0/+339
2014-12-09Pica/DebugUtils: Add breakpoint functionality.Tony Wasserka5-2/+204
2014-12-09citra-qt: Polish the pica tracing widget.Tony Wasserka2-1/+26
Changed start/stop button to reflect current tracing status. Properly labeled column headers.
2014-12-09citra-qt: Add a utility spinbox class called CSpinBox.Tony Wasserka3-0/+393
This class has a few advantages over the regular QSpinBox: - QSpinBox stores its as signed 32 bit integers, which for instance is unsuitable for representing memory addresses. CSpinBox uses 64 bit integers instead. - QSpinBox does not provide an easy way to handle number input from bases different than 10. - QSpinBox is quite inflexible in general and almost any sort of customization requires reimplementing it anyway.
2014-12-09Build fix for something which shouldn't have compiled successfully to begin with.Tony Wasserka1-1/+1
2014-12-09Fix some headers to include their dependencies properly.Tony Wasserka2-0/+7
2014-12-09Thread: Fixed to wait on address when in arbitration.bunnei3-11/+31
2014-12-08Kernel/File: Fixed file read/write hwtestsSubv1-3/+6
The 3DS allows the user to read from files opened with the Write access modifier, even if he did not specify the Read access modifier. Open the files in binary mode so that we can prevent CR/LF problems in Windows, where a line-end is replaced by these two bytes instead of just 0xA, this was causing problems with the GetSize test
2014-12-08armemu: Fix SSAXLioncash1-1/+1
2014-12-08Loader: Add 3DSX supportichfly6-1/+279
2014-12-08armemu: Fix SASXLioncash1-1/+1
2014-12-08armemu: Fix parenthesis warnings regarding bitwise opsLioncash1-4/+4
2014-12-07StringUtil: Perform some minimal cleanup.Tony Wasserka1-3/+3
2014-12-07Integrate Boost into build system and perform a trivial cleanup in vertex_shader.cpp.Tony Wasserka1-6/+10
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift7-3/+40
This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
2014-12-07Mutex: Remove some forward declarationsSubv1-16/+15
Moved Mutex::WaitSynchronization to the end of the file.
2014-12-07Mutex: Release all held mutexes when a thread exits.Subv3-22/+56
2014-12-06Mutex: Properly lock the mutex when a thread enters itSubv1-12/+9
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
2014-12-04Threads: Remove a redundant function.Subv1-9/+1
Use the next_thread_id variable directly.
2014-12-04Threads: Implemented a sequential thread idSubv2-4/+19
2014-12-04Updated archive.cpp functions for proper error handlingarchshift5-94/+41
2014-12-04SVC: Implemented GetThreadId.Subv3-4/+24
For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
2014-12-04mem_map: Make enum for addresses use u32 as the underlying typeLioncash1-1/+1
2014-12-04Add stub for ConvertProcessFromDspDramarchshift2-26/+47
Should theoretically push retail stuff further along
2014-12-04kernel: Shorten GetCountLioncash1-6/+3
2014-12-04kernel: Make some functions constLioncash2-4/+4
2014-12-04hid_user: Pass by reference with PadButtonPress/PadButtonReleaseLioncash2-4/+4
2014-12-04PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & GetAdapterStatepurpasmart961-3/+72
2014-12-03Change NULLs to nullptrs.Rohit Nirmal24-115/+115
2014-12-03MemMap: Updated memory map to subtract base address instead of mask.bunnei2-31/+21
- More readable, a little less error prone. Conflicts: src/core/mem_map.h src/core/mem_map_funcs.cpp
2014-12-03AC_U: Added a stub for GetWifiStatuspurpasmart961-1/+19
2014-12-01Silence a few -Wsign-compare warnings.Rohit Nirmal3-6/+6
2014-12-01DSP: Added stubs for several commonly used DSP service functions.bunnei1-25/+106
2014-12-01DSP: Fixed typo in port name.bunnei1-1/+1
2014-12-01PTM_U: Implemented the GetShellState function.Subv1-1/+18
2014-11-30Fixed viewport error caused by roundingvaguilar1-2/+2
2014-11-30CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString.Subv1-2/+86
2014-11-30GLFW: Add an error callback before calling glfwInit()Emmanuel Gil Peyrot1-2/+6
It will print a message to know what happened in case something went wrong in a GLFW call. Also replace every printf() in the glfw emu-window by ERROR_LOG().
2014-11-29dyncom: Use unordered_map rather than the terrible 2-level bb_mapYuri Kunde Schlesner1-33/+15
Seems (probably just placebo/wishful thinking) to make it slightly faster. Also reduces memory usage and makes shutdown when debugging from MSVC fast.
2014-11-29arm_dyncom_interpreter: Get rid of unused var warningsLioncash1-4/+2
2014-11-29Add comment regarding __WIN32__ in SkyEye codedarkf1-0/+4
2014-11-29Fix MinGW builddarkf9-22/+42
2014-11-27Fixed formatting and switch statement warningsvaguilar7-11/+13
2014-11-26Thread: Check that thread is actually in "wait state" when verifying wait.bunnei1-1/+1
2014-11-26SVC: Add debug log to ArbitrateAddress.bunnei1-0/+2
2014-11-26SVC: SleepThread should yield to the next ready thread.bunnei1-0/+3
2014-11-26Mutex: Changed behavior to always release mutex for all threads.bunnei1-8/+7
2014-11-25Remove unused includes to common/thread.hEmmanuel Gil Peyrot2-3/+0
2014-11-25Log the cmd_buff arguments when citra comes across an unimplemented functionarchshift1-12/+12
2014-11-25Implemented RenameDirectory in FS:USERarchshift8-1/+123
2014-11-25Implemented RenameFile in FS:USERarchshift8-1/+123
2014-11-24Use pointers instead of passing handles around in some functions.Yuri Kunde Schlesner1-19/+15
2014-11-24Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner10-88/+0
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner23-310/+689
All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed.
2014-11-24Change some SkyEye defines to const intsYuri Kunde Schlesner2-34/+16
This prevents them from interfering with other constants defined in different namespaces.
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift8-26/+194
2014-11-21Add more services and some fixes, along with more "override"purpasmart9626-17/+464
in the service's headers
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot14-169/+169
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot74-282/+282
2014-11-19Add static to some variablesLioncash5-69/+69
2014-11-19Kernel:Add missing permissions in shared memory & svcpurpasmart962-5/+13
2014-11-19Merge Config::ReadXYZsarchshift4-59/+26
2014-11-18system: Get rid of an unnecessary enum typedefLioncash1-10/+10
2014-11-18directory_sdmc: Fix a signed/unsigned mismatch comparisonLioncash1-1/+1
2014-11-18Fix documentation of parametersLioncash3-3/+3
2014-11-18Remove extraneous semicolonsLioncash8-8/+8
2014-11-18citra GLFW: Ignore minimal window size hints.Tony Wasserka1-8/+2
GLFW provides no proper support for this, hence we just allow any window size to be used.
2014-11-18EmuWindow: Add some explicit documentation and set proper minimal client area size.Tony Wasserka1-2/+4
2014-11-18citra-qt: Small cleanup.Tony Wasserka1-2/+1
2014-11-18EmuWindow: Add a TODO.Tony Wasserka1-0/+1
Implementing this function currently is not critical, as we don't perform any configuration changes, yet. However, the interface is a good starting point for adding this functionality.
2014-11-18MathUtil: Make Rectangle work with unsigned types.Tony Wasserka1-4/+5
2014-11-18OpenGL Renderer: Cleanup viewport extent calculation.Tony Wasserka2-44/+29
2014-11-18EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.Tony Wasserka1-0/+7
2014-11-18EmuWindow: Remove window title getters/setters.Tony Wasserka4-28/+10
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway.
2014-11-18EmuWindow: Add documentation.Tony Wasserka1-18/+57
2014-11-18EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka5-8/+58
2014-11-18Fixup EmuWindow interface and implementations thereof.Tony Wasserka6-76/+127
2014-11-18Viewport scaling and display density independenceKevin Hartman7-4/+89
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
2014-11-18Add a GUI logging channel.Tony Wasserka2-0/+2
Replace asserts with _dbg_assert_.
2014-11-18core: Mark some hle functions as staticLioncash6-48/+48
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
2014-11-18Archive: Fixed to not destroy archive handle on close.bunnei1-3/+3
2014-11-18Archive: Fixed close archive before freeing.bunnei1-1/+1
2014-11-18FS_User: Support FileSye::Path in a more generic way.bunnei2-42/+76
added a todo to kernel archive
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei12-38/+38
2014-11-18FileSys: Added DebugStr method to Path class.bunnei1-0/+29
2014-11-17Add missing boss:U service, needed according to Nintendo Zone logs.archshift4-0/+59
2014-11-17emu_window: Fix initializer list order.Lioncash1-2/+2
Gets rid of a warning on OSX.
2014-11-17mem_map: Add missing prototype for Write64Lioncash1-0/+1
2014-11-16vertex_shader: Fix control reaches end of function warningLioncash1-1/+1
2014-11-14ARM_Interface: Make destructor virtualLioncash1-1/+1
Fixes some warnings on OSX.
2014-11-14Fix two format strings.Lioncash2-3/+3
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift5-189/+254
2014-11-12APT_U: Added stub for function AppletUtility.bunnei1-1/+29
2014-11-12APT_U: Set a valid parameter buffer size in GlanceParameter.bunnei1-17/+39
- Also Clarified GlanceParameter/ReceiveParameter documentation.
2014-11-12APT_U: Release service lock on initialization.bunnei1-0/+4
2014-11-12APT_U: Fixes for GetLockHandle to boot system titles.bunnei1-1/+18
- Also added comment to GetLockHandle function.
2014-11-12ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable).bunnei1-2/+2
- Fixes single stepping in debugger.
2014-11-12Core: Changed RunLoop iterations to 1000 (slightly better performance).bunnei1-6/+6
2014-11-12Citra-Qt: Use Core::RunLoop when not single stepping.bunnei1-12/+9
2014-11-12ARM: Removed unnecessary goto with each instruction.bunnei1-43/+39
2014-11-12ARM: Fixed several dyncom bugs.bunnei4-18/+26
- Fixed NZCVT flags to properly save state when function returns. - Fixed counter to keep track of the actual number of instructions executed. - Fixed single-step mode to only execute one instruction at a time. - DefaultIni: Removed comment that no longer applied to dyncom.
2014-11-11Add FRD:U service and functionsarchshift4-0/+66
2014-11-10Add support for UTF-16 strings for LowPaths in FS:USERarchshift2-86/+182
2014-11-05Qt: Auto-start game when selected, play game that's passed via argv[1].archshift1-2/+7
Also moves system initialization to when the game is booted.
2014-11-03Add support for disabling log from settingsSean8-0/+37
2014-11-03Fix compilation errorsSean Maas1-2/+2
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift8-4/+103
2014-11-02Added ReceiveNotification, PublishToSubscriber unimplemented functions to SRVarchshift1-0/+2
2014-11-02ARM: Merged additional ARMv6 instructions implemented by 3dmoo.bunnei1-42/+234
2014-11-02ARM: Merge latest VFP fixes from 3dmoo team.bunnei4-2096/+2388
2014-11-02Fixed capitalization issuesGareth Poole1-2/+2
2014-11-02Added stub err:f service.archshift4-0/+58
2014-11-01Added a bunch of servicespurpasmart9618-0/+597
2014-10-31Fix VFP compilation errors with gccYuri Kunde Schlesner1-12/+12
2014-10-30FS:USER - Implemented IsSdmcDetectedarchshift1-1/+17
2014-10-30Fix some warningsSean9-17/+17
2014-10-29Renamed souce files of services to match port namesGareth Poole15-23/+23
2014-10-28Added `gpu_refresh_rate` config setting for the new interpreter speed hack.archshift5-11/+7
2014-10-28Use configuration files to enable or disable the new dyncom interpreter.archshift10-7/+67
2014-10-26vfp_helper: Get rid of integer type redefinitionsLioncash1-7/+1
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner23-87/+87
This was automated using `clang-modernize`.
2014-10-26Fix compile errors in ClangYuri Kunde Schlesner1-1/+0
2014-10-25bit_field: Fix a typo in the sample usage.Lioncash1-1/+1
2014-10-25ARM: Removed unnecessary and unused SkyEye MMU code.bunnei22-7743/+326
Added license header back in. I originally removed this because I mostly rewrote the file, but meh
2014-10-25ARM: Removed unused armos code from SkyEye.bunnei4-747/+0
2014-10-25ARM: Updated dyncom core to use fast label lookup table on clang.bunnei1-3/+7
2014-10-25ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei20-75/+8230
Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state.
2014-10-25ARM: Reorganized file structure to move shared SkyEye code to a more common area.bunnei34-80/+80
Removed s_ prefix
2014-10-25Don’t fail on empty filename in OpenFileDirectly, return the archive handle insteadEmmanuel Gil Peyrot1-8/+7
2014-10-24Removed uses of raw c-string manipulation functions.archshift4-21/+10
2014-10-23Use std sized types instead of platform specific typedefsYuri Kunde Schlesner2-32/+12
2014-10-23Common: Return from CreateFullPath early if the directory creation failsarchshift1-2/+4
2014-10-23Use config files to store whether SDMC is enabled or notarchshift7-2/+36
Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs).
2014-10-21Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner1-9/+6
This prevents a crash when the buffer size returned by the driver is 0, in which case no space is allocated to store even the NULL byte and glGetShaderInfoLog errors out. Thanks to @Relys for the bug report.
2014-10-19emu_window_glfw.cpp: Fixed graceful quittingarchshift1-1/+1
In PR #143, the name of the function IsOpen was originally ShouldClose, but was changed. The function's caller was changed to reflect this, but the return value wasn't.
2014-10-17Implemented graceful closing of the GLFW window, along with emulation.archshift3-1/+9
2014-10-14hid.cpp: Fixed crash when updating pad data while nullarchshift1-0/+4
Fixes #137
2014-10-12OpenGL renderer: Request a forward compatible context in citra-qtYuri Kunde Schlesner2-6/+3
This should fix context creation on OS X. Also requests a core context on all platforms in Citra-GLFW, for consistency.
2014-10-12Rework OpenGL renderer.Yuri Kunde Schlesner4-233/+193
The OpenGL renderer has been revised, with the following changes: - Initialization and rendering have been refactored to reduce the number of redundant objects used. - Framebuffer rotation is now done directly, using texture mapping. - Vertex coordinates are now given in pixels, and the projection matrix isn't hardcoded anymore.
2014-10-12Rename GPU::Regs::FramebufferFormat to PixelFormatYuri Kunde Schlesner2-14/+10
This name better represents what the enum does, and is less overloaded in the context. (The whole register the enum is part of is also called 'format'.)
2014-10-12OpenGL renderer: Shuffle initialization code around and rename functions.Yuri Kunde Schlesner2-25/+18
2014-10-12Remove virtual inheritance from RendererOpenGLYuri Kunde Schlesner2-3/+3
Also make destructor virtual so that instances are properly destructed.
2014-10-08Fix warnings in video_coreLioncash9-26/+26
2014-10-08APT: Added a stub for the "GlanceParameter" function.purpasmart961-1/+31
2014-10-08Added configuration file system.archshift22-130/+406
Uses QSettings on citra-qt, and inih on citra-cli.
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot5-29/+80
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-10-06FileSys: Add static asserts for the Directory struct, and fix its fields position.Emmanuel Gil Peyrot1-2/+8
2014-10-06FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot7-14/+57
Kernel: Return an invalid handle to OpenFile when it failed to open.
2014-10-06FileSys/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot6-0/+49
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot7-4/+35
2014-10-05Added some more names to the function tablepurpasmart961-0/+2
Added "SetApplicationCpuTimeLimit" and "GetApplicationCpuTimeLimit" to apt.cpp
2014-09-30added "StoreDataCache" to the function tablepurpasmart961-0/+1
seems simple enough
2014-09-28Fix warnings in core and commonLioncash5-17/+7
2014-09-22chunk_file: General cleanupLioncash1-244/+0
- Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
2014-09-21Use the citra user path for the sdmc directoryarchshift4-2/+5
2014-09-17Kernel: Implement the Close command for Archive, File and Directory.Emmanuel Gil Peyrot2-0/+43
2014-09-17FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.Emmanuel Gil Peyrot1-20/+177
2014-09-17Kernel: Add a Directory object and a getter for it from an Archive object.Emmanuel Gil Peyrot3-0/+91
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot5-0/+44
2014-09-17Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot6-0/+264
2014-09-17Kernel: Add a File object and a getter for it from an Archive object.Emmanuel Gil Peyrot2-0/+118
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot5-0/+302
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub implementation.Emmanuel Gil Peyrot7-0/+208
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot8-31/+31
2014-09-17Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot1-8/+20
2014-09-15Core: Get rid of unnecessary switch statement in KernelLioncash1-41/+2
2014-09-14Core: Fix warnings in gpu.cppLioncash2-7/+7
2014-09-13Core: Replace a sprintf in core_timing with StringFromFormatLioncash1-5/+7
2014-09-12Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman12-204/+259
2014-09-12Initial HID PAD work, with GLFW only.Kevin Hartman7-27/+310
2014-09-12Created structure for PAD.Kevin Hartman2-0/+28
2014-09-09Removed fixed_size_queue.harchshift2-71/+0
It's unused and doesn't look like it compiles anyway :/
2014-09-09core: Prune redundant includesarchshift20-37/+0
2014-09-09common: Prune all redundant includesarchshift10-34/+3
2014-09-09Moved common_types::Rect from common to Common namespacearchshift3-4/+4
2014-09-09Added string_util to common, small changes in loader.cpparchshift14-88/+94
2014-09-09loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift3-18/+17
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
2014-09-08Common: Remove HAVE_CXX11_SYNTAX define from Common.hLioncash1-6/+0
2014-09-08Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash1-3/+8
2014-09-07Removed common/std_xyz, instead using the std headerarchshift8-857/+7
2014-09-07renderer_opengl.cpp: improved alignment for readabilityarchshift1-16/+16
2014-09-07Dead code removal: video_core.cpp, load_symbol_map.cpparchshift2-8/+1
2014-09-07bootmanager::EmuThread: fixed initialization orderarchshift1-3/+2
2014-09-07utils: cleaned up DumpTGA, removing redundanciesarchshift2-21/+13
2014-09-06core: Make the ARM disassembler use std::string internallyLioncash5-195/+147
2014-09-06ncch: Remove C-style struct typedefsLioncash1-4/+4
In C++ you can simply just declare it as is.
2014-09-06ncch: inline declare some variables in LZSS_DecompressLioncash1-7/+5
2014-09-06core: Pass string by reference in FetchFromPortName and DeleteServiceLioncash2-4/+4
2014-09-03Removed common/atomic, instead using std::atomicarchshift5-202/+4
2014-09-01Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner15-2605/+0
2014-09-01Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner1-0/+2
2014-09-01CMake cleanupYuri Kunde Schlesner6-94/+147
Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers.
2014-09-01Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner13-17/+2822
This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows.
2014-08-31GPU: Improve frame synchronization, increases compatibility with both homebrew and retail applications.bunnei1-13/+31
2014-08-31Core: Refactor core to use only one function for execution.bunnei3-21/+20
Core: Cleaned up comment to be more readable. Citra: Changed loop to be more readable.
2014-08-31Loader: Added support for loading raw BIN executables.bunnei3-1/+22
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
2014-08-31Threading: Fix thread starting to execute first instruction correctly.bunnei2-1/+6
2014-08-31srv::Initialize: Return "success" status code.bunnei1-0/+4
2014-08-31Introduce VAddr and PAddr typedefs for ARM addresses.Yuri Kunde Schlesner2-31/+40
2014-08-28Loader: Added support for loading raw BIN executables.bunnei3-1/+22
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
2014-08-28Threading: Fix thread starting to execute first instruction correctly.bunnei2-1/+6
2014-08-28srv::Initialize: Return "success" status code.bunnei1-0/+4
2014-08-28Downgrade GLSL version to 1.50 (compatible with GL 3.2)Yuri Kunde Schlesner3-10/+15
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei5-17/+23
2014-08-26Rewrite of OpenGL renderer, including OS X supportKevin Hartman8-211/+340
Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk.
2014-08-25Pica/Rasterizer: Clarify a TODO.Tony Wasserka1-1/+3
2014-08-25Pica/VertexShader: Fix a bug in the call stack handling.Tony Wasserka1-2/+3
2014-08-25Math: Warning fixes.Tony Wasserka1-14/+23
2014-08-25GPU: Fix a compiler warning about redundant semicolons.Tony Wasserka1-2/+2
2014-08-25Pica: Consolidate the primitive assembly code in PrimitiveAssembly and GeometryDumper.Tony Wasserka5-46/+74
2014-08-25Pica/Rasterizer: Add texturing support.Tony Wasserka3-18/+69
2014-08-25Pica/DebugUtils: Add convenient tev setup printer.Tony Wasserka3-0/+101
2014-08-25Pica/Rasterizer: Add initial implementation of texture combiners.Tony Wasserka2-2/+225
2014-08-25Pica: Add support for dumping textures.Tony Wasserka5-3/+179
2014-08-25Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.Tony Wasserka3-98/+133
- Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work). - The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors. - Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>).
2014-08-25Pica/VertexShader: Fix a bug in the bitfield definitions and add the "negate" field for swizzlers.Tony Wasserka2-14/+92
2014-08-25Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.Tony Wasserka8-194/+142
2014-08-25Pica/CommandProcessor: Implement parameter masking.Tony Wasserka2-6/+25
2014-08-25Pica: Add debug utilities for dumping shaders.Tony Wasserka4-1/+227
2014-08-25Pica: Add debug utility functions for dumping geometry data.Tony Wasserka6-4/+123
2014-08-25GSP: Update framebuffer information when necessary.Tony Wasserka2-2/+41
2014-08-25GSP: Implement SetBufferSwap.Tony Wasserka2-1/+47
2014-08-25GSP: Add a helper function for convenience.Tony Wasserka1-17/+22
2014-08-24Pass format to the QGLWidget and use atomic instead of mutex.Sacha2-13/+5
2014-08-24Fix EmuThread loop by ensuring it exits properly.Sacha2-9/+29
Note: There is a pre-existing issue with booting a new game in that it keeps the old EmuThread. The GL code now supports this but the Core still doesn't.
2014-08-24Fix the threading for GL Context in Qt5.Sacha4-10/+21
Connect the emu_thread start/finish to a moveContext slot.
2014-08-23Added FS functions to Archive and Archive_RomFSarchshift4-11/+88
2014-08-20ARM: Remove a forgotten const in vfp.Emmanuel Gil Peyrot2-2/+2
2014-08-20Revert "Removed redundant loop in EmuThread::run()"archshift1-7/+10
2014-08-20Removed unused citra.harchshift6-15/+3
2014-08-19Add Qt5 option. Use Qt5 by default.Sacha1-13/+19
2014-08-19Common: Add a clamp function to math_utils.hLioncash1-0/+7
2014-08-19Core: Use std::array for managing kernel object spaceLioncash2-5/+5
These avoid relying on memset for clearing the arrays.
2014-08-19SVC: Added support for svc_GetSystemTick.bunnei2-19/+48
Changed HLE function return methods to be static inline functions.
2014-08-18Common: Get rid of an unnecessary forward declaration in symbols.hLioncash1-2/+0
2014-08-18Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash2-2/+2
Returning a copy of the string is what was likely meant to be done.
2014-08-18CMake CleanupSacha1-23/+9
2014-08-18Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash16-41/+38
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
2014-08-17Core: Fix a formatting error in svc.cppLioncash1-3/+2
entry_point would not be added to the string. Also used StringFromFormat so that the buffer is unnecessary.
2014-08-17Core: Fix undefined behavior in mem_map_funcs' WriteBlock functionLioncash1-4/+8
2014-08-17Common: Correctly set ptr to null if mmap fails in memory_utilLioncash1-5/+8
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
2014-08-17Common: Move remaining C header includes over to their C++ equivalentLioncash8-21/+20
2014-08-17Common: Move header guards over to pragma onceLioncash33-146/+41
Also replaced C headers with the C++ equivalent ones
2014-08-17Removed redundant loop in EmuThread::run()archshift1-10/+7
2014-08-16mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.Emmanuel Gil Peyrot1-24/+23
2014-08-15Bootmanager: changed `filename` to std::stringarchshift5-10/+10
2014-08-13float24: Remove private default constructorarchshift1-2/+0
Fixes building with clang.
2014-08-13HID: Added new function entries from 3dbrew to FunctionTable.bunnei1-0/+5
HID: Fix typo with DisableGyroscopeLow command.
2014-08-12Simplified if-tree in extended_trace.cpparchshift1-13/+9
2014-08-12Use glewExperimental on Linux in order to fix GLFW-modearchshift1-3/+2
2014-08-12Pica: Add basic rasterizer.Tony Wasserka7-2/+260
2014-08-12Pica: Add triangle clipper.Tony Wasserka7-8/+230
2014-08-12Pica: Add primitive assembly stage.Tony Wasserka7-2/+95
2014-08-12Pica: Add vertex shader implementation.Tony Wasserka7-10/+722
2014-08-12Pica: Implement vertex loading.Tony Wasserka2-8/+102
2014-08-12Pica: Add register definition for vertex loading and rendering.Tony Wasserka1-33/+128
2014-08-12Pica: Add command processor.Tony Wasserka9-9/+113
2014-08-12Pica: Add float24 structure.Tony Wasserka1-0/+75
24-bit floating points are used internally for calculations on the GPU, however the current code will still emulate that with 32-bit floating points. In the future we might want to accurately perform the calculations with correct bitness in the future, but for now we just wrap the calculations around this class.
2014-08-12Video core: Add utility class for vector operations.Tony Wasserka4-1/+582
I wrote most of this for ppsspp, so I hold full copyright over it. In addition to the original release in ppsspp, this provides functionality to easily extend e.g. two-dimensional vectors to three-dimensional vectors.
2014-08-12Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.Tony Wasserka8-216/+80
This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
2014-08-12GSP: Fix a major regression introduced in ffda035c, due to which no display transfers were triggered at all anymore.Tony Wasserka1-4/+13
2014-08-12break_points.cpp: return directly from conditionalsarchshift1-6/+2
2014-08-12break_points: cleaned up, added `find_if`sarchshift2-59/+51
2014-08-12Changed iterators to use auto, some of which using range-based loopsarchshift2-42/+43
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka9-416/+377
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
2014-08-08Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley1-1/+3
2014-08-08HID: Implemented HID_User::GetIPCHandles service function.bunnei1-5/+39
2014-08-08SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.bunnei1-1/+1
2014-08-07GPU: Updated g_last_ticks variable to be more descriptive (represents CPU tick count of last vertical line).bunnei1-5/+5
2014-08-07GPU: Updated horizontal sync line counter to use framebuffer height.bunnei1-2/+3
2014-08-07Thread: Added more descriptive comment to WaitCurrentThread.bunnei2-2/+10
2014-08-07GSP: Cleaned up command buffer decoding.bunnei2-61/+69
GSP: Cleaned up code and added additional comments. GSP: Removed unnecessary TODO comment. GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
2014-08-06GSP: Added reinitialization of other state objects.bunnei1-0/+3
2014-08-06GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.bunnei5-93/+94
- Various other cleanups.
2014-08-06GSP: Removed unnecessary GX_FinishCommand function.bunnei1-13/+5
2014-08-06GSP: Implements preliminary command synchronization via GPU interrupts.bunnei4-29/+140
Core: Added a comment to explain the logic for the RunLoop iterations.
2014-08-06MemMap: Fixed typo with GetPointer to VRAM address.bunnei1-1/+1
2014-08-06AddressArbiter: Removed unnecessary HLE::Reschedule.bunnei1-1/+0
2014-08-06AddressArbiter: Fixed bug with break statements missing from case statements.bunnei1-0/+2
2014-08-06SRV: Updated GetProcSemaphore to create an event instead of a mutex.bunnei1-8/+10
2014-08-06SVC: Removed ArbitrateAddress log message that spams to much.bunnei1-2/+0
2014-08-06Kernel: Updated Event and Mutex to specify handle that they are blocking for.bunnei2-2/+2
2014-08-06Qt: Removed unnecessary HW::Update.bunnei1-1/+0
2014-08-06MemMap: Added an error for unaligned 16-bit memory reads.bunnei1-0/+7
2014-08-06MemMap: Removed Read64 function.bunnei1-6/+0
- Unused code - Was not correct for unaligned memory reads
2014-08-06FS: Fix port name (old port name was based on an unaligned memory read).bunnei1-1/+1
2014-08-06MemMap: Fix Read32 for unaligned memory reads.bunnei1-12/+23
MemMap: Cleaned up Read32 unaligned memory access.
2014-07-24ARM: Synchronize Citra's SkyEye core with 3dmoo's.bunnei6-5919/+5303
2014-07-23citra-qt: Show function names in disassembler based on bunnei's suggestion.Tony Wasserka1-5/+21
2014-07-23Disassembler: Chose slightly lower value for chunk size.Tony Wasserka1-1/+3
2014-07-23Use uniform formatting when printing hexadecimal numbers.Tony Wasserka2-4/+4
2014-07-23Fix a few warnings.Tony Wasserka3-7/+7
Templates shouldn't be marked as inline if they aren't defined in the header.
2014-07-23GPU: Clarify display transfer code.Tony Wasserka1-12/+15
Also makes the illogical component order more obvious.
2014-07-23GPU: Add documentation.Tony Wasserka1-2/+14
2014-07-23GSP: Add a few comments.Tony Wasserka2-1/+15
2014-07-23GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.Tony Wasserka4-56/+99
Anonymous structs are not standard C++, hence don't use them.
2014-07-23RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka4-148/+140
2014-07-23GPU: Make use of RegisterSet.Tony Wasserka4-353/+228
2014-07-23GPU: Make framebuffer code format-aware.Tony Wasserka1-6/+47
2014-07-23Renderer: Fix component order in bottom framebuffer.Tony Wasserka2-5/+4
2014-07-23Renderer: Respect the active_fb GPU register.Tony Wasserka1-2/+9
2014-07-23Renderer: Add a few TODOs.Tony Wasserka1-3/+10
2014-07-23GPU: Interface cleanup.Tony Wasserka2-13/+20
2014-07-23GPU: Initialize GPU registers to some sensible default state.Tony Wasserka1-1/+16
2014-07-23GPU: Emulate memory fills.Tony Wasserka4-3/+89
2014-07-23GPU: Add proper framebuffer register handling.Tony Wasserka2-11/+105
2014-07-23GPU: Properly implement display transfers.Tony Wasserka1-1/+19
2014-07-23GPU: Add display transfer configuration.Tony Wasserka2-0/+92
2014-07-23GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.Tony Wasserka2-2/+17
2014-07-23GSP: Implement ReadHWRegs and WriteHWRegs properly.Tony Wasserka1-27/+46
2014-07-22Use a more compatible choice of initial framebuffer addresses.Tony Wasserka1-10/+22
2014-07-22GPU debugger: Don't keep track of debugging data if no debugger views are active.Tony Wasserka1-0/+6
2014-07-20core: Kill off type redefenitions in armdefs.hLioncash1-7/+0
2014-07-19[build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner1-1/+8
The Git for Windows installer doesn't add the Git binaries to the path by default. (Due to risk of conflicts with built-in windows commands.) Unless you have configured your system specially this causes the scm_rev_gen.js script to fail to find Git. Added more paths to the script so that it searches in the default msysgit installation directory, eliminating the need to set the PATH for most environments.
2014-07-16BitField: Cast enum values to proper integer type.Tony Wasserka1-1/+1
2014-07-16BitField: Add a static_assert.Tony Wasserka1-0/+1
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
2014-07-16BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka1-0/+16
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka1-0/+5
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
2014-07-09Kernel: Added preliminary support for address arbiters.bunnei7-9/+144
AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
2014-07-09Thread: Added functions to resume threads from address arbitration.bunnei2-0/+44
Thread: Cleaned up arbitrate address functions. Thread: Cleaned up ArbitrateAllThreads function.
2014-07-08function_wrappers: Fixed incorrect wrapper, added another.bunnei1-2/+9
2014-07-05SharedMemory: Updated MapSharedMemory to use an enum for permissions.bunnei3-16/+36
- Also added some safety checks to MapSharedMemory.
2014-07-05Memory: Removed deprecated MapBlock_Shared function.bunnei2-30/+0
2014-07-05GSP: Fixed to use real shared memory object, various cleanups.bunnei2-30/+40
- Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew) GSP: Added name for shared memory. GSP: Cleaned up assertion message.
2014-07-05Kernel: Added support for shared memory objects.bunnei5-0/+142
SharedMemory: Added optional name field for tracking known objects.
2014-07-05mem_map: Updated interface to expose template functions to other modules.bunnei2-10/+16
2014-07-05NCCH: Updated ExeFS memory allocation to be safer.bunnei2-1/+7
2014-07-05Archive: Added Init/Shutdown methods to reset kernel archive state.bunnei3-0/+19
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".bunnei3-13/+13
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei3-3/+3
2014-07-05Loader: Updated read methods to be constbunnei5-68/+79
- Required "file" handle to be made local and explicitly opened/closed as needed
2014-07-05Qt: Updated open dialog to include NCCH formats.bunnei1-1/+1
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei11-160/+311
Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
2014-07-04APT: Added stubbed ReceiveParameter and various cleanups.bunnei1-71/+93
APT: More cleanups. APT: Changed SignalType to be type u32.
2014-07-02citra-qt: Rewrite disassembly view.Tony Wasserka2-60/+186
2014-06-27Loader: Refactored interface such that data is no longer stored by loader.bunnei3-96/+73
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
2014-06-27FS: Added stubbed code to intercept and decode file system service functions.bunnei6-0/+164
FS: Added to CMakeLists.txt
2014-06-27Kernel: Added stubbed code to support creation of kernel Archive objects.bunnei6-0/+95
2014-06-27Core: Removed unused directory_file_system and meta_file_system modules.bunnei9-1477/+0
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
2014-06-25Loader: Refactored loading functions to only read data from binary if called.bunnei3-74/+141
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
2014-06-25MemMap: Added a WriteBlock function to write a buffer of data to memory.bunnei2-0/+14
2014-06-25ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.bunnei1-19/+8
2014-06-25Loader: Refactored use of const.bunnei6-20/+19
2014-06-25NCCH: Added RomFS loading.bunnei2-1/+36
2014-06-25NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.bunnei3-22/+29
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
2014-06-25Loader: Implemented AppLoader interface for abstracting application loading.bunnei8-543/+682
- Various cleanups/refactorings to Loader, ELF, and NCCH modules. - Added AppLoader interface to ELF and NCCH. - Updated Qt/GLFW frontends to check AppLoader ResultStatus. NCCH: Removed extra qualification typos. Loader: Removed unnecessary #include's. NCCH: Improved readability of memcmp statements. NCCH: Added missing space. Elf: Removed unnecessary usage of unique_ptr. Loader: Removed unnecessary usage of unique_ptr.
2014-06-22citra_qt: Removed autogenerated files from repo and fixed build issues.bunnei11-710/+5
2014-06-17NCCH: Changed decompression to load .code directly into memory rather than an intermediate buffer.bunnei1-9/+3
2014-06-17Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h".bunnei1-117/+1
2014-06-17Loader: Cleaned up and removed unused code, refactored ELF namespace.bunnei4-209/+70
2014-06-17Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.bunnei8-372/+342
2014-06-17Loader: Added support for booting NCCH executables.bunnei6-0/+384
NCCH: Fixed typo in printing NCCH filename.
2014-06-17Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei11-33/+38
2014-06-16Loader: Added stubbed detection of CXI and CCI files.bunnei1-0/+6
2014-06-16Loader: Removed unused CXI and DAT loading code.bunnei1-76/+0
2014-06-13Kernel: Removed unnecessary "#pragma once".bunnei1-2/+0
2014-06-13Kernel: Added freeing of kernel objects on emulator shutdown.bunnei3-0/+13
2014-06-13Event: Updated several log messages to be assertions.bunnei1-16/+8
2014-06-13HLE: Moved "PARAM" and "RETURN" macros to function_wrappers.h (this is only module where they are needed).bunnei2-5/+6
2014-06-13SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.bunnei2-157/+145
2014-06-13Thread: Renamed occurrences of "t" to "thread" to improve readability.bunnei1-48/+45
2014-06-13Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could unnecessarily be logged.bunnei1-9/+7
2014-06-13HLE: Removed usnused EatCycles function.bunnei3-15/+0
2014-06-13SVC: Cleaned up function wrappers to pass in correct argument types.bunnei2-870/+201
2014-06-13Thread: Moved position of * in arguments.bunnei1-2/+2
2014-06-13Thread: Updated VerifyWait to be more readable (but functionally the same).bunnei1-4/+3
2014-06-13SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability.bunnei1-1/+1
2014-06-13HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei13-239/+239
2014-06-13Kernel: Updated various kernel function "name" arguments to be const references.bunnei4-6/+6
2014-06-13HLE: Updated various handle debug assertions to be more clear.bunnei4-10/+10
2014-06-13Mutex: Moved ReleaseMutex iterator declaration to be inside while loop.bunnei1-2/+1
2014-06-13Kernel: Updated several member functions to be constbunnei5-13/+13
2014-06-13Core: Cleaned up SingleStep(), updated default LCD refresh to assume each instruction is ~3 cyclesbunnei2-12/+14
2014-06-13Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles)bunnei1-2/+2
2014-06-13Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly setbunnei1-1/+1
2014-06-13Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects)bunnei3-23/+4
2014-06-13Kernel: Added real support for thread and event blockingbunnei6-76/+196
- SVC: Added ExitThread support - SVC: Added SignalEvent support - Thread: Added WAITTYPE_EVENT for waiting threads for event signals - Thread: Added support for blocking on other threads to finish (e.g. Thread::Join) - Thread: Added debug function for printing current threads ready for execution - Thread: Removed hack/broken thread ready state code from Kernel::Reschedule - Mutex: Moved WaitCurrentThread from SVC to Mutex::WaitSynchronization - Event: Added support for blocking threads on event signalling Kernel: Added missing algorithm #include for use of std::find on non-Windows platforms.
2014-06-12GPU debugger: Const correctness and build fix.Tony Wasserka1-3/+3
2014-06-12Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei1-2/+0
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift3-1/+9
2014-06-12Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei1-2/+0
2014-06-12Pica: Use some template magic to define register structures efficiently.Tony Wasserka4-28/+268
2014-06-12Further refine GPU command list debugging.Tony Wasserka3-4/+27
2014-06-12Refine command list debugging functionality and its qt interface.Tony Wasserka4-27/+124
2014-06-12citra-qt: Add command list view.Tony Wasserka8-2/+129
2014-06-12GPU debugger: Add functionality to inspect command lists.Tony Wasserka2-1/+57
2014-06-12video core: added PICA definitions file.Tony Wasserka3-0/+37
2014-06-12GPU: Cleanup register definitions.Tony Wasserka3-31/+31
2014-06-12Rename LCD to GPU.Tony Wasserka11-41/+41
2014-06-12citra-qt: Add GX command history viewer.Tony Wasserka7-7/+151
2014-06-12Add initial graphics debugger interface.Tony Wasserka4-3/+108
2014-06-12GSP: Define more GX commands.Tony Wasserka2-14/+54
2014-06-12Pica: Add command list registers.Tony Wasserka2-5/+52
2014-06-05qt: updated disassembler to show 2X as many instructionsbunnei1-1/+1
2014-06-05hle: added a hokey way to force a thread reschedule during CPU single step mode (as used by the debugger)bunnei3-1/+7
2014-06-05arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expectedbunnei1-1/+1
2014-06-05kernel: changed current default thread priority back to 0x30 - I think this is more correctbunnei1-1/+1
2014-06-05arm: fixed bug in how thread context switch occurs with SkyEyebunnei2-2/+9
2014-06-05service: added a error log messages for unimplemented WaitSynchronizationbunnei1-0/+1
2014-06-05arm: reverting a change made with cb0663de - this has to have been a typo!bunnei1-1/+1
2014-06-03svc: added optional name field to Event and Mutex (used for debugging)bunnei6-12/+25
2014-06-03kernel: moved position of * for GetTypeName and GetNamebunnei1-2/+2
2014-06-03coprocessor: reenabled debug logbunnei1-1/+1
2014-06-02svc: updated WaitSynchronizationN to properly use first pointer argumentbunnei2-4/+6
2014-06-02svc: changed DuplicateHandle log message from "error" to "debug"bunnei1-1/+1
2014-06-02svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle supportbunnei3-3/+77
2014-06-02kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedulebunnei6-9/+17
2014-06-02arm: added option to prepare CPU core (while mid-instruction) for thread reschedulebunnei3-0/+11
2014-06-02svc: cleaned up function_wrappers, updated various SVCs to make use of pointer argumentsbunnei2-31/+40
2014-06-01Added 'this' reference to num_instructions field so it's properly updated,as before the method was affecting the local method parameter rather than the class fieldDisruption1-1/+1
2014-06-01log: updated MAX_LOGLEVEL to use correct log level enum typebunnei3-5/+5
2014-06-01log: updated GenericLog __attribute__ for newly added parameterbunnei1-1/+1
2014-06-01svc: added missing function wrapper for SleepThreadbunnei1-0/+4
2014-06-01gsp: always pass through synchronization barrier for commandsbunnei1-1/+16
2014-06-01svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing)bunnei1-2/+21
2014-06-01thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for executionbunnei1-0/+18
2014-06-01event: added a hackish ability to set an event as "locked" to its current state, cleaned up some commentsbunnei2-4/+32
2014-05-30hle: added stubbed service for ndm_ubunnei5-0/+74
2014-05-30service: cleaned up log messagesbunnei1-2/+2
2014-05-30service: removed PT_A from, as this was just an alias for APT_Ubunnei1-2/+0
2014-05-30srv: fix to log unimplemented service (instead of crash)bunnei1-6/+2
2014-05-30mutex: fixed typo in ReleaseMutexbunnei1-1/+3
2014-05-30hle: cleaned up log messagesbunnei8-45/+49
2014-05-30svc: updated OutputDebugString to use OS_LOGbunnei1-1/+1
2014-05-30arm: removed unnecessary code when calling SVC from skyeyebunnei1-16/+0
2014-05-30log: fixed to not print twice, enabled coloring, added OS print logging as its own typebunnei4-37/+42
2014-05-30core: changed time delay before kernel reschedule to "approximate" a screen refreshbunnei1-3/+12
2014-05-30svc: changed unimplemented SVC log messages from "debug" messages to "error" messagesbunnei1-8/+8
2014-05-30svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixesbunnei2-22/+38
- force kernel reschedule after svcWaitSynchronization - fixed some bugs with passing in pointer arguments - cleaned up some comments and log messages
2014-05-30event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some commentsbunnei2-9/+14
2014-05-30service: added additional hack to return success on unimplemented service callsbunnei1-2/+10
2014-05-30srv: changed a NOTICE_LOG to DEBUG_LOGbunnei1-1/+1
2014-05-30svc: added ArbitrationType enumerationbunnei1-0/+9
2014-05-29apt: added stubbed function for InquireNotificationbunnei1-78/+86
2014-05-29hle: properly cast 64-bit function wrapper parameters to (u64)bunnei1-2/+2
2014-05-29hle: removed PARAM64 macro (this was incorrect), made several bug fixes accordingly for decoding U64 function parametersbunnei2-3/+2
2014-05-29lcd: moved kFrameTicks to lcd.h for use in other modulesbunnei2-2/+2
2014-05-29service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot furtherbunnei1-2/+2
2014-05-28APT_U: added stubbed function for APT_U::Enable, fixed some log messages to be more consistentbunnei1-3/+10
2014-05-28mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertionsbunnei1-0/+6
2014-05-28svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEventbunnei1-14/+54
2014-05-28APT_U: added event creation to Initialize methodbunnei1-1/+11
2014-05-28event: fixed typos and updated CMakeListsbunnei2-1/+2
2014-05-28event: added SetEventLocked method to change status an events lockbunnei2-0/+18
2014-05-28kernel: added event module to support creation of CTR "Event" objectsbunnei4-0/+127
2014-05-27mutex: removed docstring comment that is no longer relevantbunnei1-1/+0
2014-05-27mutex: added additional docstringsbunnei1-0/+2
2014-05-27kernel: added WaitSynchronization method to Kernel::Objectbunnei4-0/+39
2014-05-27kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei5-10/+33
2014-05-27svc: added some assertionsbunnei1-6/+4
2014-05-27service: Renamed Sync to SyncRequestbunnei1-1/+1
2014-05-27kernel: added enum for known CurrentThread and CurrentProcess handlesbunnei1-0/+5
2014-05-27srv: added a real mutex for GetProcSemaphore (instead of stubbed)bunnei1-3/+10
2014-05-27svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)bunnei1-2/+2
2014-05-27kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequestbunnei4-6/+11
2014-05-27svc: added stub for DuplicateHandle SVC callbunnei1-1/+8
2014-05-23service: fixed typo that MSVC did not catch as an errorbunnei1-1/+1
2014-05-23core: fixed headers in CMakeListsbunnei1-1/+4
2014-05-23core: added Kernel::Reschedule() call to check for thread changes, shortened delay time to 100 instructionsbunnei1-1/+6
2014-05-23svc: added a check to ensure that a service was implemented before attempting to connect to its portbunnei1-1/+5
2014-05-23lcd: added thread wait after (faked) vblank interrupt (would have) occurredbunnei1-0/+4
2014-05-23thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argumentbunnei3-6/+6
2014-05-23thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThreadbunnei3-12/+9
2014-05-23kernel: refactored function naming to remove "__" prefixbunnei6-65/+75
2014-05-23core: moved armcopro.cpp to correct filter folder (arm/interpreter)bunnei1-3/+3
2014-05-23thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR resetbunnei2-35/+40
2014-05-23APT_U: added a debug log on calling GetLockHandlebunnei1-0/+1
2014-05-23arm_interpreter: fixed load context to currently resume a threadbunnei1-1/+4
2014-05-22thread: fixed bug where result of __NextThread was not being properly checked when NULLbunnei1-1/+1
2014-05-22svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handlesbunnei1-4/+7
2014-05-21svc: enabled use of newly created kernel thread handlebunnei1-5/+5
2014-05-21mutex: refactored the interface to code to return a Mutex* handlebunnei4-5/+16
2014-05-21mutex: initial commit of HLE modulebunnei7-10/+166
2014-05-21svc: added some commentsbunnei1-0/+7
2014-05-21kernel: fixed include, in general include "common.h" not "common_types.h"bunnei1-1/+1
2014-05-21service: removed redundant include of common_types.hbunnei1-1/+0
2014-05-21arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it)bunnei2-4/+3
2014-05-21armemu: missed rename of "Syscall" to "SVC"bunnei1-1/+1
2014-05-21thread: added correct lowest thread priority, added a thread priority check, and added some commentsbunnei2-6/+10
2014-05-21thread: exposed ResumeThreadFromWait function for use in other kernel modulesbunnei2-8/+11
2014-05-21thread: moved threading calls to the Kernel namespacebunnei4-103/+117
2014-05-21ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guidebunnei3-45/+45
2014-05-21ARM_Interface: added SaveContext and LoadContext functions for HLE thread switchingbunnei4-37/+65
2014-05-21renamed "syscall" module to "svc" (more accurate naming)bunnei9-26/+28
2014-05-21thread: whitespace change - fixed * and & placementbunnei2-27/+27
2014-05-21- created a Kernel namespacebunnei6-75/+87
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
2014-05-20apt: changed stubbed handle to be something other than 0xDEADBEEF (used as a magic value in other places) so that I can track how it propagates through the app codebunnei1-1/+1
2014-05-20thread: added declaration for __KernelReschedule to be used by syscall modulebunnei1-0/+3
2014-05-20VFP: disable DBG messages because they spam the console with unimportant skyeye junkbunnei1-1/+1
2014-05-20common_types: Changed BasicRect back to Rect, in the common namespacearchshift3-7/+9
Only Rect is in the namespace for now; the rest of common should be added in the future
2014-05-20Improved clarity and whitespacearchshift4-4/+6
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
2014-05-20CMakeLists: rename HEADS, improved commentsarchshift5-10/+10
Changes for clarity of comments, removed redundant compiler flags.
2014-05-19Indent fixesarchshift1-31/+31
2014-05-19renamed "session" to "handle"bunnei1-3/+3
2014-05-19- renamed NewHandle to CreateHandlebunnei2-8/+8
- updated CreateHandle/DeleteHandle to use KernelObject's
2014-05-19fix warningbunnei1-1/+1
2014-05-19- updated service(s) to be KernelObject'sbunnei7-59/+31
- various cleanups
2014-05-19renamed "UID" to "Handle" where appropriatebunnei4-24/+22
2014-05-19- moved Handle/Result definitions to kernel.hbunnei6-14/+19
- added ResetType enum
2014-05-18- added stub for CreateEventbunnei1-8/+22
- changed some stubbed SVCs to return unique handle names for debugging purposes
2014-05-18added stubbed function for WaitSynchronizationNbunnei2-4/+19
2014-05-17Fixed vfp issuesarchshift4-10/+10
2014-05-17ignore thumbemu 0xDEADCODE debugging catch on MCRbunnei1-2/+1
2014-05-17changed a commentbunnei2-2/+2
2014-05-17cleanups to SVC CreateThreadbunnei1-8/+15
2014-05-17updated how we call ARM core to make things much fasterbunnei8-30/+44
2014-05-17Updated cmakelistsarchshift2-6/+13
2014-05-17- added enum ThreadProcessorIdbunnei2-53/+107
- reorganized some kernel thread functions - added placeholder __KernelWaitThread_Synchronization function
2014-05-17added MIN, MAX, and CLAMP macros to common_funcsbunnei1-0/+5
2014-05-17- replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTHbunnei3-8/+12
- added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
2014-05-17added stubbed GetProcSemaphore - does nothing but avoids an exceptionbunnei1-1/+7
2014-05-17add kernel.* and thread.* to VS filtersbunnei1-0/+15
2014-05-17updated APT_U::GetLockHandle to return a valid handlebunnei1-1/+5
2014-05-17same fix as last commit - just for vfpsingle.cppbunnei1-2/+2
2014-05-17another VFP fix for GCCbunnei1-2/+2
2014-05-17fixed VFP DBG log for GCCbunnei1-1/+1
2014-05-17fixed typo in CMakeLists.txtbunnei1-1/+1
2014-05-17- reenabled MCR and MRC functions now that VFP is attachedbunnei4-116/+94
- removed HLE::CallMCR function (was pointless)
2014-05-17- removed unused stubbed out codebunnei5-33/+27
- fixed some compiler issues with xscale_copro when porting code to Windows - fixed some #include's
2014-05-16added maverick.cpp to ARM core from skyeyebunnei4-1/+1212
2014-05-16fixed includesbunnei1-2/+2
2014-05-16enabled CP_ACCESS_ALLOWEDbunnei1-6/+4
2014-05-16fixed include pathbunnei1-1/+1
2014-05-16removed undefined function ARMul_ConsolePrintbunnei1-1/+1
2014-05-16added missing armcopro from skyeyebunnei6-251/+1098
2014-05-16added missing skyeye mmu codebunnei12-44/+3333
2014-05-16fixed armmmu importsbunnei1-5/+5
2014-05-16- moved mmu to arm/interpreter folderbunnei16-1/+8791
- added initial VFP code from skyeye
2014-05-16- added SVC stubs for QueryMemory and GetThreadIdbunnei3-2/+30
- added SVC structs MemoryInfo and PageInfo
2014-05-16added memory mapped region for system mem - sdk demos load a segment here on ELF loadbunnei3-1/+23
2014-05-16added ability to load AXF files (same as ELF)bunnei2-1/+4
2014-05-16completely gutted/refactored threading code to be simplerbunnei2-658/+230
2014-05-16changed "UID" to "Handle" to be a little more consistent with CTR namingbunnei2-18/+21
2014-05-16- added ThreadContext structbunnei2-8/+26
- cleaned up CreateThread svc
2014-05-16added ThreadQueueList class to common (taken from PPSSPP)bunnei3-0/+218
2014-05-15- added helper function for __KernelCreateThreadbunnei2-4/+76
- added __KernelSwitchToThread for enabling a thread - added __KernelRotateThreadReadyQueue
2014-05-15changed primary thread priority to 0x30 - this is typical, not 0x31bunnei1-1/+2
2014-05-15added function stubs for EatCycles and ReSchedulebunnei2-0/+15
2014-05-14fixed thread reset to not set stack addressbunnei1-1/+1
2014-05-14various cleanups / remove unused codebunnei2-65/+29
2014-05-14added a bunch of threading code, recycled from PPSSPP, with lots of hacks in for 3DS... doesn't really do much yet. Just a jumping off pointbunnei2-70/+543
2014-05-14changed loader to use __KernelLoadExecbunnei1-8/+9
2014-05-14added CreateThread, CreateMutex, and ReleaseMutex SVC stubs (just parameter decoding for now)bunnei2-7/+38
2014-05-14- added __KernelLoadExec functionbunnei2-13/+35
- fixed some logging
2014-05-12added option to set CPSR register to arm_interfacebunnei3-0/+20
2014-05-10added initial kernel/thread modulesbunnei7-0/+548
2014-05-10added kernel logger to commonbunnei2-3/+5
2014-05-08removed unknown fields from GX_CmdBufferHeaderbunnei1-5/+0
2014-05-08removed incorrect dolphin copyright linebunnei1-1/+0
2014-05-08Update FlipFramebufferSethpaien1-7/+6
Less calculations + fix
2014-05-08fixed include of common in bit_field.hbunnei1-1/+1
2014-05-08logger fix for linuxbunnei2-3/+3
2014-05-08removed unnecessary log messagebunnei1-1/+1
2014-05-08- removed HLE mem "hack" and replaced with kernel mem regionbunnei8-116/+100
- added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
2014-05-08added kernel memory to mem_mapbunnei2-0/+9
2014-05-08added GSP to loggersbunnei2-2/+2
2014-05-08added BitField to commonbunnei3-0/+175
2014-05-07- added debug logging to syscall.cppbunnei2-135/+173
- added stubbed HLE syscall functions for svc_GetResourceLimit and svc_GetResourceLimitCurrentValues
2014-05-07added mem_map read for config_membunnei2-7/+17
2014-05-07added config_mem module for HLE of firmware configuration memory settingsbunnei5-0/+100
2014-05-07- disable strict alignment on LDRD/STRDbunnei1-17/+22
- handle RD in STREX/STREXB
2014-05-06- added better SVC loggingbunnei2-5/+5
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
2014-05-06commented out useless debug logs that just spammed consolebunnei1-3/+3
2014-05-05Fixed indentsarchshift1-7/+7
2014-05-02Check arg count before attempting to access it.archshift1-1/+8
2014-05-02- added CallMCR function to coprocessor HLE modulebunnei3-29/+43
- moved instruction decoding to coprocessor HLE module
2014-05-02fixed include in coprocessor.cppbunnei1-1/+1
2014-05-02renamed hle "mrc" module to "coprocessor"bunnei6-17/+17
2014-05-02- added some function wrappers for HLEbunnei2-10/+29
- added stub for SVC CreateAddressArbiter - added OutputDebugString SVC
2014-05-02Use runtime arguments to specify boot filename.archshift1-1/+1
2014-05-01Support for C++11 on OSXarchshift1-2/+2
2014-05-01- added option to load a code.bin file extracted from a CXI filebunnei2-14/+63
- updated load launcher.dat function to use ARM11 format hack
2014-05-01added symbol map load function to Qt GUIbunnei4-11/+31
2014-05-01added a module to load symbol map files for debuggingbunnei5-0/+55
2014-05-01fixed a bug where ExeFs code was being incorrectly maskedbunnei1-1/+1
2014-05-01Fixed indentsarchshift8-68/+66
2014-05-01Reverse debugging changesarchshift2-3/+1
2014-05-01Linux supportarchshift2-2/+7
2014-05-01Unintended change reversalarchshift1-36/+36
2014-05-01TGA dumps work, courtesy of @bunneiarchshift3-37/+39
2014-05-01Sets OGL version for Qt; will only work with Qt5archshift1-6/+10
2014-05-01OpenGL 3+ on OSX with GLFWarchshift2-1/+10
2014-05-01A bit of Cmake lovearchshift3-9/+46
2014-05-01added virtual memory map for ExeFS (where ARM11 code is supposed to be loaded)bunnei3-1/+17
2014-05-01reorganized memory regions enum, added regions for ExeFS codebunnei2-21/+26
2014-04-30Some more experimentationarchshift2-4/+4
2014-04-29IT'S ALIVE!archshift4-5/+71
2014-04-28Fix complaints about functions that could not be foundarchshift1-1/+1
2014-04-28Problematic class with no current implementationarchshift1-2/+2
2014-04-28Problematic template functionsarchshift1-15/+0
2014-04-28Xcode complains that the class name is redundant.archshift1-1/+1
2014-04-28Rect to BasicRectarchshift3-7/+7
Somewhere along the line an OSX header had already taken the name Rect.
2014-04-28added virtual address conversion for firmware FW0Bbunnei2-5/+11
2014-04-28add missing bswap functionsbunnei1-0/+44
2014-04-28fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei1-13/+0
2014-04-28removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei8-21/+2
2014-04-28fixed weird spacingbunnei1-1/+1
2014-04-28removed commented out line - this was for an unimplemented MRC call, no longer need to leave this herebunnei1-1/+0
2014-04-27fixed renderer to use correct framebuffer locationbunnei2-8/+7
2014-04-27hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS)bunnei1-3/+9
2014-04-27added helper functions to mem_map to convert physical addresses to virtual addressesbunnei2-1/+15
2014-04-27added code to LCD modules keep track of framebuffer location in FCRAM or VRAMbunnei2-15/+153
2014-04-26- changed HW IO map to use virtual addressesbunnei4-42/+64
- added hooks to catch LCD IO read/writes
2014-04-26added simple GSP GPU ReadHWRegs function to support returning the framebuffer addressbunnei1-1/+37
2014-04-26added preliminary DataSynchronizationBarrier support with simple DMA copybunnei1-7/+39
2014-04-26added (fake) physical addresses for where to put framebuffer in VRAMbunnei1-0/+10
2014-04-26added vram to memory_mapbunnei2-8/+15
2014-04-26Need to add Xcursor to linker?Thomas Edvalson1-1/+1
2014-04-25moved HLE::MRC to its own module, added support for catching data synchronization barrier commandbunnei9-13/+66
2014-04-25added disassembly to unimplemented instructionbunnei1-1/+6
2014-04-25removed some cruftbunnei1-7/+1
2014-04-25fixed bug where svc_ControlMemory was not properly getting passed in parametersbunnei1-2/+2
2014-04-25Fixed CMake's import of GLFW.Thomas Edvalson1-1/+1
2014-04-25Resolved undefined Common::g_scm_branch error.Thomas Edvalson1-1/+1
2014-04-25- added preliminary support for svc_MapMemoryBlockbunnei4-14/+70
- added shared memory region - moarrrr cleanups to memory_map
2014-04-25added functions to map Heap and Shared memory spacebunnei3-9/+76
2014-04-25added GSP::RegisterInterruptRelayQueue functionbunnei1-31/+40
2014-04-25- refactored how service functions are calledbunnei5-19/+39
- added option to create/delete service handles
2014-04-24made qt window title consistentbunnei2-1/+5
2014-04-24fixes to scm_rev generation to make it conistent with windows buildbunnei2-5/+5
2014-04-24updated windows scm_rev code to use new styleShizZy5-66/+53
2014-04-24added scm rev generation on Linux/cmakebunnei6-51/+37
2014-04-23fixes to build on linuxbunnei8-50/+53
2014-04-23removed duplicate rotl/rotr functionsShizZy1-26/+0
2014-04-23updated CMakeLists for missing filesShizZy3-7/+16
2014-04-22Re-enable toggling window mode.Mathieu Vaillancourt4-48/+55
2014-04-22Add a quick way to load Launcher.dat filesMathieu Vaillancourt2-5/+60
2014-04-22fixed order of LogManager and System initbunnei1-1/+1
2014-04-22fixed GL context acquire (applies to Qt GUI only)bunnei1-0/+2
2014-04-19Remove unused QTableViewMathieu Vaillancourt3-37/+2
2014-04-19UI/debugger changesMathieu Vaillancourt19-233/+285
2014-04-18renamed hw_lcd module to just lcdbunnei7-13/+11
2014-04-18added NDMA hardware interfacebunnei7-4/+143
2014-04-18added GSP heap memory allocationbunnei3-1/+76
2014-04-18fixed bug in Memory::GetPointerbunnei1-2/+2
2014-04-18moved enums into Memory:: namespacebunnei1-4/+2
2014-04-18added memory read/write to GSP heapbunnei3-7/+16
2014-04-18more various refactors to memory interfacebunnei3-48/+58
2014-04-18cleaned up memory interfaces a lot, removed some hackish stuffbunnei3-106/+50
2014-04-17fixed framebuffer color orderbunnei1-1/+1
2014-04-17added a new function wrapperbunnei1-0/+5
2014-04-17removed hard-coded framebuffer addresses from renderer_opengl.cppbunnei1-2/+4
2014-04-17fixed bug with printing std::string in log messagesbunnei1-2/+2
2014-04-17changed unknown memory read/write to report the sizebunnei1-2/+3
2014-04-17added class stub for HID:User servicebunnei5-0/+80
2014-04-17updated service commentsbunnei6-5/+17
2014-04-17- fixed tabs in function_wrappers.hbunnei4-395/+413
- fixed log message wording in hle.cpp - added syscall stubs for CloseHandle and WaitSynchronization1
2014-04-16- added stubbed out GSP::Gpu service interfacebunnei9-7/+111
- various cleanups/refactors to HLE services
2014-04-16removed no longer used function headerbunnei1-2/+0
2014-04-16restructured hle:services completely to use function lookup tablesbunnei5-137/+215
2014-04-16fixed naming for APT_Ubunnei3-9/+9
2014-04-16- extracted srv: calls from service.cpp and put in its own modulebunnei6-106/+113
- added function tables for service calls - lots of refactoring
2014-04-15added helper functions for upper/lowercase stringsbunnei2-0/+22
2014-04-14added a stub for GetLockHandlebunnei3-9/+44
2014-04-13added framework for APT service (application and title launching service)bunnei7-5/+126
2014-04-13renamed class Interface_SRV to SRVbunnei1-6/+6
2014-04-13replace tabs with spacesbunnei1-3/+3
2014-04-13added some very initial command parsing for SRV Syncbunnei1-5/+31
2014-04-13added a GetPointer function for reading from HLE command bufferbunnei2-0/+14
2014-04-13fixed hw write declarations to not be constbunnei1-4/+4
2014-04-13added OS memory read/write for thread command bufferbunnei4-12/+60
2014-04-13cleanups to service HLEbunnei2-8/+8
2014-04-13- added HLE to connect to "srv:" servicebunnei11-168/+386
- added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function
2014-04-13Init window size from VideoCore. Start changing the default window behavior...Mathieu Vaillancourt5-29/+17
2014-04-13Show symbols in disasmMathieu Vaillancourt1-1/+9
2014-04-13Implement simple LoadSymbols for ELF filesMathieu Vaillancourt1-63/+13
2014-04-13Add symbols mapMathieu Vaillancourt4-0/+100
2014-04-12hacked CPU interpreter to ignore branch on SVC instruction (as we are HLEing this...)bunnei1-2/+6
2014-04-12added a SETABORT method that does not update LR (for HLE'd SVC that does not jump appcore CPU to an IRQ vector)bunnei1-0/+11
2014-04-12added a memory mapped option for HLEbunnei1-5/+8
2014-04-12- renamed hle_syscall to just syscallbunnei7-106/+157
- added service.h as an initial service interface
2014-04-12replace tabs with spacesbunnei1-6/+6
2014-04-12moved hle.cpp into hle folder (due to mistake earlier)bunnei3-2/+2
2014-04-11Fixed GPLv2 license issuebunnei1-2/+7
Doing this from work via GitHub - Sorry for not combining with previous commits
2014-04-11Fixed GPLv2 license issuebunnei1-2/+7
Doing this from work via GitHub - Sorry for not combining with previous commits
2014-04-11Fixed GPLv2 license issuebunnei1-2/+7
2014-04-11added remaining known syscall functions to Syscall_Tablebunnei1-0/+80
2014-04-11base code to call a syscall from ARM11 appcorebunnei5-9/+85
2014-04-11updated logging messagebunnei1-2/+2
2014-04-11cleaned up some logging messagesbunnei6-33/+21
2014-04-11added logger for generic HLEbunnei2-3/+3
2014-04-11changed some naming/misc cleanupsbunnei4-21/+20
2014-04-11- removed syscall classes (will just use HLEFunction)bunnei6-15/+54
- added hle.cpp and module registration - removed unused code
2014-04-11Temporarily "fix" citra_qt for WindowsMathieu Vaillancourt17-577/+90
2014-04-11removed scm_rev.h from version controlbunnei1-4/+0
2014-04-11removed unused macros from citra.hbunnei1-9/+0
2014-04-11added missing const to GetWindowTitlebunnei1-1/+1
2014-04-11added initial modules for setting up SysCall HLEbunnei7-0/+862
2014-04-11missed this file with commit 95e5436fbunnei1-1/+10
2014-04-11added Memory::GetCharPointer to read strings from HLE functionsbunnei1-0/+4
2014-04-11cleaned up arm_interface, added a setter to set registers for use with HLE return valuesbunnei2-6/+70
2014-04-10fixed a bunch of errors in CMakeListsbunnei3-5/+5
2014-04-10updated CMakeListsbunnei5-42/+43
2014-04-09- removed deprecated version.hbunnei10-102/+74
- cleaned up window title - cleaned up emu_window_glfw/emu_window
2014-04-09fixed licensing and updated code style naming for arm_interface/arm_interpreter frontend modulebunnei3-94/+57
2014-04-09fixed license headers in citra projectbunnei4-116/+16
2014-04-09fixed scm_rev_genbunnei2-5/+5
2014-04-09fixed project includes to use new directory structurebunnei94-612/+633
2014-04-09got rid of 'src' folders in each sub-projectbunnei148-0/+0
2014-04-09fixed some license headers that I missedbunnei2-46/+6
2014-04-09fixed all license file headers in corebunnei12-303/+44
2014-04-09fixed licensing issue with core_timing being GPL v2+ instead of Dolphin's GPL v2bunnei2-487/+455
2014-04-09fixed license header in video_corebunnei7-182/+23
2014-04-09- removed lots of unused code from gekkobunnei3-367/+110
- updated code style/naming conventions
2014-04-07removed unused comments, changed main processing loop to be infinitebunnei1-34/+2
2014-04-07added support for renderering the external framebuffersbunnei2-20/+147
2014-04-07added external framebuffer GL handlesbunnei1-2/+11
2014-04-07removed log message from hw_lcdbunnei1-2/+0
2014-04-07added hack physical memory reads with Memory::GetPointerbunnei1-2/+9
2014-04-07added "citra" instead of "emu" to title barbunnei1-1/+1
2014-04-06added logger option specifically for the rendererbunnei2-2/+2
2014-04-06calling SwapBuffers from hw_lcd.cppbunnei1-0/+2
2014-04-06initialize VideoCorebunnei1-2/+3
2014-04-06added initial renderer codebunnei7-19/+534
2014-04-06set window size to correspond to framebuffer sizesbunnei2-5/+4
2014-04-06added project linker referencebunnei1-0/+3
2014-04-05added video_core project to solutionbunnei8-0/+567
2014-04-05added missing includes to common_types.hbunnei1-0/+3
2014-04-05added g_app_core->Step and HW::Update to Core::SingleStep to be consistent with other changes madebunnei1-1/+5
2014-04-05changed hw_lcd to use ARM core correct tick counter instead of [what was actually] just an instruction count. this seems to fix timing issues with the 3DS_Homebrew_Pong3Dv2 demo.bunnei3-8/+48
2014-04-05Updated common_types.h to use Gekko's version w/ Rect and some useful unionsbunnei1-30/+102
2014-04-05added DISALLOW_COPY_AND_ASSIGN macrobunnei1-0/+5
2014-04-05added LCD loggerbunnei2-2/+2
2014-04-05add hw_lcd.* to VS project filesbunnei2-0/+8
2014-04-05added an "Update" method to update all hardwarebunnei2-0/+10
2014-04-05added a module for interfacing to hardware LCDbunnei2-0/+129
2014-04-05added a tick counterbunnei1-4/+12
2014-04-05added initial support for hw.cpp modulebunnei8-52/+69
2014-04-05Remove Core::GetState(). Use new ARM_Interface instead.Mathieu Vaillancourt4-29/+25
2014-04-05Support vs express edition without having to get platform sdkMathieu Vaillancourt1-0/+0
2014-04-05added hw module to interface h/w register reads/writesbunnei5-3/+118
2014-04-05added a HW option to loggingbunnei2-48/+48
2014-04-05renamed some functionsbunnei1-11/+11
2014-04-05added entry point loading from ELF filebunnei1-2/+4
2014-04-05- added an interface layer for ARM coresbunnei7-77/+213
- cleaned up core.cpp a bit
2014-04-05renamed ARM disassembler class from "Arm" to "ARM_Disasm"bunnei2-27/+27
2014-04-05got rid of some really poorly named macros in SkyEye corebunnei3-9/+9
2014-04-05moved arm core to interpreter directorybunnei17-65/+71
2014-04-04added some commented out ARMulator functionsbunnei1-20/+3
2014-04-04added hack to allow physical mem read/writesbunnei1-2/+20
2014-04-04made memory #define's enum to make debugging easierbunnei1-15/+21
2014-04-04More Qt changes for debuggerMathieu Vaillancourt9-187/+190
2014-04-04Add Core::GetState() for debuggerMathieu Vaillancourt2-0/+9
2014-04-04removed some useless log messagesbunnei1-2/+0
2014-04-04added thumb mode emulationbunnei6-4/+522
2014-04-02convert tabs to spacesbunnei47-5298/+5298
2014-04-02convert tabs to spacesbunnei10-6796/+6796
2014-04-02-converted tabs to spacesbunnei2-149/+145
-moved scratchpad memory out of MemArena
2014-04-01Load file in qt windowMathieu Vaillancourt1-12/+12
2014-04-01Basic QT windowMathieu Vaillancourt40-0/+4463
2014-04-01added very hackish ARMulator core initialization and CPU steppingbunnei1-6/+97
2014-04-01added simple processing loop and ELF loading to main()... hackish, will cleanup laterbunnei1-4/+17
2014-04-01added ELF loading support to loader.cppbunnei1-69/+113
2014-04-01commented out bswap stuff... ARM ELF files are little endian anywaybunnei1-9/+10
2014-04-01added support for reading/writing to stack membunnei3-17/+40
2014-04-01grabbed ppsspp's MemArenabunnei2-221/+428
2014-03-30replaced some error logs with debug assertsbunnei1-4/+2
2014-03-30removed unnecessary debug assertbunnei1-1/+0
2014-03-30added ARM11 MMU from skyeyebunnei6-145/+116
2014-03-30initialize mem regionsbunnei1-0/+2
2014-03-30added various arm modules from skyeye to make project link OKbunnei9-166/+2582
2014-03-25added a GetPointer function to Memory for use with ELF loadingbunnei3-30/+33
2014-03-25updated Windows project files to include ELF filesbunnei2-0/+7
2014-03-25added Dolphin's ELF reader to the projectbunnei3-0/+594
2013-10-06renamed FILETYPE_CTR_DIRECTORY to FILETYPE_DIRECTORY_CXIShizZy2-12/+10
2013-10-06fixed a typo in declaration of meta file systemShizZy1-2/+2
2013-10-03moved some core functions over to system moduleShizZy5-15/+13
2013-10-02added core_timing and system modules to core vcprojShizZy6-2/+823
2013-10-02added an early function for booting from a directoryShizZy2-16/+35
2013-10-02added a message option to Core::Halt functionShizZy2-2/+2
2013-10-02added TIME logger for core timingShizZy2-2/+2
2013-10-02renamed GC_ALIGNED* macros to MEMORY_ALIGNED*ShizZy1-12/+12
2013-09-27upgraded proj files to vs 2013ShizZy5-5/+29
2013-09-27added system.h to projectShizZy5-22/+87
2013-09-26renamed from citrus to citraShizZy16-43/+43
2013-09-26added meta_file_system to projectShizZy4-0/+637
2013-09-26renamed file_sys_directory.* to directory_file_system.*ShizZy4-5/+5
2013-09-26moved file_sys back to coreShizZy7-6/+15
2013-09-24removed <windows.h> include from common.h and added it only where neededShizZy3-5/+5
2013-09-24moved file_sys to commonShizZy7-15/+6
2013-09-24removed unused commented-out codeShizZy1-154/+0
2013-09-24renamed PSPFileInfo to just FileInfoShizZy3-21/+21
2013-09-24added PPSSPP's file system directory module for game loadingShizZy3-10/+138
2013-09-24added localtime_r for use on windowsShizZy1-0/+8
2013-09-24added utf8 to common module, utils for dealing with utf8ShizZy4-0/+534
2013-09-20ppsspp file system module - currently unusedShizZy3-0/+1008
2013-09-20updated to chunk_file module from ppssppShizZy1-133/+623
2013-09-20added a module for loading bootable binariesShizZy6-4/+207
2013-09-20added mem_map hardware writingShizZy3-75/+76
2013-09-19added hw R/W/ memory functionsShizZy5-3/+161
2013-09-19added swap types to commonShizZy4-0/+549
2013-09-19refactored some mem_map stuffShizZy2-19/+36
2013-09-19added log msg to coreShizZy1-0/+2
2013-09-19added core initialization to app entry pointShizZy1-5/+3
2013-09-19removed CORE and LOADER from LogTypesShizZy1-2/+0
2013-09-19added CORE and LOADER to LogTypesShizZy1-0/+2
2013-09-18added ARMulator/skyeye ARM11 core to the projectShizZy18-0/+11356
2013-09-18changed log CPU from PPC to ARM11ShizZy2-2/+3
2013-09-18added default windows includeShizZy1-0/+4
2013-09-18initialized log managerShizZy1-0/+5
2013-09-16added file platform.hShizZy4-0/+137
2013-09-14renamed project to 'citrus'ShizZy19-46/+46
2013-09-13added scm_rev_gen project to automatically create a header with the git revision on buildShizZy4-3/+162
2013-09-09cleaned up VS project filesShizZy3-67/+24
2013-09-09fixed some code warningsShizZy2-2/+2
2013-09-09 removed unneeded dolphin paths code, fixed linker problems with common.libShizZy3-132/+118
2013-09-09re-enabled GetLastErrorMsgShizZy1-19/+23
2013-09-09removed ignored specific libraries section from project fileShizZy1-2/+4
2013-09-08updated common pathsShizZy4-16/+13
2013-09-06start of 3DS memory mapShizZy5-16/+80
2013-09-06added core and mem_map files to the projectShizZy7-14/+244
2013-09-05added an ARM disassembler from the android projectShizZy4-0/+1175
2013-09-05added missing filesShizZy3-0/+154
2013-09-05deleting renamed directoryShizZy2-156/+0
2013-09-05various fixes to be able to build projectShizZy8-151/+112
2013-09-05added emu_window.h to define interface to drawing to a windowShizZy3-0/+108
2013-09-05updated CMakeLists.txt file for new common filesShizZy1-9/+16
2013-09-05replaced common code with dolphin commonShizZy51-107/+8640
2013-09-04deleted gekko's common filesShizZy28-4543/+0
2013-08-30adding initial project layoutShizZy44-0/+5555