Move all core types into namespaces (#1886)

* Reorganize namespaces

- Most types are now moved into the `melonDS` namespace
- Only good chance to do this for a while, since a big refactor is next

* Fix the build
This commit is contained in:
Jesse Talavera-Greenberg
2023-11-25 12:32:09 -05:00
committed by GitHub
parent 651b0f680c
commit 346dd4006e
178 changed files with 529 additions and 268 deletions

View File

@ -22,6 +22,8 @@
#include <string.h>
#include "types.h"
namespace melonDS
{
/// Set to indicate the console regions that a ROM (including DSiWare)
/// can be played on.
enum RegionMask : u32
@ -242,5 +244,6 @@ struct NDSBanner
static_assert(sizeof(NDSBanner) == 9152, "NDSBanner is not 9152 bytes!");
}
#endif //NDS_HEADER_H