diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-11 04:20:49 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-30 14:47:01 +0100 |
commit | 9a345de2bd73c280de16442f78a313c1b6bee84c (patch) | |
tree | e28e8dee9dd183aa08e8b47141a2887cb834757e /src/core/hle/kernel/address_arbiter.cpp | |
parent | Merge pull request #412 from purpasmart96/svc_table_cleanup (diff) | |
download | yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar.gz yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar.bz2 yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar.lz yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar.xz yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.tar.zst yuzu-9a345de2bd73c280de16442f78a313c1b6bee84c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/address_arbiter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index 9e855b0bf..2a66f8dd5 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp @@ -28,7 +28,6 @@ public: //////////////////////////////////////////////////////////////////////////////////////////////////// -/// Arbitrate an address ResultCode ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s32 value, u64 nanoseconds) { AddressArbiter* object = Kernel::g_handle_table.Get<AddressArbiter>(handle).get(); @@ -92,8 +91,7 @@ ResultCode ArbitrateAddress(Handle handle, ArbitrationType type, u32 address, s3 return RESULT_SUCCESS; } -/// Create an address arbiter -AddressArbiter* CreateAddressArbiter(Handle& handle, const std::string& name) { +static AddressArbiter* CreateAddressArbiter(Handle& handle, const std::string& name) { AddressArbiter* address_arbiter = new AddressArbiter; // TOOD(yuriks): Fix error reporting handle = Kernel::g_handle_table.Create(address_arbiter).ValueOr(INVALID_HANDLE); @@ -101,7 +99,6 @@ AddressArbiter* CreateAddressArbiter(Handle& handle, const std::string& name) { return address_arbiter; } -/// Create an address arbiter Handle CreateAddressArbiter(const std::string& name) { Handle handle; CreateAddressArbiter(handle, name); |