0
0
mirror of https://github.com/Ishan09811/pine.git synced 2025-04-24 08:55:10 +00:00

2278 Commits

Author SHA1 Message Date
TheASVigilante
b26b1b680b Update llvm 2023-05-15 22:57:31 +02:00
Dima
20a9ab65da Implement required bsd calls
Co-authored-by: PabloG02 <tioo23000@gmail.com>
2023-05-15 22:55:57 +02:00
Dima
460e144848 Stub some ldn calls
For now just stubs
2023-05-15 22:55:57 +02:00
Dima
6ac7d22eea Stub IAuthorizationRequest 2023-05-15 22:55:57 +02:00
Dima
41882aab1d Stub some required calls
Co-authored-by: PabloG02 <tioo23000@gmail.com>
2023-05-15 22:55:57 +02:00
Dima
a299bb3cf5 Implement GetCurrentIpConfigInfo
Needed for almost every LAN game
2023-05-15 22:55:57 +02:00
Dima
68bb8256da Stub correctly some nifm calls 2023-05-15 22:55:57 +02:00
Dima
43195927cf Implement GetAddrInfoRequest
Co-authored-by: PabloG02 <tioo23000@gmail.com>
2023-05-15 22:55:57 +02:00
Dima
8113413a72 Stub ntc 2023-05-15 22:55:56 +02:00
Dima
32f61e771a Add setting to enable internet
Co-authored-by: PabloG02 <tioo23000@gmail.com>
2023-05-15 22:55:56 +02:00
TheASVigilante
9630870659 Address remaining feedback 2023-05-15 22:55:00 +02:00
TheASVigilante
dd5c6f7cc9 Add a few comments to the Memory manager 2023-05-15 22:55:00 +02:00
TheASVigilante
9d1f1aaa54 Move SvcMap/UnmapMemory inside the memory manager 2023-05-15 22:55:00 +02:00
TheASVigilante
4c0ed5ba67 General memman fixups & address review 2023-05-15 22:55:00 +02:00
TheASVigilante
44f21419c4 Implement svcSetMemoryPermission
Used by Minecraft legends, this should allow it to proceed further.
2023-05-15 22:55:00 +02:00
TheASVigilante
1e9a0f56de Implement KTransferMemory correctly 2023-05-15 22:55:00 +02:00
TheASVigilante
b8bc210733 Restructure the memory manager
Changes and improves the accuracy of various features of the memory manager. Reduces stuttering in certain games.
2023-05-15 22:55:00 +02:00
lynxnb
bb06501ac8 Update README.md 2023-05-15 22:52:30 +02:00
lynxnb
be6f84c3c6 Update CI to the new project name 2023-05-09 23:43:43 +02:00
lynxnb
03e526c255 Update markdown files to the new project name 2023-05-09 23:04:13 +02:00
PabloG02
35fb874a42 Address remaining feedback 2023-05-02 13:39:07 +01:00
PabloG02
6e68786bd8 Address some feedback
Replace 0-9 with \d
Change zip import to use cache dir
Move export and import logic to their own functions
Delete zip after being shared
2023-05-02 13:39:07 +01:00
PabloG02
a6c2699395 Use constants instead of 0666 2023-05-02 13:39:07 +01:00
PabloG02
e7cf7c9dae Change name of zip to {name} (v{version}) [{titleId}] - {saveTime} 2023-05-02 13:39:07 +01:00
PabloG02
dae5469a61 Fix regex 2023-05-02 13:39:07 +01:00
PabloG02
f85ecc23be Change file creation permissions to 0666 2023-05-02 13:39:07 +01:00
PabloG02
71a0033f5b Use the title of the game as the name of the zip.
This zip will have the structure gameTitle.zip/titleId/...
2023-05-02 13:39:07 +01:00
PabloG02
3dbd47082d Make import and export buttons have text 2023-05-02 13:39:07 +01:00
PabloG02
9bcbb3af47 Extract strings 2023-05-02 13:39:07 +01:00
PabloG02
dc36f3d76a Clean layout 2023-05-02 13:39:07 +01:00
PabloG02
5c4973e141 Use coroutines 2023-05-02 13:39:07 +01:00
PabloG02
c57d572936 Show dialog before deleting save 2023-05-02 13:39:07 +01:00
PabloG02
92c6eecfc8 Delete zip after exporting 2023-05-02 13:39:07 +01:00
PabloG02
b24bf9eb91 Make TitleId check more robust 2023-05-02 13:39:07 +01:00
PabloG02
a634bca2d2 Initial implementation of save management 2023-05-02 13:39:07 +01:00
lynxnb
b7548e51cf Use AndroidX use extension function instead of Kotlin built-in one
The Kotlin built-in `use` extension function applies to `AutoCloseable` only, and throws an error if the object it's being called on is not an `AutoCloseable`. This causes `OnScreenView` to fail to inflate on SDK < 31 as it retrieved the current theme primary color with a `TypedArray`, which only implements `AutoCloseable` since SDK 31 (Android 12).
The AndroidX core library provides a `use` extension function that applies to `TypeArray` instead of `AutoCloseable` so the fix is just a simple import.
2023-05-02 12:27:57 +01:00
lynxnb
cce4b3f89a Add OSC recenter sticks option description 2023-05-02 12:27:57 +01:00
lynxnb
563c72afa9 Implement OSC customizable stick activation radius 2023-05-02 12:27:57 +01:00
lynxnb
d86b2ec3e9 Implement OSC stick regions
Stick regions extend the activation area of the sticks to rectangles covering the corresponding half of the screen.
E.g. for the left stick: when any point of the left side of the screen is touched, the stick is repositioned there, and acts as if it was centered in the touched position. When the finger is lifter, the stick is hidden.
2023-05-02 12:27:57 +01:00
lynxnb
32f995165c Use 1.0 as the default OSC button scale value
The default value was previously 1.15.
2023-05-02 12:27:57 +01:00
lynxnb
821cdb8d72 Draw a circle indicator on OSC buttons with toggle mode enabled 2023-05-02 12:27:57 +01:00
lynxnb
7cf45b11b0 Vibrate on OSC roll-over button presses too 2023-05-02 12:27:57 +01:00
lynxnb
655ca8f89b Ignore OSC roll-over events if the button is already pressed 2023-05-02 12:27:57 +01:00
lynxnb
560fcd9442 Implement toggle mode for OSC buttons
When toggle mode is enabled, the button will toggle between the `Pressed` and `Released` state when it's pressed.

