summaryrefslogtreecommitdiff
path: root/src/myriad.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-09-14 07:10:06 +0000
committerMike Buland <eichlan@xagasoft.com>2010-09-14 07:10:06 +0000
commitd210c301bc3e8867cad883e80663208474cc1ea5 (patch)
treecf79adc2952c20dfc5c8c051b3a0d907c4f7d9c7 /src/myriad.cpp
parent29ab73673e547abd20fc1a98e6ae642b11952808 (diff)
downloadlibbu++-d210c301bc3e8867cad883e80663208474cc1ea5.tar.gz
libbu++-d210c301bc3e8867cad883e80663208474cc1ea5.tar.bz2
libbu++-d210c301bc3e8867cad883e80663208474cc1ea5.tar.xz
libbu++-d210c301bc3e8867cad883e80663208474cc1ea5.zip
Quite exciting, really. That lurking myriad bug has been found, it was not
forcing a header update when a stream changed size, but did not require additional blocks to be linked in. Kind of strange, but it's fixed now. A little more testing and I think it'll be ready.
Diffstat (limited to 'src/myriad.cpp')
-rw-r--r--src/myriad.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/myriad.cpp b/src/myriad.cpp
index bfb2ccc..8650a1c 100644
--- a/src/myriad.cpp
+++ b/src/myriad.cpp
@@ -593,6 +593,11 @@ void Bu::Myriad::setStreamSize( Stream *pStream, long iSize )
593 } 593 }
594} 594}
595 595
596void Bu::Myriad::headerChanged()
597{
598 bHeaderChanged = true;
599}
600
596bool Bu::Myriad::isMyriad( Bu::Stream &sStore ) 601bool Bu::Myriad::isMyriad( Bu::Stream &sStore )
597{ 602{
598 sStore.setPos( 0 ); 603 sStore.setPos( 0 );