[Scummvm-tracker] [ScummVM :: Bugs] #14159: MD5 dialog can’t be cancelled in Grim Fandango

ScummVM :: Bugs trac at scummvm.org
Wed Nov 6 23:52:33 UTC 2024


#14159: MD5 dialog can’t be cancelled in Grim Fandango
------------------------+----------------------
Reporter:  ccawley2011  |       Owner:  (none)
    Type:  defect       |      Status:  pending
Priority:  normal       |   Component:  Common
 Version:               |  Resolution:  pending
Keywords:               |        Game:
------------------------+----------------------
Comment (by sev-):

 This could be implemented if we make our md5 checksum more granular.

 I see two approaches:
  1. Pass a callback and number of bytes or milliseconds to call in-
 between. This might not truly work in GUI, though due to race condition on
 screen updating
  2. Implement state for md5, so it is re-entrant, something like

 {{{
   md5.setup(data, size, milliseconds);

   while (md5.process()) {
      update_gui();
   }

   checksum = md5.getResult();
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14159#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list