Commit Graph

1936 Commits (f4921d0f9d8d3bd28f68fd70eacdc565562bb5cd)

Author SHA1 Message Date
Yuri Kunde Schlesner 7c50b999fa Kernel: Remove unused g_main_thread variable 11 years ago
Yuri Kunde Schlesner 3cb19c9589 Process: Rename StaticAddressMapping => AddressMapping 11 years ago
Yuri Kunde Schlesner 83ccf85bb2 Process: Add more documentation to the class members 11 years ago
Yuri Kunde Schlesner 2f5904611d Process: Use BitField to store process flags 11 years ago
Yuri Kunde Schlesner 7eb413155f Loader/NCCH: Fix formatting of braces 11 years ago
Yuri Kunde Schlesner 2af30d465f Process: Support parsing of exheader kernel caps 11 years ago
Yuri Kunde Schlesner 326ec51261 Common: Add BIT macro 11 years ago
Yuri Kunde Schlesner a5eba2f984 Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner 6d60acf0f1 Kernel: Introduce skeleton Process class to hold process data 11 years ago
Yuri Kunde Schlesner 8809d02db3 Common: Add StringFromFixedZeroTerminatedBuffer 11 years ago
Yuri Kunde Schlesner 0f39cc359b Core: Fix sorting in CMakeFiles.txt 11 years ago
Lioncash 1622068198 Merge pull request #728 from lioncash/vars
dyncom: Remove an unnecessary variable in the interpreter
11 years ago
Lioncash ae0c38a333 Remove unnecessary dyncom header files 11 years ago
Lioncash 31dc8b8890 dyncom: Remove an unnecessary variable in the interpreter
All this was doing was needlessly aliasing a variable.
11 years ago
Yuri Kunde Schlesner 4560178f66 Merge pull request #725 from yuriks/remove-common-crap
Remove unused hash and mem_arena from common
11 years ago
bunnei 10ef39624a Merge pull request #723 from lioncash/commonstr
string_util: Get rid of UriDecode/UriEncode
11 years ago
Yuri Kunde Schlesner ed12b08e7a Profiler: Fix off-by-one error when computing average. 11 years ago
Yuri Kunde Schlesner 3396f352cb Common: Remove mem_arena.cpp/h
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.
11 years ago
Yuri Kunde Schlesner d9df5b575a Common: Remove hash.cpp/h
Currently unused and the code quality is pretty questionable.
11 years ago
Yuri Kunde Schlesner fae5933ad6 Common: Add proper macros to test for architecture pointer size
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 e1fbac3ca1.
11 years ago
Lioncash 9adad45b0f string_util: Get rid of UriDecode/UriEncode 11 years ago
Yuri Kunde Schlesner 4f4d230dac Merge pull request #721 from yuriks/more-cleanups
More cleanups
11 years ago
Yuri Kunde Schlesner c956e8a686 Fix printf format warning 11 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 11 years ago
Yuri Kunde Schlesner 1bd1a13a02 Common: Move alignment macros to common_funcs.h 11 years ago
Yuri Kunde Schlesner ae963d75f8 Common: Move SSE detection ifdefs to platform.h 11 years ago
Yuri Kunde Schlesner a594fdb66e Common: Remove more unused compatibility defines 11 years ago
Yuri Kunde Schlesner f3c096951b Common: Move IO-specific compatibility macros to file_util.cpp 11 years ago
Yuri Kunde Schlesner bf12f270b3 Common: Remove many unnecessary cross-platform compatibility macros 11 years ago
Yuri Kunde Schlesner c0eaa662d4 Clean-up includes 11 years ago
Yuri Kunde Schlesner b89f644cfe FileSys: De-inline Path members 11 years ago
Yuri Kunde Schlesner 6f89d25f90 FileSys: Clean-up includes, de-inline destructors 11 years ago
Yuri Kunde Schlesner c916bcf7b5 Move typedefs from kernel.h to more appropriate places 11 years ago
Yuri Kunde Schlesner 6ad71c216b Common: Move NonCopyable to common_types.h 11 years ago
Yuri Kunde Schlesner 7a4b717772 Common: Use C++11 deleted functions for NonCopyable 11 years ago
Yuri Kunde Schlesner 1fee769aa0 Common: Remove unused enums 11 years ago
bunnei 337f1e1b96 Merge pull request #695 from Subv/crash_f
GPU: Implemented default vertex shader attributes.
11 years ago
Subv 0e5ca080a8 GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
11 years ago
Yuri Kunde Schlesner ecff2351a1 HLE: Clean up SVC dispatch mechanism 11 years ago
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