Commit Graph

1897 Commits (1538a34eda324782bf88fa382201e1e5cf8a237c)

Author SHA1 Message Date
Yuri Kunde Schlesner 0749687b8d Core: Remove some unused functions and types 11 years ago
Tony Wasserka 7859b145cf Merge pull request #698 from Zaneo/clip_stylus_input
EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
11 years ago
Zaneo b8328593fe EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
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.
11 years ago
bunnei 046dd6e3ef Qt: Shutdown game on emulator close event. 11 years ago
bunnei 85cc81d8cc Qt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash). 11 years ago
bunnei bc41de2131 Qt: Fixed a bug in shutdown procedure, various cleanups. 11 years ago
bunnei ad4445c529 Qt: Clear registers widget on shutdown. 11 years ago
bunnei 43cf424907 Qt: Use signals for emu_thread start/stop and fix disasm widget. 11 years ago
bunnei e4ea133717 Qt: Restructured to remove unnecessary shutdown event and various cleanups. 11 years ago
bunnei 3dd2688785 Qt: Fix loading a new game without stopping emulation. 11 years ago
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