Use 268Mhz instead of 804Mhz and disable L2 Cache for power saving.

This commit is contained in:
Fijxu 2023-07-31 01:15:16 -04:00
parent fc6e7f75af
commit 955c575891
8 changed files with 12 additions and 10 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@ C/build/
*.pnproj *.pnproj
*.pnps *.pnps
*.ppg *.ppg
*.smdh
*.elf

View file

@ -67,7 +67,7 @@ device = {
], ],
} }
ui = UInput(device, name="3DS", phys="3ds-uinput", vendor=0x1, version=0x1, product=0x1) ui = UInput(device, name="3DS", phys="3ds", vendor=0x1, version=0x1, product=0x1)
gyroAxis = { gyroAxis = {
e.EV_ABS: [ e.EV_ABS: [
@ -80,7 +80,7 @@ gyroAxis = {
] ]
} }
uiGyro = UInput(gyroAxis, name="3DS Gyroscope", phys="3ds-sensors", vendor=0x2, version=0x2, product=0x2, input_props=[6]) uiGyro = UInput(gyroAxis, name="3DS Gyroscope", phys="3ds", vendor=0x1, version=0x1, product=0x2, input_props=[6])
if (debug): if (debug):
print (ui) print (ui)

Binary file not shown.

Binary file not shown.

View file

@ -32,9 +32,9 @@ SOURCES := source
DATA := data DATA := data
INCLUDES := include INCLUDES := include
APP_TITLE := 3DS Controller APP_TITLE := 3DS Controller-NG
APP_DESCRIPTION := APP_DESCRIPTION := Program to use your 3DS as a controller in your PC
APP_AUTHOR := CTurt APP_AUTHOR := CTurt/Fijxu
ICON := cxi/icon48x48.png ICON := cxi/icon48x48.png
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------

View file

@ -1,5 +1,5 @@
BasicInfo: BasicInfo:
Title : "3DS Controller" Title : "3DS Controller-NG"
ProductCode : "CTR-N-3DSC" ProductCode : "CTR-N-3DSC"
Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem Logo : Nintendo # Nintendo / Licensed / Distributed / iQue / iQueForSystem
@ -63,7 +63,7 @@ AccessControlInfo:
IdealProcessor : 0 IdealProcessor : 0
AffinityMask : 1 AffinityMask : 1
Priority : 16 Priority : 16
MaxCpu : 0x9E # Default MaxCpu : 0 # Default
HandleTableSize : 0x200 HandleTableSize : 0x200
DisableDebug : true DisableDebug : true
EnableForceDebug : false EnableForceDebug : false
@ -77,9 +77,9 @@ AccessControlInfo:
# New3DS Exclusive Process Settings # New3DS Exclusive Process Settings
SystemModeExt : Legacy # Legacy(Default)/124MB/178MB Legacy:Use Old3DS SystemMode SystemModeExt : Legacy # Legacy(Default)/124MB/178MB Legacy:Use Old3DS SystemMode
CpuSpeed : 804MHz # 256MHz(Default)/804MHz CpuSpeed : 268MHz # 256MHz(Default)/804MHz
EnableL2Cache : true # false(default)/true EnableL2Cache : false # false(default)/true
CanAccessCore2 : true CanAccessCore2 : false
# Virtual Address Mappings # Virtual Address Mappings
IORegisterMapping: IORegisterMapping:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 5 KiB