It should be noted that:
- Basic blocks in SSA can be identified at 3 points:
- Start of the program
- Labels
- Branches
- Basic blocks are used in optimisation.
| diff qemu1/ui/cocoa.m qemu2/ui/cocoa.m | |
| --- qemu1/ui/cocoa.m | |
| +++ qemu2/ui/cocoa.m | |
| @@ -358,5 +358,5 @@ QemuCocoaView *cocoaView; | |
| - (BOOL) screenContainsPoint:(NSPoint) p | |
| { | |
| - return (p.x > -1 && p.x < screen.width && p.y > -1 && p.y < screen.height); | |
| + return (p.x > -1 && p.x < (screen.width * cdx) && p.y > -1 && p.y < (screen.height * cdx)); | |
| } | |
| // | |
| // Author: Jonathan Blow | |
| // Version: 2 | |
| // Date: 7 May, 2019 (update to original version released on 31 August, 2018). | |
| // | |
| // This code is released under the MIT license, which you can find at | |
| // | |
| // https://opensource.org/licenses/MIT | |
| // | |
| // |
| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |
| # Xcode 4.3.3 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix | |
| # Xcode 4.3.2 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix |