From 38d58552f2c60edefc3dd2710f5243d953a168a2 Mon Sep 17 00:00:00 2001 From: Lord-McSweeney <84632019+Lord-McSweeney@users.noreply.github.com> Date: Wed, 24 Jan 2024 23:02:11 -0800 Subject: [PATCH] nit: Fix some minor capitalization mistakes --- core/src/avm2/globals/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/avm2/globals/README.md b/core/src/avm2/globals/README.md index 178e59d59..a48274913 100644 --- a/core/src/avm2/globals/README.md +++ b/core/src/avm2/globals/README.md @@ -39,7 +39,7 @@ in ActionScript classes in playerglobal. During the build process, we automatica generate a reference to a Rust function at the corresponding path in Ruffle. For example, the native method function `flash.system.Security.allowDomain` -expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allowDomain`. +expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allow_domain`. This function is cast to a `NativeMethodImpl` function pointer, exactly like functions defined on a pure-Rust class definition. @@ -65,7 +65,7 @@ See `flash/events/Event.as` for an example ## API Versioning -Ruffle supports Flash's Api versioning, which hides newer playerglobal definitions +Ruffle supports Flash's API versioning, which hides newer playerglobal definitions (including methods/properties) from SWFs compiled with older API versions. For example, see `Event.WORKER_STATE`