Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Rename Pbg3Parser::Open to OpenArchive #66

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/implemented.csv
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ IPbg3Parser::ReadVarInt
IPbg3Parser::ReadMagic
IPbg3Parser::ReadString
Pbg3Parser::Pbg3Parser
Pbg3Parser::Open
Pbg3Parser::OpenArchive
Pbg3Parser::ReadBit
Pbg3Parser::ReadInt
Pbg3Parser::ReadByteAssumeAligned
Expand Down
2 changes: 1 addition & 1 deletion src/pbg3/Pbg3Archive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ i32 Pbg3Archive::Load(char *path)
return FALSE;
}

if (this->parser->Open(path) == FALSE)
if (this->parser->OpenArchive(path) == FALSE)
{
delete this->parser;
return FALSE;
Expand Down
2 changes: 1 addition & 1 deletion src/pbg3/Pbg3Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Pbg3Parser::Pbg3Parser() : IPbg3Parser(), fileAbstraction()
this->Reset();
}

i32 Pbg3Parser::Open(char *path)
i32 Pbg3Parser::OpenArchive(char *path)
{
this->fileAbstraction.Close();
this->Reset();
Expand Down
2 changes: 1 addition & 1 deletion src/pbg3/Pbg3Parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Pbg3Parser : public IPbg3Parser
{
public:
Pbg3Parser();
i32 Open(char *path);
i32 OpenArchive(char *path);
i32 ReadBit();
u32 ReadInt(u32 numBitsAsPowersOf2);
u8 ReadByteAssumeAligned();
Expand Down
Loading