Skip to content

Commit

Permalink
[#314] First pluginId = 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vbmacher committed Apr 16, 2023
1 parent d6f5d13 commit aba98d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private static Map<Long, PluginMeta> constructPlugins(
) throws InvalidPluginException {

Map<Long, PluginMeta> plugins = new HashMap<>();
AtomicLong pluginIdCounter = new AtomicLong();
AtomicLong pluginIdCounter = new AtomicLong(1); // 0 is reserved for emuStudio

for (int i = 0; i < Math.min(pluginClasses.size(), pluginConfigs.size()); i++) {
Class<Plugin> pluginClass = pluginClasses.get(i);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,6 @@ public String toString() {

@Override
public void onKeyUp(byte data) {

// // symshift
// " <>" // A10
// "!@#$%" // A11
// "_)('&" // A12
// "\"; " // A13
// " =+-^" // A14
// " .,*"; // A15

switch (data) {
case KeyEvent.VK_SHIFT:
keymap[0] |= 0x1;
Expand Down

0 comments on commit aba98d4

Please sign in to comment.