service: Use nested namespace specifiers where applicable
There were a few places where nested namespace specifiers weren't being used where they could be within the service code. This amends that to make the namespacing a tiny bit more compact.
This commit is contained in:
@@ -5,9 +5,7 @@
|
||||
#include "core/hle/service/apt/bcfnt/bcfnt.h"
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APT {
|
||||
namespace BCFNT {
|
||||
namespace Service::APT::BCFNT {
|
||||
|
||||
void RelocateSharedFont(Kernel::SharedPtr<Kernel::SharedMemory> shared_font, VAddr new_address) {
|
||||
static const u32 SharedFontStartOffset = 0x80;
|
||||
@@ -105,6 +103,4 @@ void RelocateSharedFont(Kernel::SharedPtr<Kernel::SharedMemory> shared_font, VAd
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace BCFNT
|
||||
} // namespace APT
|
||||
} // namespace Service
|
||||
} // namespace Service::APT::BCFNT
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
#include "core/hle/kernel/shared_memory.h"
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APT {
|
||||
namespace BCFNT { ///< BCFNT Shared Font file structures
|
||||
namespace Service::APT::BCFNT { ///< BCFNT Shared Font file structures
|
||||
|
||||
struct CFNT {
|
||||
u8 magic[4];
|
||||
@@ -87,6 +85,4 @@ struct CWDH {
|
||||
*/
|
||||
void RelocateSharedFont(Kernel::SharedPtr<Kernel::SharedMemory> shared_font, VAddr new_address);
|
||||
|
||||
} // namespace BCFNT
|
||||
} // namespace APT
|
||||
} // namespace Service
|
||||
} // namespace Service::APT::BCFNT
|
||||
|
||||
Reference in New Issue
Block a user