mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
13 lines
242 B
C++
13 lines
242 B
C++
|
|
#include "internal.hpp"
|
||
|
|
#include <dolphin/os.h>
|
||
|
|
|
||
|
|
void AuroraFillBootInfo() {
|
||
|
|
if (OSBaseAddress == 0) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
|
||
|
|
const auto info = static_cast<OSBootInfo*>(OSPhysicalToCached(0));
|
||
|
|
|
||
|
|
info->memorySize = aurora::g_config.mem1Size;
|
||
|
|
}
|