Without toggle mode:
ACTION_DOWN -> Pressed
ACTION_UP -> Released
ACTION_DOWN -> Pressed
ACTION_UP -> Released

With toggle mode:
ACTION_DOWN -> Pressed
ACTION_UP -> No event
ACTION_DOWN -> No event
ACTION_UP -> Released
2023-05-02 12:27:57 +01:00
lynxnb
78252fbcbd Show current input values in OnScreenEditActivity
This was made primarily for debugging on-screen controls, but it might be useful to users too.
2023-05-02 12:27:57 +01:00
lynxnb
69fb15ffc9 Improve separation between OSCEditActivity and OSCView
The activity shouldn't access the edit button directly, but should only access data available through the public interface.
2023-05-02 12:27:57 +01:00
lynxnb
7e3d3bd281 Draw a box around disabled OSC buttons in edit mode
The box is also drawn if the alpha is configured too low (<5%).
2023-05-02 12:27:57 +01:00
lynxnb
659e090d38 Enable OSC per-button text and color selection 2023-05-02 12:27:57 +01:00
lynxnb
c7d213c3ea Make the OSC edit panel collapsible
The panel can now be closed to try out the buttons.
2023-05-02 12:27:57 +01:00
lynxnb
3f2fd7a653 Make some properties constant in OnScreenButton
They were initially made variable by mistake
2023-05-02 12:27:57 +01:00