Browse Source

Unified torzu and sudachi friend.cpp + fix android build on dma_pusher

nce_cpp
MrPurple666 9 months ago
committed by Briar
parent
commit
2d2e9208d2
  1. 16
      src/core/hle/service/friend/friend.cpp
  2. 6
      src/video_core/dma_pusher.cpp

16
src/core/hle/service/friend/friend.cpp

@ -278,25 +278,15 @@ private:
rb.Push(0);
}
void GetUserPresenceView(HLERequestContext& ctx) {
LOG_DEBUG(Service_Friend, "(STUBBED) called");
u8 buf[0xe0]{};
ctx.WriteBuffer(buf);
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
}
void GetUserPresenceView(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto uuid = rp.PopRaw<Common::UUID>();
LOG_DEBUG(Service_Friend, "(STUBBED) called, uuid={}.", uuid.RawString());
// TODO (jarrodnorwell)
u8 buf[0xe0]{};
ctx.WriteBuffer(buf);
IPC::ResponseBuilder rb{ctx, 2};
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
}

6
src/video_core/dma_pusher.cpp

@ -15,6 +15,12 @@ namespace Tegra {
constexpr u32 MacroRegistersStart = 0xE00;
constexpr u32 ComputeInline = 0x6D;
//start on PR#76 of Eden this is a unused variable in android (need to investigate)
// Dummy function that uses ComputeInline
constexpr void UseComputeInline() {
static_cast<void>(ComputeInline); // Suppress unused variable error
}
DmaPusher::DmaPusher(Core::System& system_, GPU& gpu_, MemoryManager& memory_manager_,
Control::ChannelState& channel_state_)

Loading…
Cancel
Save