bunnei
5a855bdb2f
CoreTiming: Initialize static variables at bootup.
11 years ago
bunnei
d3c2f9a4a4
HLE: Properly initialize and shutdown remaining modules.
11 years ago
bunnei
bab5abaf46
Dyncom: Move cream cache to ARMul_State.
11 years ago
bunnei
c7dc799e19
Kernel: Properly initialize and shutdown all modules.
11 years ago
bunnei
57aaaf92db
HW: Properly initialize and shutdown all modules.
11 years ago
bunnei
e0cb85691a
Services: Initialize all state variables at bootup.
11 years ago
bunnei
bbabed8e98
Memory: Properly cleanup & shutdown.
11 years ago
bunnei
28df8dbfeb
Qt: Create emu thread on bootup, kill it on shutdown.
11 years ago
bunnei
d5665fea89
EmuThread: Remove unused filename attribute.
11 years ago
bunnei
762c1a9ff5
Qt: Move EmuThread ownership from render window to main window.
11 years ago
bunnei
4d30edc11e
Merge pull request #717 from linkmauve/useless-auto
...
VideoCore: Remove a superfluous auto variable declaration in debug_utils
11 years ago
Emmanuel Gil Peyrot
36b48082d5
VideoCore: Remove a superfluous auto variable declaration in debug_utils.
11 years ago
purpasmart96
8716445621
ConfigMem: Remove duplicate retail bit
11 years ago
bunnei
2cc6511039
Merge pull request #692 from purpasmart96/log_improvements
...
Services/Loader: Use more sensible log formats for certain functions along with more info being logged.
11 years ago
purpasmart96
c3a480160e
Services/Loader: Use more sensible log formats for certain functions
...
along with more info being logged.
11 years ago
Lioncash
1baab50e7c
ptm_sysm: Add static specifier to IsLegacyPowerOff
11 years ago
Lioncash
8b2b620a5e
dyncom: Remove more unused/unnecessary code
...
Gets rid of a sizeable amount of stuff in armdefs.
11 years ago
bunnei
a698e15c5d
Merge pull request #703 from lioncash/cruft
...
dyncom: Remove unused/unnecessary VFP cruft
11 years ago
Lioncash
d66a12c6f6
dyncom: Remove unused/unnecessary VFP cruft
11 years ago
bunnei
5e55a525d8
Merge pull request #691 from rohit-n/sign-compare
...
Silence some -Wsign-compare warnings.
11 years ago
Yuri Kunde Schlesner
6402de9ae7
Common: thread.h cleanups
...
The helper classes are rendered obsolete by C++11 lambdas. Also made
formatting conform to our code style.
11 years ago
bunnei
3ee9f6c5d8
Merge pull request #696 from yuriks/interface-deinline
...
De-inline functions from Interface, removing them from service.h
11 years ago
Emmanuel Gil Peyrot
2e860bd59c
Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.
11 years ago
Emmanuel Gil Peyrot
d9eb7ca95c
citra-qt: Use std::abs() to get the right absolute function for s64.
11 years ago
Emmanuel Gil Peyrot
0d69b2f7bd
Kernel: Use the correct format string for u64 hex.
11 years ago
Emmanuel Gil Peyrot
bdcf28e3bc
Headers: Add some forgotten overrides, thanks clang!
11 years ago
Yuri Kunde Schlesner
ad3e25b414
De-inline functions from Interface, removing them from service.h
...
This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
11 years ago
bunnei
db4bd98bac
SVC: Assert on unsupported CreateThread processor ID.
11 years ago
Rohit Nirmal
f15c142c5e
Silence some -Wsign-compare warnings.
11 years ago
bunnei
c077bcefa9
SVC: Update various SVCs to cause a reschedule.
...
- CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress
11 years ago
bunnei
9c3419ebcc
Kernel: Implemented priority inheritance for mutexes.
11 years ago
bunnei
7b9f428b23
Thread: Implement priority boost for starved threads.
...
SVC: Return correct error code on invalid CreateThread processor ID.
SVC: Assert when creating a thread with an invalid userland priority.
11 years ago
bunnei
ee3377b67d
SVC: Reschedule on svcCreateThread.
11 years ago
bunnei
bdd190363d
APT: (Subv) Fix bug where start event was being incorrectly signaled.
11 years ago
bunnei
e08f55b1a7
Kernel: Fixed default thread priority.
11 years ago
Gareth Higgins
25a43cd2ec
Initialize base address to 0x0
11 years ago
Tony Wasserka
8af5753da5
Merge pull request #689 from lioncash/format
...
gpu: Fix a missing format specifier
11 years ago
bunnei
114126b216
Merge pull request #688 from lioncash/unused
...
dyncom: Remove unnecessary enum and typedef
11 years ago
bunnei
e630fd2a95
Merge pull request #676 from purpasmart96/ir_service_refc
...
IR: Move The IR services to their own folder and implement "GetHandles"
11 years ago
Lioncash
7da90dee42
gpu: Fix a missing format specifier
11 years ago
Lioncash
a6c9e453b2
dyncom: Remove unnecessary enum and typedef
...
Also fixes descriptions in the process.
11 years ago
Lioncash
29a4b6c7ed
vfp: Make the FPSID values match the MPCore
11 years ago
Lioncash
f9cc6d6484
vfp: Get rid of the VFP_OFFSET macro
11 years ago
bunnei
14dcd98653
Merge pull request #685 from lioncash/cpregs
...
dyncom: Set the MPCore CP15 register reset values on initialization.
11 years ago
Lioncash
8004d35ea1
core: Migrate 3DS-specific CP15 register setting into Init
11 years ago
Lioncash
c3ffe8f9c3
arm_interface: Support retrieval/storage to CP15 registers
11 years ago
Lioncash
b7b8b67620
Move CP15 enum definitions into their own enum.
...
Also gets rid of preprocessor mumbo-jumbo
11 years ago
Lioncash
23dd2ca8a6
dyncom: Properly return the value of the user RO thread register
11 years ago
Lioncash
e628ed4810
dyncom: Set CP15 reset values on initialization
11 years ago
Lioncash
bb7dac022e
dyncom: Suppress uninitialized variable warnings
...
The switch cases will always be hit, but this makes compilers stop complaining.
11 years ago
bunnei
8997cfaeb4
Merge pull request #682 from yuriks/virtmem2
...
Clean-up mem_map constants and fix framebuffer translation errors
11 years ago
Yuri Kunde Schlesner
34b009cf38
Clean-up mem_map constants and fix framebuffer translation errors
11 years ago
Gareth Higgins
8060c519a6
Changed occurences of colour to color for consistency
11 years ago
bunnei
64196976b9
Merge pull request #680 from archshift/bg-color
...
Allow the user to set the background clear color during emulation
11 years ago
purpasmart96
d6c9af600f
IR: Move The IR services to their own folder and implement "GetHandles"
11 years ago
bunnei
3fd2cc566b
Merge pull request #641 from purpasmart96/service_stubs
...
Services: Stubs and minor changes
11 years ago
archshift
cae89fb315
Allow the user to set the background clear color during emulation
...
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
11 years ago
purpasmart96
198c0ddc72
Services: Stubs and minor changes
11 years ago
bunnei
e25ffaba86
Merge pull request #677 from lioncash/cp15
...
dyncom: Isolate CP15 register reading and writing
11 years ago
Lioncash
490df716f3
dyncom: Move CP15 register writing into its own function.
...
Also implements writing to the rest of the ARM11 MPCore CP15 register set.
11 years ago
Lioncash
5e5954c63b
dyncom: Move CP15 register reading into its own function.
...
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
11 years ago
bunnei
d95d6e3ecd
Merge pull request #678 from lioncash/disasm
...
callstack: Remove unnecessary disassembler instantiation
11 years ago
Lioncash
e05d6220f5
disassembler: Get rid of a const_cast
11 years ago
Lioncash
0520a3b178
callstack: Remove unnecessary disassembler instantiation
...
Decode is a static function. There's no need to allocate a disassembler instance.
11 years ago
Lioncash
de6eba0288
dyncom: Migrate InAPrivilegedMode to armsupp
...
It's a generic helper function, so it should be here anyway.
11 years ago
bunnei
c4767f3bb2
Merge pull request #672 from purpasmart96/citra_moar_app_mem
...
ConfigMem: Set the app memory to be 96MB instead of the default 64MB
11 years ago
bunnei
b3d4a10e29
Merge pull request #674 from lioncash/sys-instrs
...
dyncom: Implement RFE and SRS.
11 years ago
Lioncash
a80d93685a
dyncom: Implement SRS
11 years ago
Lioncash
cde671795c
dyncom: Implement RFE
11 years ago
Lioncash
2df10d2284
dyncom: Remove unused/unnecessary macros and macro constants
11 years ago
purpasmart96
e0c72ec871
ConfigMem: Set the app memory to be 96MB instead of the default 64MB
11 years ago
bunnei
03ceb7adf9
Merge pull request #656 from Subv/nz
...
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and Del...
11 years ago
Lioncash
f23f2a9a42
armmmu: Remove unnecessary enum values
...
We don't need to care about XScale or Intel specific ARM stuff.
11 years ago
bunnei
1981aa3d7e
Merge pull request #659 from lioncash/setend
...
Implement SETEND.
11 years ago
Subv
b9612fe919
Service/FS: Document and log some unknown values.
...
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
11 years ago
bunnei
580b317821
Merge pull request #650 from Subv/scaling
...
GPU: Fixed the bit 25 in the display transfer flags.
11 years ago
Lioncash
9fdb311d6e
dyncom: Make Load/Store instructions support big endian
11 years ago
bunnei
0bb4b77b78
Merge pull request #655 from purpasmart96/hid_fixes
...
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along with a stub for GetSoundVolume
11 years ago
purpasmart96
5b1757d6a5
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
...
with a stub for GetSoundVolume
11 years ago
bunnei
ef0c4aac86
Merge pull request #660 from purpasmart96/ncch_updates
...
NCCH: Minor updates to the ncch header
11 years ago
bunnei
6977877665
Merge pull request #661 from linkmauve/cleanup
...
Fix two minor understandability issues in common
11 years ago
Subv
23b401c3ac
GPU/DisplayTransfer: Made the scaling bits a single 2bit value
...
Rephrased some comments.
11 years ago
bunnei
c1f5cb7dd5
Merge pull request #652 from neobrain/shader_output_fix
...
Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.
11 years ago
bunnei
968c418fa5
Merge pull request #662 from linkmauve/video_core-warnings
...
Add static_cast around expressions where the compiler doesn’t deduce the right type
11 years ago
Lioncash
8cf81643a9
arm_interface: Get rid of GetTicks.
...
Removes a TODO.
11 years ago
Emmanuel Gil Peyrot
92fd2a1ee3
VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type.
11 years ago
Emmanuel Gil Peyrot
188b419586
Common: Fix logic for setting EMU_DATA_DIR.
11 years ago
Emmanuel Gil Peyrot
4c684fb274
Common: Make a #else more apparent.
11 years ago
purpasmart96
061c69a6bb
NCCH: Minor updates to the ncch header
11 years ago
bunnei
3e5aeb9a7a
Merge pull request #657 from Subv/flip
...
GPU: Implemented the flip_data (bit 0) bit in display transfers.
11 years ago
Lioncash
f280806214
dyncom: Implement SETEND
11 years ago
Subv
fb8f47060b
GPU: Implemented the flip_data (bit 0) bit in display transfers.
11 years ago
Subv
c0d1a91017
EmuWindow: Fixed a reference to a temporary variable
...
in GetTouchState()
11 years ago
Subv
1d61cd4460
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveData
...
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
11 years ago
Tony Wasserka
e4f5ec6272
Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.
...
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.
11 years ago
bunnei
ed5b275d21
Merge pull request #642 from bunnei/touchpad
...
Touchpad support
11 years ago
bunnei
4bbddda377
hid_user: Removed unnecessary includes.
11 years ago
bunnei
e79c27f1e0
HID: Removed unnecessary global variables.
11 years ago
bunnei
85cbccb1d3
HID: Added additional variable comments and some code cleanups.
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
11 years ago
bunnei
b56829df02
Merge pull request #629 from archshift/lcdfb
...
Implement SetLcdForceBlack and add implementation for color filling in the GPU code
11 years ago
bunnei
953e09ddb5
EmuWindow: Made pad/touch functions non-static.
11 years ago
bunnei
a1a1a5c6c5
HID: Cleanup how `next_touch_index` is calculated for Pad and touch.
11 years ago
bunnei
432aa1044c
HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings.
11 years ago
bunnei
e9b9f1842b
HID: Added static asserts to check register position in shared memory.
11 years ago
bunnei
f213000cc4
Qt: Implemented EmuWindow touchpad support.
11 years ago
bunnei
dd73217ae3
GLFW: Implemented EmuWindow touchpad support.
11 years ago
bunnei
543232436f
EmuWindow: Added infrastructure code to enable touchpad support.
11 years ago
bunnei
1a904ded40
HID: Added functions to emulate the touchpad.
11 years ago
bunnei
3229b048d9
HID: Moved some docstrings to the header.
11 years ago
bunnei
83a66dd701
HID: Refactored shared memory decoding for touchpad support.
11 years ago
Subv
ae0dfcae1d
GPU: Fixed the bit 25 in the display transfer flags.
...
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.
11 years ago
Lioncash
e34ba68e1f
dyncom: Minor cleanup
...
Assemblers will exit with an error when trying to assemble instructions with disallowed registers.
11 years ago
bunnei
ec5bc54575
Merge pull request #643 from Subv/dem_feels
...
GPU: Implemented more depth buffer formats.
11 years ago
Subv
1248e291f0
GPU: Added the stencil test structure to the Pica Regs struct.
11 years ago
Subv
155cc80e3b
Frontend/Qt: Allow the framebuffer widget to inspect the depth buffer
11 years ago
Subv
414b0741c4
GPU: Implemented more depth buffer formats.
...
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
11 years ago
bunnei
e10a9b2f66
Merge pull request #647 from neobrain/rip_culling_hack
...
Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order.
11 years ago
archshift
041e99b613
Added LCD registers, and implementation for color filling in OGL code.
11 years ago
Tony Wasserka
511bf30a69
Merge pull request #648 from Subv/fill_bit
...
GPU: Use the correct position for the finished bit in memory fills
11 years ago
Subv
0abba5874c
GPU: Use the correct position for the finished bit in memory fills
11 years ago
Tony Wasserka
e3a697b9f9
Merge pull request #646 from Subv/24bit_fills
...
GPU: Corrected the 24 bit memory fills component order
11 years ago
Tony Wasserka
5742367341
Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order.
11 years ago
bunnei
8a1cc5b805
Merge pull request #589 from kevinhartman/config-errors
...
Fix errorcodes for bad config block request
11 years ago
bunnei
3da94a597b
Merge pull request #634 from linkmauve/logging-performances
...
Apply the logging filter before sending the message to the queue
11 years ago
bunnei
f2a7c2b3b7
Merge pull request #645 from lioncash/ldm
...
Minor bugfixes to LDM/STM.
11 years ago
Subv
a762f9c176
GPU: Corrected the 24 bit memory fills component order
11 years ago
bunnei
8ecba90ff0
Merge pull request #644 from archshift/nihstro
...
Update nihstro submodule to the initial release version.
11 years ago
bunnei
ba8ce6c8f5
Merge pull request #584 from yuriks/outline-asserts
...
Asserts: Use lambdas to keep assertion code away from the main code path
11 years ago
Lioncash
386dbab5ea
dyncom: Fix an indexing bug in STM
...
Previously it would write the contents of register 13 for the case where the link register (r14) is supposed to be written.
11 years ago
Lioncash
36dab56c31
dyncom: General cleanup of STM
11 years ago
Lioncash
e37425b380
dyncom: Increment addr when accessing LR in LDM
11 years ago
archshift
7d43aef4d0
Update nihstro submodule to the initial release version.
...
Includes more opcodes to implement in the future.
11 years ago
archshift
30e41de347
Merge pull request #639 from archshift/appbundle
...
Build app bundles on OS X. Fixes the issue where the menubar would not appear.
11 years ago
archshift
539bbd3c59
default_ini.h: Put comments on their own lines
...
Apparently inline comments is not necessarily standard in the INI format, and our parser was erroneously parsing the comments as values.
11 years ago
archshift
c036cf604f
Build app bundles on OS X. Fixes the issue where the menubar would not appear.
11 years ago
bunnei
25633b431d
Fixed EmuWindow typo (fixes OSX build)
11 years ago
bunnei
06bf471581
Merge pull request #636 from bunnei/refactor-screen-win
...
Set framebuffer layout from EmuWindow.
11 years ago
bunnei
9960c49c21
Set framebuffer layout from EmuWindow.
11 years ago
Subv
4b8d4d0ed5
GPU/Textures: Fixed ETC texture decoding.
11 years ago
Tony Wasserka
93e32bce72
Merge pull request #538 from yuriks/perf-stat
...
Add profiling infrastructure and widget
11 years ago
Emmanuel Gil Peyrot
0aa44e238d
Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.
11 years ago
archshift
e011acaa84
Removed swap code redundancy and moved common swap code to swap.h
11 years ago
archshift
47010fea31
Implement SetLcdForceBlack, move register enum to hw.h
11 years ago
bunnei
8e4e28aacb
Merge pull request #615 from Subv/services
...
Services: Moved the PTM and APT services to their own folder
11 years ago
Subv
83a8975cb8
Services: Moved the PTM and APT services to their own folder
...
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.
11 years ago
bunnei
8fc8c51118
Merge pull request #625 from lioncash/warn
...
vfp: Get rid of warnings
11 years ago
Lioncash
4b89cf9e43
vfp: Get rid of warnings
11 years ago
bunnei
34c31db14a
GPU: Added RGB565/RGB8 framebuffer support and various cleanups.
...
- Centralizes color format encode/decode functions.
- Fixes endianness issues.
- Implements remaining framebuffer formats in the debugger.
11 years ago
Yuri Kunde Schlesner
44f46254dc
Merge pull request #622 from Subv/titles
...
Services/AM: Stubbed TitleIDListGetTotal and GetTitleIDList.
11 years ago