ldr: add erista rext timings
This commit is contained in:
1 parent
b16337df89
commit
0a9f412c51
5 files changed
+41
-18
No files matched your search
@@ -19,7 +19,7 @@
|
||||
|
||||
namespace ams::ldr::hoc::pcv::mariko {
|
||||
|
||||
const ReplacePatch g_rext_table[] = {
|
||||
const RextPatch g_rext_table[] = {
|
||||
{2'133'000, 0x1A}, {2'166'000, 0x19}, {2'200'000, 0x19},
|
||||
{2'233'000, 0x19}, {2'266'000, 0x1A}, {2'300'000, 0x1B},
|
||||
{2'333'000, 0x1B}, {2'366'000, 0x1B}, {2'400'000, 0x1B},
|
||||
@@ -35,7 +35,7 @@ namespace ams::ldr::hoc::pcv::mariko {
|
||||
|
||||
const u32 g_rext_table_size = sizeof(g_rext_table) / sizeof(g_rext_table[0]);
|
||||
|
||||
const ReplacePatch *FindRext(u32 freq) {
|
||||
const RextPatch *FindRext(u32 freq) {
|
||||
for (u32 i = 0; i < g_rext_table_size; i++) {
|
||||
if (g_rext_table[i].freq >= freq) {
|
||||
return &g_rext_table[i];
|
||||
|
||||
@@ -19,13 +19,8 @@
|
||||
|
||||
namespace ams::ldr::hoc::pcv::mariko {
|
||||
|
||||
struct ReplacePatch {
|
||||
u32 freq;
|
||||
u32 rext;
|
||||
};
|
||||
|
||||
extern const ReplacePatch g_rext_table[];
|
||||
extern const u32 g_rext_table_size;
|
||||
const ReplacePatch *FindRext(u32 freq);
|
||||
extern const RextPatch g_rext_table[];
|
||||
extern const u32 g_rext_table_size;
|
||||
const RextPatch *FindRext(u32 freq);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user