- Oct 09, 2018
-
-
NeatNit authored
change TouchToPixelPos to return std::pair<int, int> static_cast (SDL) various minor style and code improvements style - PascalCase for function names made touch events private const pointer arg in touch events make TouchToPixelPos a const member function did I do this right? braces on barely-multiline if remove question comment (confirmed in Discord) fixed consts remove unused parameter from TouchEndEvent DRY - High-DPI scaled touch put in separate function also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom. implicit conversion from QPoint to QPointF, apparently I have no idea what const even means but I'll put it here anyway remove unused or used-once variables make touch scaling functions const, and put their implementations together removed unused FingerID parameters QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit better DRY in SDL To do -> TODO(NeatNit) remove unused include
-
- Oct 08, 2018
-
-
David Marcec authored
Hardware tests show that trying to unmap an unmapped buffer already should always succeed. Hardware test was tested up to 32 iterations of attempting to unmap
-
- Oct 07, 2018
-
-
Zach Hilman authored
-
Zach Hilman authored
Uses -p (--program) and following string as args.
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Only added if arguments string is non-empty and a pass is requested by loader.
-
David Marcec authored
Word count should be 3 since we're pushing a result code and a u32. Also fixed up compiler warnings due to casting
-
ReinUsesLisp authored
-
- Oct 06, 2018
-
-
bunnei authored
-
FernandoS27 authored
-
fearlessTobi authored
So that people can stop using it in issue/pr comments and randomly link some other issue/pr unintentionally.
-
zhupengfei authored
* Added a context menu on the buttons including Clear & Restore Default * Allow clearing (unsetting) inputs. Added a Clear All button * Allow restoring a single input to default (instead of all)
-
David Marcec authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
Lioncash authored
These were pointing to a non-existent webpage.
-
David Marcec authored
This will allow us to easily remove the use of "NFC" in "System"
-
Lioncash authored
This was the result of a typo accidentally introduced in e51d7157. This restores the previous correct behavior. The behavior with the reference was incorrect and would cause some games to fail to boot.
-
- Oct 05, 2018
-
-
balika011 authored
Conceptually, it doesn't make sense for a thread to be able to persist the lifetime of a scheduler. A scheduler should be taking care of the threads; the threads should not be taking care of the scheduler. If the threads outlive the scheduler (or we simply don't actually terminate/shutdown the threads), then it should be considered a bug that we need to fix. Attributing this to balika011, as they opened #1317 to attempt to fix this in a similar way, but my refactoring of the kernel code caused quite a few conflicts.
-
Zach Hilman authored
-
Zach Hilman authored
Reads as Update (NSP) in add-ons
-
Zach Hilman authored
-
Zach Hilman authored
Will prefer any installed update over the packed version.
-
Zach Hilman authored
Reads the update included with the game if it has one and adds the new ErrorNoPackedUpdate status.
-
Zach Hilman authored
Fixes errors with certain updates
-
Lioncash authored
operator+ for std::string creates an entirely new string, which is kind of unnecessary here if we just want to append a null terminator to the existing one. Reduces the total amount of potential allocations that need to be done in the logging path.
-
- Oct 04, 2018
-
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Specifically bugs/crashes that arise when putting them in positions that are legal but not typical, such as midline, between patch data, or between patch records.
-
Zach Hilman authored
-
Zach Hilman authored
More accurately follows IPSwitch specification.
-
Zach Hilman authored
-
Zach Hilman authored
-
Zach Hilman authored
Converts between bytes and strings when the size is not known at compile time.
-
Lioncash authored
Placing the array wholesale into the header places a copy of the whole array into every translation unit that uses the data, which is wasteful. Particularly given that this array is referenced from three different translation units. This also changes the array to contain pairs of const char*, rather than QString instances. This way, the string data is able to be fixed into the read-only segment of the program, as well as eliminate static constructors/heap allocation immediately on program start.
-
Lioncash authored
Many of the member variables of the thread class aren't even used outside of the class itself, so there's no need to make those variables public. This change follows in the steps of the previous changes that made other kernel types' members private. The main motivation behind this is that the Thread class will likely change in the future as emulation becomes more accurate, and letting random bits of the emulator access data members of the Thread class directly makes it a pain to shuffle around and/or modify internals. Having all data members public like this also makes it difficult to reason about certain bits of behavior without first verifying what parts of the core actually use them. Everything being public also generally follows the tendency for changes to be introduced in completely different translation units that would otherwise be better introduced as an addition to the Thread class' public interface.
-
ReinUsesLisp authored
-