mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-18 06:11:28 -06:00
Fix compile errors due to rebase
This commit is contained in:
parent
e5717fb1a8
commit
b685a08e60
@ -1190,7 +1190,7 @@ void _IMLRA_checkAndTryExtendRange(IMLRegisterAllocatorContext& ctx, IMLSegment*
|
||||
{
|
||||
if (routeDepth >= 64)
|
||||
{
|
||||
forceLogDebug_printf("Recompiler RA route maximum depth exceeded\n");
|
||||
cemuLog_logDebug(LogType::Force, "Recompiler RA route maximum depth exceeded\n");
|
||||
return;
|
||||
}
|
||||
route[routeDepth] = currentSegment;
|
||||
|
||||
@ -44,11 +44,9 @@ public:
|
||||
|
||||
void add(std::string_view appendedStr)
|
||||
{
|
||||
if (this->length + appendedStr.size() + 1 >= this->limit)
|
||||
_reserve(std::max<uint32>(this->length + appendedStr.size() + 64, this->limit + this->limit / 2));
|
||||
size_t copyLen = appendedStr.size();
|
||||
if (remainingLen < copyLen)
|
||||
copyLen = remainingLen;
|
||||
if (this->length + copyLen + 1 >= this->limit)
|
||||
_reserve(std::max<uint32>(this->length + copyLen + 64, this->limit + this->limit / 2));
|
||||
char* outputStart = (char*)(this->str + this->length);
|
||||
std::copy(appendedStr.data(), appendedStr.data() + copyLen, outputStart);
|
||||
length += copyLen;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user