Skip to content

movie_lib.cc: Fix incorrect return type of getOffset - #195

Open
glebm wants to merge 1 commit into
alexbatalov:mainfrom
glebm:patch-1
Open

glebm wants to merge 1 commit into
alexbatalov:mainfrom
glebm:patch-1

Conversation

@glebm

@glebm glebm commented Jun 9, 2024 •

Copy link
Copy Markdown
Contributor

The type was changed from auto to uint8_t when merging #117, but the correct return type is actually int.

Fixes #136
Fixes #194

There is an alternative fix in #188 (with a graph of generated values) but I think the return type there (int16_t) is incorrect.

/cc @alexbatalov @Zenkibou @hippydave @KulikAlex @dje4321

@glebm

glebm commented Jul 4, 2024

Copy link
Copy Markdown
Contributor Author

@alexbatalov Can you please merge this? The bug was introduced in your changes to my PR #117 when you were merging it.

@Izder456

Izder456 commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

@alexbatalov @glebm This also fixes the artifacting issue mentioned in #136 on OpenBSD.

@Kelvfimer

Copy link
Copy Markdown

@alexbatalov @glebm it fixes the issue #136 pls can you merge it? thx

@glebm

glebm commented Mar 2, 2025

Copy link
Copy Markdown
Contributor Author

@alexbatalov I see you're committing stuff again, can you please merge this?

@jroc-hb

jroc-hb commented Jul 14, 2025

Copy link
Copy Markdown

I can confirm that this PR fixed the FMV issue I was experiencing in my WIP Xbox port. I say it should definitely be merged in

cacuracaptors added a commit to cacuracaptors/fallout1-ce-miyoomini that referenced this pull request Sep 12, 2026
- Fix cutscene corruption bug (getOffset() type, upstream PR alexbatalov#195)
- Add watchdog for movie audio-sync loop hang on this hardware
- Make relative mouse mode init non-fatal (unsupported by this device's SDL2)
- Add D-pad-as-mouse-cursor support
- Add full physical button control scheme with Select-modifier layer
- Add on-device text entry system (no physical keyboard on this hardware)
- Fix key-repeat/key-up handling quirks specific to this hardware, including
  a stuck-key bug in the engine's own GNW95_process_key()
- Add ARM cross-compile toolchain file and SDL2 CMake module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Linux] Glitchy videos Latest commit introduces square checked artifacts in videos on linux odroid n2+

4 participants