compile fixes after function renaming

This commit is contained in:
Martin Felke
2023-06-05 00:16:24 +02:00
parent b250b52511
commit 69f5df40f9
4 changed files with 5 additions and 5 deletions

View File

@@ -257,8 +257,8 @@ void RestoreGlobalState(bool is_powered_on) {
// this function only makes sense with integrated devices
u64 RamPercentToByte(u8 percent) {
// total RAM in byte
u64 RamPercentToBytes(u8 percent) {
// total RAM in bytes
u64 total_ram = Common::GetMemInfo().TotalPhysicalMemory;
// clamp percentage between 10 and 90, so we dont run out of either RAM or VRAM