mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
Compare commits
2 commits
78a785d656
...
a77c5d2219
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a77c5d2219 | ||
|
|
6246e9b4d3 |
20 changed files with 253 additions and 230 deletions
|
|
@ -1718,8 +1718,8 @@
|
|||
<dest>
|
||||
*: none
|
||||
rtc: "Açma Tuşu = Ayarla"
|
||||
gigabeat*,iaudiom5,iaudiox5,ipod*,iriverh10,iriverh10_5gb,mrobe100,sansac200*,sansaclip*,sansaconnect,sansae200*,sansafuze*: "SEÇ Tuşu = Ayarla"
|
||||
aigoerosq,erosqnative,gogearsa9200,samsungyh*,xduoox3*: "PLAY Tuşu = Ayarla"
|
||||
gigabeat*,iaudiom5,iaudiox5,ipod*,iriverh10,iriverh10_5gb,mrobe100,sansac200*,sansaclip*,sansaconnect,sansae200*,sansafuze*: "SEÇ Tuşu = Ayarla"
|
||||
iriverh100,iriverh120,iriverh300: "NAVI Tuşu = Ayarla"
|
||||
mpiohd300: "Tamam Tuşu = Ayarla"
|
||||
mrobe500: "Kalp Tuşu = Ayarla"
|
||||
|
|
@ -1727,7 +1727,6 @@
|
|||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
gigabeat*,gogearsa9200,iaudiom5,iaudiox5,ipod*,iriverh10,iriverh100,iriverh10_5gb,iriverh120,iriverh300,mrobe100,rtc,samsungyh*,sansac200*,sansae200*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -1751,8 +1750,8 @@
|
|||
<dest>
|
||||
*: none
|
||||
rtc: "OFF = Geri Döndür"
|
||||
gigabeatfx,mrobe500: "POWER = Geri Döndür"
|
||||
aigoerosq,erosqnative,gigabeats,sansafuzeplus,xduoox3*: "LEFT = Revert"
|
||||
gigabeatfx,mrobe500: "POWER = Geri Döndür"
|
||||
gogearsa9200: "LEFT = Geri Döndür"
|
||||
iaudiom5,iaudiox5: "RECORD = Geri Döndür"
|
||||
ipod*,mpiohd300,sansac200*: "MENU = Geri Döndür"
|
||||
|
|
@ -1764,7 +1763,6 @@
|
|||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
gigabeat*,gogearsa9200,iaudiom5,iaudiox5,ipod*,iriverh10,iriverh100,iriverh10_5gb,iriverh120,iriverh300,mrobe100,rtc,samsungyh*,sansac200*,sansae200*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -3457,23 +3455,6 @@
|
|||
*: "Güçlü"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_FREQUENCY
|
||||
desc: in recording and playback settings
|
||||
|
|
@ -4894,7 +4875,7 @@
|
|||
*: "%s açılamadı"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Eklenti açılamadı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -7547,20 +7528,6 @@
|
|||
*: "Makeup Kazanç"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_CATALOG
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_SPLIT_TYPE
|
||||
desc: in record timesplit options
|
||||
|
|
@ -9134,23 +9101,6 @@
|
|||
*: "Albüm Kazancı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE_2
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_AUTO
|
||||
desc: in sound settings
|
||||
|
|
@ -10524,11 +10474,11 @@
|
|||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
radio: "Taranıyor %d.%02d MHz"
|
||||
radio: "%d taranıyor.%02d MHz"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
radio: ""
|
||||
radio: "Taranıyor"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -11040,10 +10990,10 @@
|
|||
*: "Failed reading %s"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Okunamadı %s"
|
||||
*: "%s okunamadı"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Dosya okunamadı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -11895,23 +11845,6 @@
|
|||
*: "Skip"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE_1
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types,xduoox3: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_ID3_ALBUMARTIST
|
||||
desc: in tag viewer
|
||||
|
|
@ -12490,20 +12423,6 @@
|
|||
*: "Geçen parça"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_PLAYTIME_REMAINING
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_PLAYTIME_TRK_REMAINING
|
||||
desc: playing time screen
|
||||
|
|
@ -12588,20 +12507,6 @@
|
|||
*: "Ortalama bit hızı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_PLAYTIME_ERROR
|
||||
desc: playing time screen
|
||||
user: core
|
||||
<source>
|
||||
*: "Error while gathering info"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Bilgi toplanırken hata oluştu"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Bilgi toplanırken hata oluştu"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_PLAYING_TIME
|
||||
desc: onplay menu
|
||||
|
|
@ -14056,16 +13961,16 @@
|
|||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_TOGGLE_ITEM
|
||||
desc: in main_menu_config
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: "Toggle Item"
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: "Öğeyi Aç/Kapat"
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Öğeyi Aç Kapat"
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
@ -14126,13 +14031,13 @@
|
|||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_MAIN_MENU_ORDER
|
||||
desc: main_menu_config plugin title
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: "Rockbox Main Menu Order"
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: "Rockbox Ana Menü Sıralaması"
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
|
|
@ -14635,20 +14540,6 @@
|
|||
*: "Albüm resmi bulunamadı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_CACHE_REBUILT_NEXT_RESTART
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_ERROR_WRITING_CONFIG
|
||||
desc: in the pictureflow splash messages
|
||||
|
|
@ -14781,7 +14672,7 @@
|
|||
user: core
|
||||
<source>
|
||||
*: "Press LEFT to cancel."
|
||||
android,hifietma*,zenvision: "Press BACK to cancel."
|
||||
android,hifietma*: "Press BACK to cancel."
|
||||
cowond2,creativezenxfi2,ibassodx50,ibassodx90,mrobe500,ondavx747: "Press POWER to cancel."
|
||||
ihifi760,ihifi960: "Double tap RETURN to cancel."
|
||||
ihifi770,ihifi770c,ihifi800: "Press HOME to cancel."
|
||||
|
|
@ -14796,14 +14687,14 @@
|
|||
</source>
|
||||
<dest>
|
||||
*: "İptal etmek için SOL tuşuna basın."
|
||||
android,hifietma*,zenvision: "İptal etmek için GERİ tuşuna basın."
|
||||
android,hifietma*: "İptal etmek için GERİ tuşuna basın."
|
||||
cowond2,creativezenxfi2,ibassodx50,ibassodx90,mrobe500,ondavx747: "İptal etmek için GÜÇ'e basın."
|
||||
ihifi760,ihifi960: "İptal etmek için GERİ DÖN'e iki kez dokunun."
|
||||
ihifi770,ihifi770c,ihifi800: "İptal etmek için EV TUŞUNA basın."
|
||||
iriverh10: "Dİptal etmek için SOL'a iki kez dokunun."
|
||||
samsungyh*: "İptal etmek için SOL'a iki kez dokunun."
|
||||
mpiohd200,mpiohd300: "İptal etmek için KAYIT'a iki kez dokunun."
|
||||
rx27generic: "İptal etmek için VOLUME'a basın."
|
||||
samsungyh*: "İptal etmek için SOL'a iki kez dokunun."
|
||||
sonynwza860: "Tuş haritaları eksik."
|
||||
touchscreen: "İptal etmek için Orta Sol'a basın."
|
||||
vibe500: "İptal etmek için PREV'e basın."
|
||||
|
|
@ -14811,7 +14702,7 @@
|
|||
</dest>
|
||||
<voice>
|
||||
*: "İptal etmek için SOL tuşuna basın."
|
||||
android,hifietma*,zenvision: "İptal etmek için GERİ tuşuna basın."
|
||||
android,hifietma*: "İptal etmek için GERİ tuşuna basın."
|
||||
cowond2,creativezenxfi2,ibassodx50,ibassodx90,mrobe500,ondavx747: "İptal etmek için GÜÇ'e basın."
|
||||
ihifi760,ihifi960: "İptal etmek için GERİ DÖN'e iki kez dokunun."
|
||||
ihifi770,ihifi770c,ihifi800: "İptal etmek için EV TUŞUNA basın."
|
||||
|
|
@ -15305,7 +15196,7 @@
|
|||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_VOICED_DATE_FORMAT
|
||||
desc: format string for how dates will be read back. Y == 4-digit year, A == month name, m == numeric month, d == numeric day. For example, "AdY" will read "January 21 2021"
|
||||
desc: format string for how dates will be read back. Y == 4-digit year (grouped), y == 4-digit year (numeric), A == month name, m == numeric month, d == numeric day. For example, for 2021-01-05, "AdY" will be voiced as "January 5 twenty twenty-one" and "dmy" will be voiced as "5 1 two thousand twenty one
|
||||
user: core
|
||||
<source>
|
||||
*: "dAY"
|
||||
|
|
@ -15926,20 +15817,6 @@
|
|||
*: "Varsayılan Tarayıcı"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_AMAZE_MENU
|
||||
desc: Amaze game
|
||||
user: core
|
||||
<source>
|
||||
*: "Amaze Main Menu"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Amaze Ana Menü"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Amaze Ana Menü"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_SET_MAZE_SIZE
|
||||
desc: Maze size in Amaze game
|
||||
|
|
@ -16276,34 +16153,6 @@
|
|||
*: "Mik mod Ayarları"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_MIKMOD_MENU
|
||||
desc: mikmod plugin
|
||||
user: core
|
||||
<source>
|
||||
*: "Mikmod Menu"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Mikmod Menüsü"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Mik mod Menüsü"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_CHESSBOX_MENU
|
||||
desc: chessbox plugin
|
||||
user: core
|
||||
<source>
|
||||
*: "Chessbox Menu"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Chessbox Menüsü"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Satranç kutusu Menüsü"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: VOICE_INVALID_VOICE_FILE
|
||||
desc: played if the voice file fails to load
|
||||
|
|
@ -16985,3 +16834,144 @@
|
|||
*: "Şuna göre parçalar"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_USB_DAC
|
||||
desc: in settings_menu
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
usbdac: "USB-DAC"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
usbdac: "USB-DAC"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
usbdac: "USB-DAC"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_WHILE_USB_CHARGE_ONLY
|
||||
desc: in settings_menu
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
usbdac: "While In USB Charge-Only Mode"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
usbdac: "USB sadece şarj modundayken"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
usbdac: "USB sadece şarj modundayken"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_WHILE_MASS_STORAGE_USB_ONLY
|
||||
desc: in settings_menu
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
usbdac: "While In USB Mass-Storage Mode"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
usbdac: "USB yığın depolama modundayken"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
usbdac: "USB yığın depolama modundayken"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_USB_DAC_ACTIVE
|
||||
desc: for splash
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
usbdac: "USB-DAC Active"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
usbdac: "USB-DAC Aktif"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
usbdac: "USB-DAC Aktif"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_ANNOUNCE_STATUS
|
||||
desc: announnnce_status plugin
|
||||
user: core
|
||||
<source>
|
||||
*: "Announce Status"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Durumu Bildir"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Durumu Bildir"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_TAGNAVI_ALL_TRACKS_SORTED_BY_ALBUM
|
||||
desc: "[By album]" entry in tag browser
|
||||
user: core
|
||||
<source>
|
||||
*: "[By album]"
|
||||
</source>
|
||||
<dest>
|
||||
*: "[Albüme göre]"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Albüme göre sıralanmış parçalar"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_SORT_PLAYLISTS
|
||||
desc: playlists sorting setting
|
||||
user: core
|
||||
<source>
|
||||
*: "Sort Playlists"
|
||||
</source>
|
||||
<dest>
|
||||
*: "Çalma Listelerini Sırala"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "çalma listelerini sırala"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_USE_LED_INDICATORS
|
||||
desc: LED indicators setting
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
general_purpose_led: "Use LED indicators"
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
general_purpose_led: "LED göstergesini kullanın"
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
general_purpose_led: "LED göstergesini kullanın"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_KEEP_DIRECTORY
|
||||
desc: file browser setting
|
||||
user: core
|
||||
<source>
|
||||
*: "Always remember last folder"
|
||||
</source>
|
||||
<dest>
|
||||
*: "En son dosyayı her zaman hatırla"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "En son dosyayı her zaman hatırla"
|
||||
</voice>
|
||||
</phrase>
|
||||
|
|
|
|||
|
|
@ -310,7 +310,8 @@
|
|||
(CONFIG_KEYPAD != ONDAVX777_PAD) && \
|
||||
(CONFIG_KEYPAD != CREATIVE_ZENXFI2_PAD) && \
|
||||
(CONFIG_KEYPAD != SHANLING_Q1_PAD) && \
|
||||
(CONFIG_KEYPAD != HIBY_R3PROII_PAD)
|
||||
(CONFIG_KEYPAD != HIBY_R3PROII_PAD) && \
|
||||
(CONFIG_KEYPAD != CTRU_PAD)
|
||||
#define BTN_FIRE BUTTON_BOTTOMLEFT
|
||||
#define BTN_PAUSE BUTTON_TOPLEFT
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ PLUGIN_HEADER
|
|||
#ifdef CTRU
|
||||
/* dummy undefined symbols to build plugins for ctru */
|
||||
void __aeabi_unwind_cpp_pr0(void) {}
|
||||
struct _reent * _EXFUN(__getreent, (void)) {}
|
||||
struct _reent * _EXFUN(__getreent, (void)) { return NULL; }
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ void format_thread_name(char *buf, size_t bufsize,
|
|||
snprintf(buf, bufsize, fmt, name, thread->id);
|
||||
}
|
||||
|
||||
#ifndef HAVE_SDL_THREADS
|
||||
#if !defined(HAVE_SDL_THREADS) && !defined(CTRU)
|
||||
/*---------------------------------------------------------------------------
|
||||
* Returns the maximum percentage of the stack ever used during runtime.
|
||||
*---------------------------------------------------------------------------
|
||||
|
|
@ -252,7 +252,7 @@ static unsigned int stack_usage(uintptr_t *stackptr, size_t stack_size)
|
|||
|
||||
return usage;
|
||||
}
|
||||
#endif /* HAVE_SDL_THREADS */
|
||||
#endif /* !defined(HAVE_SDL_THREADS) && !defined(CTRU) */
|
||||
|
||||
#if NUM_CORES > 1
|
||||
int core_get_debug_info(unsigned int core, struct core_debug_info *infop)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@
|
|||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <3ds/services/gsplcd.h>
|
||||
#include <3ds/result.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "backlight-target.h"
|
||||
#include "sysfs.h"
|
||||
|
|
@ -30,8 +34,6 @@
|
|||
#include "lcd.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <3ds/services/gsplcd.h>
|
||||
#include <3ds/result.h>
|
||||
#include "luminance-ctru.h"
|
||||
|
||||
/* TODO: To use calibrated values in rockbox,
|
||||
|
|
|
|||
|
|
@ -22,6 +22,13 @@
|
|||
#include <math.h>
|
||||
#include <stdlib.h> /* EXIT_SUCCESS */
|
||||
#include <stdio.h>
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/services/apt.h>
|
||||
#include <3ds/services/hid.h>
|
||||
#include <3ds/services/mcuhwc.h>
|
||||
#include <3ds/services/dsp.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "button.h"
|
||||
#include "kernel.h"
|
||||
|
|
@ -38,12 +45,6 @@
|
|||
|
||||
#include "touchscreen.h"
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/services/apt.h>
|
||||
#include <3ds/services/hid.h>
|
||||
#include <3ds/services/mcuhwc.h>
|
||||
#include <3ds/services/dsp.h>
|
||||
|
||||
static u8 old_slider_level = 0;
|
||||
static int last_y, last_x;
|
||||
|
||||
|
|
@ -136,9 +137,6 @@ int button_read_device(int* data)
|
|||
if (kDown & KEY_DDOWN) {
|
||||
key |= BUTTON_DOWN;
|
||||
}
|
||||
if (kDown & KEY_START) {
|
||||
key |= BUTTON_POWER;
|
||||
}
|
||||
|
||||
touchPosition touch;
|
||||
hidTouchRead(&touch);
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <utime.h>
|
||||
|
||||
#include <3ds/archive.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "file.h"
|
||||
|
|
@ -33,8 +36,6 @@
|
|||
#include "pathfuncs.h"
|
||||
#include "string-extra.h"
|
||||
|
||||
#include <3ds/archive.h>
|
||||
|
||||
void paths_init(void)
|
||||
{
|
||||
/* is this needed in 3DS? */
|
||||
|
|
|
|||
|
|
@ -19,9 +19,15 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
#define RB_FILESYSTEM_OS
|
||||
#include <dlfcn.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
/* this is part of CTRDL and includes 3ds.h */
|
||||
#include <dlfcn.h>
|
||||
#ifdef RGB565
|
||||
#undef RGB565
|
||||
#endif
|
||||
|
||||
#include "system.h"
|
||||
#include "load_code.h"
|
||||
#include "filesystem-ctru.h"
|
||||
|
|
|
|||
|
|
@ -22,17 +22,22 @@
|
|||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <3ds/gfx.h>
|
||||
#ifdef RGB565
|
||||
#undef RGB565
|
||||
#endif
|
||||
|
||||
#include <3ds/allocator/linear.h>
|
||||
#include <3ds/console.h>
|
||||
#include <3ds/services/cfgu.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "system.h"
|
||||
#include "button-ctru.h"
|
||||
#include "screendump.h"
|
||||
#include "lcd-target.h"
|
||||
|
||||
#include <3ds/gfx.h>
|
||||
#include <3ds/allocator/linear.h>
|
||||
#include <3ds/console.h>
|
||||
#include <3ds/services/cfgu.h>
|
||||
|
||||
/*#define LOGF_ENABLE*/
|
||||
#include "logf.h"
|
||||
|
||||
|
|
@ -186,7 +191,7 @@ void lcd_init_device(void)
|
|||
/* hidInit(); */
|
||||
|
||||
u16 fb_width, fb_height;
|
||||
u8* fb = gfxGetFramebuffer(GFX_BOTTOM, GFX_LEFT, &fb_width, &fb_height);
|
||||
gfxGetFramebuffer(GFX_BOTTOM, GFX_LEFT, &fb_width, &fb_height);
|
||||
u32 bufsize = fb_width * fb_height * 2;
|
||||
|
||||
dev_fb = (fb_data *) linearAlloc(bufsize);
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
#include <math.h>
|
||||
|
||||
#include <3ds/gfx.h>
|
||||
#ifdef RGB565
|
||||
#undef RGB565
|
||||
#endif
|
||||
|
||||
#include <3ds/svc.h>
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/thread.h>
|
||||
|
|
|
|||
|
|
@ -19,19 +19,22 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
#define DIRFUNCTIONS_DEFINED
|
||||
#include "config.h"
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include "fs_defines.h"
|
||||
|
||||
#include <3ds/archive.h>
|
||||
#include <3ds/util/utf.h>
|
||||
/* this includes a couple of 3ds headers */
|
||||
#include "sys_file.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "debug.h"
|
||||
#include "dir.h"
|
||||
#include "pathfuncs.h"
|
||||
#include "timefuncs.h"
|
||||
#include "system.h"
|
||||
#include "fs_defines.h"
|
||||
#include "sys_file.h"
|
||||
|
||||
#include <3ds/archive.h>
|
||||
#include <3ds/util/utf.h>
|
||||
|
||||
/* This file is based on firmware/common/dir.c */
|
||||
|
||||
|
|
|
|||
|
|
@ -18,19 +18,22 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#define RB_FILESYSTEM_OS
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <utime.h>
|
||||
#include "fs_defines.h"
|
||||
|
||||
/* this includes a couple of 3ds headers */
|
||||
#include "sys_file.h"
|
||||
|
||||
#define RB_FILESYSTEM_OS
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "file.h"
|
||||
#include "debug.h"
|
||||
#include "string-extra.h"
|
||||
#include "fs_defines.h"
|
||||
#include "sys_file.h"
|
||||
|
||||
/* This file is based on firmware/common/file.c */
|
||||
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
#ifndef __SYSTHREAD_H__
|
||||
#define __SYSTHREAD_H__
|
||||
|
||||
#include "thread.h"
|
||||
|
||||
#include <3ds/synchronization.h>
|
||||
#include <3ds/thread.h>
|
||||
#include <3ds/services/apt.h>
|
||||
|
||||
#include "thread.h"
|
||||
|
||||
/* Complementary atomic operations */
|
||||
bool _AtomicCAS(u32 *ptr, int oldval, int newval);
|
||||
#define AtomicGet(ptr) __atomic_load_n((u32*)(ptr), __ATOMIC_SEQ_CST)
|
||||
|
|
|
|||
|
|
@ -24,13 +24,15 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include "debug.h"
|
||||
#include "logf.h"
|
||||
|
||||
#include <3ds/os.h>
|
||||
/* these include a couple of 3ds headers */
|
||||
#include "sys_thread.h"
|
||||
#include "sys_timer.h"
|
||||
|
||||
#include "debug.h"
|
||||
#include "logf.h"
|
||||
|
||||
#define CACHELINE_SIZE 128
|
||||
|
||||
static bool ticks_started = false;
|
||||
|
|
@ -283,7 +285,7 @@ void sys_timer_quit(void)
|
|||
/* Shutdown the timer thread */
|
||||
if (data->thread) {
|
||||
LightSemaphore_Release(&data->sem, 1);
|
||||
Result res = threadJoin(data->thread, U64_MAX);
|
||||
threadJoin(data->thread, U64_MAX);
|
||||
threadFree(data->thread);
|
||||
data->thread = NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,13 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <3ds/ndsp/ndsp.h>
|
||||
#include <3ds/ndsp/channel.h>
|
||||
#include <3ds/services/dsp.h>
|
||||
#include <3ds/synchronization.h>
|
||||
#include <3ds/allocator/linear.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "debug.h"
|
||||
#include "sound.h"
|
||||
|
|
@ -47,12 +54,6 @@
|
|||
#include "pcm_mixer.h"
|
||||
#include "pcm_sink.h"
|
||||
|
||||
#include <3ds/ndsp/ndsp.h>
|
||||
#include <3ds/ndsp/channel.h>
|
||||
#include <3ds/services/dsp.h>
|
||||
#include <3ds/synchronization.h>
|
||||
#include <3ds/allocator/linear.h>
|
||||
|
||||
/*#define LOGF_ENABLE*/
|
||||
#include "logf.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,11 @@
|
|||
#include <unistd.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/result.h>
|
||||
#include <3ds/services/mcuhwc.h>
|
||||
#include <3ds/services/ptmu.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "kernel.h"
|
||||
#include "powermgmt.h"
|
||||
|
|
@ -30,11 +35,6 @@
|
|||
#include "system.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/result.h>
|
||||
#include <3ds/services/mcuhwc.h>
|
||||
#include <3ds/services/ptmu.h>
|
||||
|
||||
void mcuhwc_init(void)
|
||||
{
|
||||
Result result = mcuHwcInit();
|
||||
|
|
|
|||
|
|
@ -23,6 +23,14 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
/* this includes a couple of 3ds headers */
|
||||
#include "bfile.h"
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/allocator/linear.h>
|
||||
#include <3ds/services/cfgu.h>
|
||||
|
||||
#include "system.h"
|
||||
#include "kernel.h"
|
||||
#include "thread-ctru.h"
|
||||
|
|
@ -32,11 +40,6 @@
|
|||
#include "panic.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/allocator/linear.h>
|
||||
#include <3ds/services/cfgu.h>
|
||||
#include "bfile.h"
|
||||
|
||||
const char *audiodev = NULL;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
@ -94,7 +97,7 @@ void system_init(void)
|
|||
|
||||
svcGetThreadPriority(&main_thread_priority, CUR_THREAD_HANDLE);
|
||||
if (main_thread_priority != 0x30) {
|
||||
DEBUGF("warning, main_thread_priority = 0x%x\n", main_thread_priority);
|
||||
DEBUGF("warning, main_thread_priority = 0x%lx\n", main_thread_priority);
|
||||
}
|
||||
|
||||
/* check for New 3DS model */
|
||||
|
|
|
|||
|
|
@ -23,12 +23,16 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include <stdbool.h>
|
||||
#include "config.h"
|
||||
#include "gcc_extensions.h"
|
||||
|
||||
#include <3ds/types.h>
|
||||
#include <3ds/svc.h>
|
||||
#include "sys_timer.h"
|
||||
#ifdef BIT
|
||||
#undef BIT
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "gcc_extensions.h"
|
||||
|
||||
#define HIGHEST_IRQ_LEVEL 1
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ int _start(void) {return 0;}
|
|||
#ifdef CTRU
|
||||
/* dummy undefined symbols */
|
||||
void __aeabi_unwind_cpp_pr0(void) {}
|
||||
struct _reent * _EXFUN(__getreent, (void)) {}
|
||||
struct _reent * _EXFUN(__getreent, (void)) { return NULL; }
|
||||
#endif
|
||||
|
||||
enum codec_status codec_start(enum codec_entry_call_reason reason)
|
||||
|
|
|
|||
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -939,7 +939,7 @@ devkitarmcc () {
|
|||
GCCOPTS=`echo $GCCOPTS | sed -e s/\ -Os/\ -Og/`
|
||||
fi
|
||||
|
||||
GCCOPTS="$GCCOPTS -fno-builtin -g -Wno-unused-result"
|
||||
GCCOPTS="$GCCOPTS -fno-builtin -g -Wno-unused-result -Wno-char-subscripts"
|
||||
GCCOPTS="$GCCOPTS -I$DEVKITPRO/libctru/include -I$DEVKITPRO/portlibs/3ds/include"
|
||||
GCCOPTS="$GCCOPTS -mword-relocations -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft"
|
||||
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -D_REENTRANT -masm-syntax-unified"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue