diff options
author | 2021-10-09 12:16:17 +1100 | |
---|---|---|
committer | 2021-10-09 12:16:17 +1100 | |
commit | 38082ccbee749d650ccea886ae376a5d1dec337c (patch) | |
tree | 9ba9a900ba826bda58832834278025ced17f42f5 /scripts/build/png2bdc.py | |
parent | 34b3bf701098082feb9077db49987507962c1578 (diff) |
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations.
* frontend: Added string_view versions of the message lookup functions.
* frontend: Added a few more folder options to the internal UI.
* emu/softlist.cpp: Use more appropriate containers.
* Switched to Python 3 by default - this will become a requirement.
* Updated msgfmt.py for message context support.
* frontend: Show all software item info in the internal UI.
* frontend: Search alternate titles in software selection menu.
* 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes).
* frontend: Added software filters for common info fields.
* frontend: Allow UI manager to hold onto persistent session data.
* frontend: Cache software lists for eight machines.
* frontend: Added support for loading localised system names.
* frontend: Add UI for selecting localised system names.
Diffstat (limited to 'scripts/build/png2bdc.py')
-rw-r--r-- | scripts/build/png2bdc.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/build/png2bdc.py b/scripts/build/png2bdc.py index a1be5c552d0..adc4b185f44 100644 --- a/scripts/build/png2bdc.py +++ b/scripts/build/png2bdc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 ## ## license:BSD-3-Clause ## copyright-holders:Aaron Giles, Andrew Gardner @@ -59,12 +59,8 @@ import os import png import sys -if sys.version_info >= (3,): - def b2p(v): - return bytes([v]) -else: - def b2p(v): - return chr(v) +def b2p(v): + return bytes([v]) ######################################## |