mirror of https://github.com/AxioDL/metaforce.git
HMDL_RT: Remove unnecessary pointer cast
The MemoryReader class already accepts const qualified data, so there's no need to cast away const.
This commit is contained in:
parent
a441a3e7a0
commit
ebb0a161c3
|
@ -11,7 +11,7 @@ static logvisor::Module HMDL_Log("HMDL");
|
|||
HMDLData::HMDLData(boo::IGraphicsDataFactory::Context& ctx, const void* metaData, const void* vbo, const void* ibo) {
|
||||
HMDLMeta meta;
|
||||
{
|
||||
athena::io::MemoryReader r((atUint8*)metaData, HECL_HMDL_META_SZ);
|
||||
athena::io::MemoryReader r(metaData, HECL_HMDL_META_SZ);
|
||||
meta.read(r);
|
||||
}
|
||||
if (meta.magic != 'TACO')
|
||||
|
|
Loading…
Reference in New Issue