<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/DiscIO/WiiWad.cpp, branch master</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>DiscIO: Merge WiiWAD into VolumeWAD</title>
<updated>2019-07-18T20:29:04+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2019-07-14T16:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=34f32898e63e7dd5d0251fd630f8d569432c9ac3'/>
<id>34f32898e63e7dd5d0251fd630f8d569432c9ac3</id>
<content type='text'>
These two classes are very similar, so let's merge them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These two classes are very similar, so let's merge them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Assert: Uppercase assertion macros</title>
<updated>2018-03-15T02:03:12+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-03-15T00:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=50a476c3714b3c423609ec04ce424c244bd2a1c1'/>
<id>50a476c3714b3c423609ec04ce424c244bd2a1c1</id>
<content type='text'>
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
</pre>
</div>
</content>
</entry>
<entry>
<title>WiiWad: Allow using WiiWad with more than just files</title>
<updated>2017-08-10T15:47:18+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2017-07-04T13:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ca0438e26db13ed8f7579cff11ccd7db618abfc3'/>
<id>ca0438e26db13ed8f7579cff11ccd7db618abfc3</id>
<content type='text'>
This adds a WiiWad constructor that takes a BlobReader, so that the
class can be used with more than just files from the host filesystem.

Required for using WiiWad with WADs from update partitions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a WiiWad constructor that takes a BlobReader, so that the
class can be used with more than just files from the host filesystem.

Required for using WiiWad with WADs from update partitions.
</pre>
</div>
</content>
</entry>
<entry>
<title>FileUtil: Add a class for Exists/IsDirectory/GetSize</title>
<updated>2017-06-29T17:07:29+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2017-06-29T09:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5ca3aee00ac3ac1a906de68c216907a7b41825fe'/>
<id>5ca3aee00ac3ac1a906de68c216907a7b41825fe</id>
<content type='text'>
Some code was calling more than one of these functions in a row
(in particular, FileUtil.cpp itself did it a lot...), which is
a waste since it's possible to call stat a single time and then
read all three values from the stat struct. This commit adds a
File::FileInfo class that calls stat once on construction and
then lets Exists/IsDirectory/GetSize be executed very quickly.

The performance improvement mostly matters for functions that
can be handling a lot of files, such as File::ScanDirectoryTree.

I've also done some cleanup in code that uses these functions.
For instance, some code had checks like !Exists() || !IsDirectory(),
which is functionally equivalent to !IsDirectory(), and some
code was using File::GetSize even though there was an IOFile
object that the code could call GetSize on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some code was calling more than one of these functions in a row
(in particular, FileUtil.cpp itself did it a lot...), which is
a waste since it's possible to call stat a single time and then
read all three values from the stat struct. This commit adds a
File::FileInfo class that calls stat once on construction and
then lets Exists/IsDirectory/GetSize be executed very quickly.

The performance improvement mostly matters for functions that
can be handling a lot of files, such as File::ScanDirectoryTree.

I've also done some cleanup in code that uses these functions.
For instance, some code had checks like !Exists() || !IsDirectory(),
which is functionally equivalent to !IsDirectory(), and some
code was using File::GetSize even though there was an IOFile
object that the code could call GetSize on.
</pre>
</div>
</content>
</entry>
<entry>
<title>DiscIO: Remove C/I/S prefixes from class names</title>
<updated>2017-06-06T10:31:59+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2017-06-06T09:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b2af07a7b70c7c22d2c7b180d5846136d1fa1f77'/>
<id>b2af07a7b70c7c22d2c7b180d5846136d1fa1f77</id>
<content type='text'>
These prefixes were inconsistent with the rest of Dolphin.

I'm also renaming VolumeWiiCrypted to VolumeWii because of 1113b13.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These prefixes were inconsistent with the rest of Dolphin.

I'm also renaming VolumeWiiCrypted to VolumeWii because of 1113b13.
</pre>
</div>
</content>
</entry>
<entry>
<title>DiscIO: Use std::optional in Volume and Blob</title>
<updated>2017-06-05T11:26:51+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2017-06-04T08:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=c3fa0d6edf0ed65acdf789debed57cd4aa7955ba'/>
<id>c3fa0d6edf0ed65acdf789debed57cd4aa7955ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor formatting issues</title>
<updated>2017-06-05T00:32:19+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2017-06-05T00:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d9fd05680333a71211fcaf2419281e7897e2c26c'/>
<id>d9fd05680333a71211fcaf2419281e7897e2c26c</id>
<content type='text'>
These were not caught by the lint script while it was broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These were not caught by the lint script while it was broken.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove CBlobBigEndianReader</title>
<updated>2017-05-19T19:23:00+00:00</updated>
<author>
<name>JosJuice</name>
<email>josjuice@gmail.com</email>
</author>
<published>2017-05-19T19:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=fcb2c5bd294334a2c00419b38c64a9fed22b6b85'/>
<id>fcb2c5bd294334a2c00419b38c64a9fed22b6b85</id>
<content type='text'>
We can simply put ReadSwapped directly in IBlobReader.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can simply put ReadSwapped directly in IBlobReader.
</pre>
</div>
</content>
</entry>
<entry>
<title>DiscIO: Add GetContent() for reading content from WADs</title>
<updated>2017-05-14T13:30:42+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2017-05-14T10:05:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=afcda22da9002f9ce70799b1a80af414b451ecc7'/>
<id>afcda22da9002f9ce70799b1a80af414b451ecc7</id>
<content type='text'>
Direct access to the WAD bytes is required to read contents with proper
padding data (since they can sometimes end up being outside of the
data app section). Allowing the whole buffer to be accessed directly
would be error prone, so this commit adds GetContent() to WiiWAD
for getting raw content data by index.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Direct access to the WAD bytes is required to read contents with proper
padding data (since they can sometimes end up being outside of the
data app section). Allowing the whole buffer to be accessed directly
would be error prone, so this commit adds GetContent() to WiiWAD
for getting raw content data by index.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ESFormats for TMDs</title>
<updated>2017-02-26T18:46:29+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2017-02-11T07:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=c1a139e8ace17e45e8ca6977b6f6b19a1a4195f2'/>
<id>c1a139e8ace17e45e8ca6977b6f6b19a1a4195f2</id>
<content type='text'>
We already have a TMDReader, so let's actually use it.

And move ESFormats to IOS::ES, since it's definitely part of IOS.
This adds a DiscIO dependency on Core which will be fixed in a
follow-up PR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We already have a TMDReader, so let's actually use it.

And move ESFormats to IOS::ES, since it's definitely part of IOS.
This adds a DiscIO dependency on Core which will be fixed in a
follow-up PR.
</pre>
</div>
</content>
</entry>
</feed>
